It would be nice if IfHarddiskBusy is added into the Macro Script command set. The busy status of a hard disk tends to prolong the timeout of the following commands:
WaitCursorChanged
WaitWindowOpen
WaitWindowClosed
etc.
How do you think there's a need for the command? Please comment.
Dream Feature--IfHarddiskBusy
Moderators: JRL, Dorian (MJT support)
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
Hi Armstrong....
How about an example of how you might use this?
Also need to allow for multiple drives, mapped and UNC:
If HardDrive(HDN)Busy.....with a user defined parameter:
Let>HD1=C
Let>HD2=G
Let>HD3=\\server\share for drive that use UNC vs mapping?
Let>HDX=appply to all drives, local, remote, networked, mapped, etc.
And perhaps the negative might be easier to use:
IfHardDrive(HD3)NotBusy>...........
I guess this might end up replacing some basic Wait> commands as well?
I suspect you would also want some type of timeout with a userdefined default value? Need a separate Timeout for each HDN?
Don't mean to complicate the request, just wondering about problems I might see if using it.
How about an example of how you might use this?
Also need to allow for multiple drives, mapped and UNC:
If HardDrive(HDN)Busy.....with a user defined parameter:
Let>HD1=C
Let>HD2=G
Let>HD3=\\server\share for drive that use UNC vs mapping?
Let>HDX=appply to all drives, local, remote, networked, mapped, etc.
And perhaps the negative might be easier to use:
IfHardDrive(HD3)NotBusy>...........
I guess this might end up replacing some basic Wait> commands as well?
I suspect you would also want some type of timeout with a userdefined default value? Need a separate Timeout for each HDN?
Don't mean to complicate the request, just wondering about problems I might see if using it.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
Hi Bob,
Hope you're doing fine lately. When Windows just starts (from cold boot) and there are simply too many windows (instances) singing and dancing, if I start Outlook's Calendar view (through a hot key, of course), it takes relatively longer for Macro Scheduler's wait commands thanks to hard disk's busy status. Therefore, all simulated keystrokes (PRESS> and SEND>) will be missed entirely. It would be nice if the timeout can be adjusted in accordance with the hard disk's busy status.
Bob, the scenario isn't that complicated as you might imagine.
The virtual command can be applied as follows:
Label>PleaseWaitHere
Wait>.5
IfHarddiskBusy>PleaseWaitHere
...do this and do that
Hope you're doing fine lately. When Windows just starts (from cold boot) and there are simply too many windows (instances) singing and dancing, if I start Outlook's Calendar view (through a hot key, of course), it takes relatively longer for Macro Scheduler's wait commands thanks to hard disk's busy status. Therefore, all simulated keystrokes (PRESS> and SEND>) will be missed entirely. It would be nice if the timeout can be adjusted in accordance with the hard disk's busy status.
Bob, the scenario isn't that complicated as you might imagine.
The virtual command can be applied as follows:
Label>PleaseWaitHere
Wait>.5
IfHarddiskBusy>PleaseWaitHere
...do this and do that
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact: