Search found 765 matches

by Grovkillen
Fri Oct 15, 2021 1:04 pm
Forum: Technical / Scripting
Topic: Returning value from VBScript function
Replies: 4
Views: 49

Re: Returning value from VBScript function

What are you trying to accomplish?
by Grovkillen
Fri Oct 15, 2021 4:40 am
Forum: Technical / Scripting
Topic: Returning value from VBScript function
Replies: 4
Views: 49

Re: Returning value from VBScript function

The space should be removed:

Code: Select all

VBEval>CheckIsValidPage(theSource), answer
Should be

Code: Select all

VBEval>CheckIsValidPage(theSource),answer
by Grovkillen
Sun Oct 10, 2021 5:20 am
Forum: Technical / Scripting
Topic: Edit box Focus
Replies: 3
Views: 69

Re: Edit box Focus

Set focus on the dialog instead of the element?
by Grovkillen
Fri Oct 08, 2021 4:06 pm
Forum: General Discussion
Topic: Title Case
Replies: 6
Views: 6633

Re: Title Case

Ah, thanks for the JRL!
by Grovkillen
Thu Oct 07, 2021 7:52 am
Forum: General Discussion
Topic: Can this be done in Macroscheduler?
Replies: 3
Views: 121

Re: Can this be done in Macroscheduler?

Ah, well... that's a bit big thing to ask for :) Look at my script tips etc. and do it yourself OR send some paypal my way ;)
by Grovkillen
Thu Oct 07, 2021 7:41 am
Forum: General Discussion
Topic: Title Case
Replies: 6
Views: 6633

Re: Title Case

According to the PCRE documentation it should be possible to make simple transformations on the match before replacing it. This is NOT working : Let>STRING_original=test string to capitalize first letter in each word Let>REGEX_PATTERN=\b([a-z]{2}) RegEx>REGEX_PATTERN,STRING_original,0,,,1,\U$1\L,STR...
by Grovkillen
Mon Oct 04, 2021 9:36 am
Forum: Technical / Scripting
Topic: Dialog Font Color
Replies: 3
Views: 85

Re: Dialog Font Color

If you know the RGB then use the RGB> command.

You can also get the HEX value from this:

Code: Select all

RGB>176,196,222,RGB_to_Integer
Format>%x,RGB_to_Integer,Integer_to_hex
The HEX is reversed though, just a word of warning.
by Grovkillen
Mon Oct 04, 2021 7:07 am
Forum: General Discussion
Topic: Can this be done in Macroscheduler?
Replies: 3
Views: 121

Re: Can this be done in Macroscheduler?

Sure! I'm doing stuff like that using the MSHTMLviewer object and some fade using user32 dll calls. The only thing I haven't done is the semi transparent background.
by Grovkillen
Fri Oct 01, 2021 8:00 am
Forum: Scripts and Tips
Topic: To get the number of physical monitors
Replies: 1
Views: 6537

Re: To get the number of physical monitors

I manage to get the number of screens and the "virtual screen" which is the rectangle which all displays are placed within. I now only need to know where the each display's viewing rectangle within this virtual screen. LibFunc>user32,GetSystemMetrics,VIRTUAL_SCREEN_x,76 LibFunc>user32,GetSystemMetri...
by Grovkillen
Thu Sep 30, 2021 7:57 pm
Forum: Technical / Scripting
Topic: YouTube scrapping
Replies: 1
Views: 55

Re: YouTube scrapping

How about using the API instead of brute force?

https://developers.google.com/youtube/v ... earch/list
by Grovkillen
Thu Sep 30, 2021 7:53 pm
Forum: Technical / Scripting
Topic: Can we change Chrome settings
Replies: 1
Views: 46

Re: Can we change Chrome settings

Not possible by Google standard I've read. May I ask why you need to change this? Is it because some site has blocked the ChromeDriver? If so you can use the code inject approach... I'll show you how if you need help with that. PM me.
by Grovkillen
Thu Sep 30, 2021 1:20 pm
Forum: Beginners
Topic: How to extract element in array
Replies: 6
Views: 229

Re: How to extract element in array

I never use the ArrayDim command. I rely on either Separate or RegEx to break a string into an array: Let>ARRAY_NAMES=names|id|status Let>ARRAY_VALUES_names=A|B|C Let>ARRAY_VALUES_id=123|456|789 Let>ARRAY_VALUES_status=Pass|Pending|Fail Separate>ARRAY_NAMES,|,TEMP_array_names If>TEMP_array_names_COU...
by Grovkillen
Thu Sep 30, 2021 12:00 pm
Forum: Beginners
Topic: How to extract element in array
Replies: 6
Views: 229

Re: How to extract element in array

Ah, yes the "info" variable is assigned an array... so you need to declare it like this: ArrayDim>Names,3 Let>Names_1=A Let>Names_2=B Let>Names_3=C ArrayDim>ID,3 Let>ID_1=123 Let>ID_2=456 Let>ID_3=789 ArrayDim>Status,3 Let>Status_1=Pass Let>Status_2=Pendding Let>Status_3=Fail Let>a=0 Let>text=I need...
by Grovkillen
Wed Sep 29, 2021 9:47 pm
Forum: Beginners
Topic: How to extract element in array
Replies: 6
Views: 229

Re: How to extract element in array

ArrayDim>Names,3 Let>Names_1=A Let>Names_2=B Let>Names_3=C ArrayDim>ID,3 Let>ID_1=123 Let>ID_2=456 Let>ID_3=789 ArrayDim>Status,3 Let>Status_1=Pass Let>Status_2=Pendding Let>Status_3=Fail Let>a=0 Let>text=I need to know data Position>data,text,1,n_pos If>n_pos>0 If>a=0 Let>info=Names Let>Temp=%info...
by Grovkillen
Wed Sep 29, 2021 12:13 pm
Forum: Technical / Scripting
Topic: Cursor for HTMLViewer isn't working
Replies: 8
Views: 159

Re: Cursor for HTMLViewer isn't working

Here's another demo. All done in MS :)

Image
Sign up to our newsletter for free automation tips, tricks & discounts