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.
Scripting: sendkeys and delay?
Re: Scripting: sendkeys and delay?
try the (undocumented) "wait msec" command and see if that's what you want.nf_xp wrote:and delay(milliseconds) will pause a while and give control back to XYplorer.
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...
TeraCopy Integration, Tag Manager, Comments Menu, Text Replacer, Image and Media Tools, Checksum Calculator, Video Calculator
only 5 URLs are allowed on the sig...
Re: Scripting: sendkeys and delay?
Thank you Muroph! It's exactly what I wantMuroph wrote:try the (undocumented) "wait msec" command and see if that's what you want.nf_xp wrote:and delay(milliseconds) will pause a while and give control back to XYplorer.
Now waiting for the sendkeys...
-
admin
- Site Admin
- Posts: 64886
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Scripting: sendkeys and delay?
Would be easy to add it, but the documentation... horror! I could add it as undocumented command only...nf_xp wrote:Thank you Muroph! It's exactly what I wantMuroph wrote:try the (undocumented) "wait msec" command and see if that's what you want.nf_xp wrote:and delay(milliseconds) will pause a while and give control back to XYplorer.![]()
Now waiting for the sendkeys...
FAQ | XY News RSS | XY X
Re: Scripting: sendkeys and delay?
That would be cool! Thanks 
-
admin
- Site Admin
- Posts: 64886
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Scripting: sendkeys and delay?
Next version has it. Enjoy.nf_xp wrote:That would be cool! Thanks
' syntax: sendkeys string, [wait]
' ::sendkeys "{F1}";
' ::sendkeys "{F1}", 1;
This is not a documention.
FAQ | XY News RSS | XY X
XYplorer Beta Club