based on Bob's issue to pipe high bit Ascci keys to a MacroSchedulerMessage, I've played a litlle with that ProgressBar idea. Now you've got it! It's tricky - so use it at your own risk !
Check the commented lines in the code to get an idea of a task to use with PBar: e.g. copy the file "test.txt" from C: --> D:, while PBar is running.
Code: Select all
CapsOff
Let>sc=0
Let>maxsc=121
//Let>SourcePath=C:
//Let>DestinationPath=D:
//Let>File=test.txt
//FileSize>%SourcePath%\%File%,SourceFileSize
//CopyFile>%SourcePath%\%File%,%DestinationPath%\%File%
Message>
ResizeWindow>Macro Scheduler Message*,272,71
WaitWindowOpen>Macro Scheduler Message*
Press Tab
Send> Copy now! Stay tuned ...
Press Home
Wait>2
Press Shift
Press End
Press Del
Release Shift
Label>progress
If>sc=%maxsc%,GoOn
Add>sc,1
Press CTRL
Press ALT
Send Character/Text><
Release ALT
Release CTRL
Wait>0.2
//FileSize>%DestinationPath%\%File%,DetectedFileSize
//Unless a condition (like the following line) won't be defined, the PBar will loop indefinitely (e.g. for testing).
//If>DetectedFileSize=%SourceFileSize%,End
Goto>progress
Label>GoOn
Let>sc=0
Press Shift
Press Home
Press Del
Release Shift
Goto>progress
Label>End
Press Shift
Press Home
Press Del
Release Shift
Send> Done !
Wait>5
CloseWindow>Macro Scheduler Message*
Ernest