It sounds like what you may need is OnEvent.
Depending on your scenario, also look at Ask, Input, WaitKeyDown , and If/Else
Search found 1352 matches
- Fri Jan 03, 2020 2:53 pm
- Forum: Beginners
- Topic: IF KEY IS PRESSED
- Replies: 2
- Views: 2393
- Fri Jan 03, 2020 11:01 am
- Forum: The Water Cooler
- Topic: Separate
- Replies: 6
- Views: 18026
Re: Separate
Hi Pepsi, I think you may find your answers to what's happening and to the v12/v14 issue in an old support ticket. To quote Marcus : Separate creates an array. It takes a string and creates an array. So if you set the result var the same as the input var you will be replacing the input string with a...
- Thu Jan 02, 2020 1:28 pm
- Forum: Technical / Scripting
- Topic: ocr not enough storage is available to process this command
- Replies: 0
- Views: 7474
Re: ocr not enough storage is available to process this command
I just ran 50 cycles on a maximized Chrome window on a dual 4k monitor setup, and even with a tight loop I wasn't able to replicate this. Of course the resource usage was high when performing OCR each time - which is to be expected - but settled down as soon as it completed the 50th cycle. Oddly eno...
- Fri Dec 20, 2019 10:52 am
- Forum: Technical / Scripting
- Topic: Complex Expression Length() issue?
- Replies: 9
- Views: 4614
Re: Complex Expression Length() issue?
There are some useful usage examples here.
- Thu Dec 19, 2019 2:41 pm
- Forum: Technical / Scripting
- Topic: Complex Expression Length() issue?
- Replies: 9
- Views: 4614
Re: Complex Expression Length() issue?
Aah, That's exactly what I just came back here to post. Thank you, Dick.JRL wrote: ↑Thu Dec 19, 2019 2:12 pmSorry complex expressions aren't working for you.
Aside from that I would use the Format> function for this task.
Code: Select all
Format>%.10d,TEST_ARRAY_2_0,MSN
- Thu Dec 19, 2019 2:00 pm
- Forum: Technical / Scripting
- Topic: Complex Expression Length() issue?
- Replies: 9
- Views: 4614
Re: Complex Expression Length() issue?
Aah, thank you for clarifying that, yes, I see exactly what you mean now. I'll mention this to Marcus.
- Wed Dec 18, 2019 1:44 pm
- Forum: Technical / Scripting
- Topic: Stdout not working with RunProgram
- Replies: 4
- Views: 2462
Re: Stdout not working with RunProgram
Odd. The single line of code worked here just fine.
- Wed Dec 18, 2019 1:30 pm
- Forum: Technical / Scripting
- Topic: Complex Expression Length() issue?
- Replies: 9
- Views: 4614
Re: Complex Expression Length() issue?
Your Complex Expression and Length is working, but I am wondering if Concat is doing what you expect it to? What you're doing here is creating a variable named MSN, which is a zero followed by TEST_ARRAY_2_0 I added a MessageModal so you can see it in action, but of course you can also use F8 to ste...
- Wed Dec 18, 2019 1:03 pm
- Forum: Technical / Scripting
- Topic: Stdout not working with RunProgram
- Replies: 4
- Views: 2462
Re: Stdout not working with RunProgram
Is it possible you're missing the \bin from the path? I just tested the following with the attached image, and it created the attached contents.txt file : RunProgram>CMD /k d:\zbar\bin\zbarimg.exe -v d:\zbar\bar2.jpg > d:\zbar\contents.txt Of course change /k to /c and -v to -q once you have it work...
- Mon Dec 16, 2019 12:08 pm
- Forum: Technical / Scripting
- Topic: Auto fill Web Tab Form with Excel Data
- Replies: 1
- Views: 1961
Re: Auto fill Web Tab Form with Excel Data
Macro Scheduler can read data from Excel cells and has a variety of ways of completing forms - these depend greatly on the form in question. You can use VB Script from within Macro Scheduler to do this if you wish, but whether you need to or whether that's the best way depends on which other options...
- Tue Dec 10, 2019 10:22 am
- Forum: The Water Cooler
- Topic: Enhancement Suggestion
- Replies: 7
- Views: 18381
Re: Enhancement Suggestion
I thought I detected A thought detector Detecting the thought I was thinking The thought detected Rejected detecting Without a twitch or a blinking Your tracker upended The thought was suspended The process now gone awry The notion inspected Demeaned and rejected Was most likely done so for stinkin...
- Mon Dec 09, 2019 11:11 am
- Forum: The Water Cooler
- Topic: Enhancement Suggestion
- Replies: 7
- Views: 18381
Re: Enhancement Suggestion
Hahahaha. Just to add to this I think we need ones that spot those typos we fail to notice no matter how hard we look. Or maybe your criteria already covers that.
- Mon Dec 09, 2019 11:03 am
- Forum: Technical / Scripting
- Topic: Gettextinit freezes debugger
- Replies: 20
- Views: 23333
Re: Gettextinit freezes debugger
I just replicated some anomalies with this too. Oddly, not on the first runthrough. It took a few times. I will mention this to Marcus.
- Tue Dec 03, 2019 12:36 pm
- Forum: Technical / Scripting
- Topic: Application Error
- Replies: 1
- Views: 1481
Re: Application Error
I would suggest uninstalling and reinstalling following these steps, and ensuring no security software of any kind is interfering with Macro Scheduler.
- Wed Nov 20, 2019 7:28 pm
- Forum: Technical / Scripting
- Topic: Hotkey not working twice
- Replies: 9
- Views: 3994
Re: Hotkey not working twice
This is not a bug.