Scripting: sendkeys and delay?

Features wanted...
Post Reply
nf_xp
Posts: 35
Joined: 10 Jul 2009 08:05

Scripting: sendkeys and delay?

Post by nf_xp »

How about add sendkeys and delay to scripting? sendkeys (just likes the SendKeys in VB) simulates the keyboard typing, and delay(milliseconds) will pause a while and give control back to XYplorer.
With these two commands, users can do lots of automation, just like they are operating XYplorer via keyboard.

Muroph
Posts: 561
Joined: 21 Aug 2007 16:13

Re: Scripting: sendkeys and delay?

Post by Muroph »

nf_xp wrote:and delay(milliseconds) will pause a while and give control back to XYplorer.
try the (undocumented) "wait msec" command and see if that's what you want.
My shared scripts:
TeraCopy Integration, Tag Manager, Comments Menu, Text Replacer, Image and Media Tools, Checksum Calculator, Video Calculator
only 5 URLs are allowed on the sig...

nf_xp
Posts: 35
Joined: 10 Jul 2009 08:05

Re: Scripting: sendkeys and delay?

Post by nf_xp »

Muroph wrote:
nf_xp wrote:and delay(milliseconds) will pause a while and give control back to XYplorer.
try the (undocumented) "wait msec" command and see if that's what you want.
Thank you Muroph! It's exactly what I want :D

Now waiting for the sendkeys...

admin
Site Admin
Posts: 64883
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Scripting: sendkeys and delay?

Post by admin »

nf_xp wrote:
Muroph wrote:
nf_xp wrote:and delay(milliseconds) will pause a while and give control back to XYplorer.
try the (undocumented) "wait msec" command and see if that's what you want.
Thank you Muroph! It's exactly what I want :D

Now waiting for the sendkeys...
Would be easy to add it, but the documentation... horror! I could add it as undocumented command only... :wink:

nf_xp
Posts: 35
Joined: 10 Jul 2009 08:05

Re: Scripting: sendkeys and delay?

Post by nf_xp »

That would be cool! Thanks :D

admin
Site Admin
Posts: 64883
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Scripting: sendkeys and delay?

Post by admin »

nf_xp wrote:That would be cool! Thanks :D
Next version has it. Enjoy. :)
' syntax: sendkeys string, [wait]
' ::sendkeys "{F1}";
' ::sendkeys "{F1}", 1;

This is not a documention. :wink:

Post Reply