I am new to Macro scheduler and looked all through the help file and couldn't find anything on this topic, maybe someone already has the answer to this as they have done it before.
I am trying to copy the contents of a CD to the HDD to compare the contents of another master CD, both CDs have autorun files on them, but I do not want the autorun files to start up and then have to deal with closing them, My question is how do I turn off the autorun capability of the CD driver while in the macro, as I will need to turn it back on at the end of the macro?
Thanks in advance for any help.
turn off autorun
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:
Do the same way you would do it manually. Here are a couple of outlines that you could fill in.
-------------------------------------------------------------
This may be one process, depends on OS
Go to Device Manager
Goto CD units
Remove checkbox in AutoRun
Do normal macro stuff with CDs
Go to device manager
Goto CD units
Add checkbox back into auto run
-----------------------------------------------
Another method would be to make two reg files, one to turn off, one to turn on. Use these with your macro. The exact registry setting will depend on your OS and possible profiles also.
Execute>AutoRunOff.reg
Do normal macro stuff with CDs
Execute>AutoRunOn.reg
------------------------------------------------
-------------------------------------------------------------
This may be one process, depends on OS
Go to Device Manager
Goto CD units
Remove checkbox in AutoRun
Do normal macro stuff with CDs
Go to device manager
Goto CD units
Add checkbox back into auto run
-----------------------------------------------
Another method would be to make two reg files, one to turn off, one to turn on. Use these with your macro. The exact registry setting will depend on your OS and possible profiles also.
Execute>AutoRunOff.reg
Do normal macro stuff with CDs
Execute>AutoRunOn.reg
------------------------------------------------
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
-
- Newbie
- Posts: 4
- Joined: Thu May 26, 2005 11:40 pm
- Location: Idaho
Thanks for the info, I can do it that way, I was just hoping that there was an internal windows command for the properties of the drive that I could directly access in the macro -- would save either changing the registry or going manually to the screens to turn it off.
Something like
Let>[nameofdevice].properties.autorun=OFF
Might be a nice feature if possible on a future release.
Something like
Let>[nameofdevice].properties.autorun=OFF
Might be a nice feature if possible on a future release.
-
- Newbie
- Posts: 4
- Joined: Thu May 26, 2005 11:40 pm
- Location: Idaho
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact: