Search found 665 matches

by Grovkillen
Thu Jun 10, 2021 10:18 am
Forum: Scripts and Tips
Topic: VB code to create a link file
Replies: 3
Views: 7801

Re: VB code to create a link file

An updated version: Function LinkFile(LinkFolder, TargetPath, LinkName, IconPath) Set WShell = CreateObject("WScript.Shell") LinkFile = WShell.SpecialFolders(LinkFolder) Set oShellLink = CreateObject("WScript.Shell").CreateShortcut(LinkFile & "\" & LinkName & ".lnk") oShellLink.WorkingDirectory = Li...
by Grovkillen
Thu Jun 10, 2021 9:35 am
Forum: Technical / Scripting
Topic: SEND> problem with CODE ASCII
Replies: 2
Views: 65

Re: SEND> problem with CODE ASCII

First off, please use English.

Second, this work just fine for me:

Code: Select all

PutClipBoard>testo µm
GetClipBoard>TEST
MDL>TEST
by Grovkillen
Sun Jun 06, 2021 10:00 am
Forum: Technical / Scripting
Topic: How to enlarge a Dialog proportinate with its objects ?
Replies: 4
Views: 81

Re: How to enlarge a Dialog proportinate with its objects ?

I have resided to make my dialogs dynamically/programmatically instead just for them to be adjusting to their contents. So in general I remove the DPI settings and use the font size instead. DPI overrule font size otherwise.
by Grovkillen
Wed Jun 02, 2021 7:44 pm
Forum: Technical / Scripting
Topic: chromedriver.exe once and for all
Replies: 29
Views: 1401

Re: chromedriver.exe once and for all

The page stays blank issue could be related to the fact that some sites block the connection if they detect a automation tool (chromedriver in this case).
by Grovkillen
Wed May 26, 2021 3:34 pm
Forum: General Discussion
Topic: ZipExtractFiles and HTTPRequest large files, indication on progress?
Replies: 4
Views: 201

Re: ZipExtractFiles and HTTPRequest large files, indication on progress?

Would it be possible to make it non-blocking like RunProgram can be set to "not wait for completion"?
by Grovkillen
Wed May 26, 2021 11:00 am
Forum: General Discussion
Topic: ZipExtractFiles and HTTPRequest large files, indication on progress?
Replies: 4
Views: 201

Re: ZipExtractFiles and HTTPRequest large files, indication on progress?

Yeah it's not really what I need here. It's during the execution of the command I would like to know its progress.
by Grovkillen
Wed May 26, 2021 9:17 am
Forum: General Discussion
Topic: ZipExtractFiles and HTTPRequest large files, indication on progress?
Replies: 4
Views: 201

ZipExtractFiles and HTTPRequest large files, indication on progress?

Is it possible to get any indication on the process of a download or zip extraction? I have a zip file I download, about 350MB in size, which I after download is unzipping. I find it hard to tell if the script has stalled or if it's still loading/unpacking. Is it possible to get this info?
by Grovkillen
Tue May 25, 2021 1:55 pm
Forum: Technical / Scripting
Topic: how can a script receive http requests?
Replies: 1
Views: 90

Re: how can a script receive http requests?

I use nginx for this. But you could also use sfk and UDP messages.

https://nginx.org/en/
http://www.stahlworks.com/dev/swiss-file-knife.html
by Grovkillen
Tue May 25, 2021 8:42 am
Forum: Technical / Scripting
Topic: Registry value decimal/HEX
Replies: 2
Views: 131

Re: Registry value decimal/HEX

You can perhaps try to write to the registry key WallPaperStyle and compare it with the default (system created) value and you'll see that it's not written the same.

But this issue is now a deal breaker for me since I'm now using a XML file to change the "theme" of Windows.
by Grovkillen
Mon May 24, 2021 9:34 am
Forum: Technical / Scripting
Topic: MultiDIM Array Quirks
Replies: 7
Views: 298

Re: MultiDIM Array Quirks

Code: Select all

Let>WW=2
Let>QINDX=55,66,77,88,99,11
Separate>QINDX,COMMA,{"THISARRAY_%WW%"},integer
Same thing using this?
by Grovkillen
Mon May 24, 2021 6:27 am
Forum: Technical / Scripting
Topic: MultiDIM Array Quirks
Replies: 7
Views: 298

Re: MultiDIM Array Quirks

Tried this?

Code: Select all

Let>WW=2
Let>QINDX=55,66,77,88,99,11
Separate>QINDX,COMMA,{THISARRAY_%WW%},integer
by Grovkillen
Fri May 21, 2021 2:58 pm
Forum: Technical / Scripting
Topic: Wait for window not working
Replies: 2
Views: 125

Re: Wait for window not working

Yeah the tab interface isn't windows standard and you only see it as tabs. Windows see it as one window and the active tab is giving that window its title. That's a hack (a good one in my opinion) "invented" by Google.
by Grovkillen
Wed May 19, 2021 9:02 am
Forum: Technical / Scripting
Topic: Input on how to capture hand scanner input
Replies: 3
Views: 172

Re: Input on how to capture hand scanner input

I ended up with a "while" loop like this: Dialog>Dialog_get_scanner_data object Dialog_get_scanner_data: TForm BorderIcons = [] BorderStyle = bsNone object inputMemo: tMSMemo Left = 0 Top = 0 Width = 300 Height = 40 end end EndDialog>Dialog_get_scanner_data AddDialogHandler>Dialog_get_scanner_data,i...
by Grovkillen
Wed May 19, 2021 8:04 am
Forum: Technical / Scripting
Topic: Input on how to capture hand scanner input
Replies: 3
Views: 172

Re: Input on how to capture hand scanner input

That's darn clever! THANK YOU! :)

PS. the scanner is placing a line break after each scan for me as well.
Sign up to our newsletter for free automation tips, tricks & discounts