Good afternoon,
I've searched around for a similar topic but could not find one that already existed. I'm a novice macro recorder user, so perhaps I am looking at the wrong type of program, but I'll explain what I'm trying to do, and maybe one of you nice people can help me figure it out
I want to write a macro/script/executable, that will work on a variety of configurations on different PCs running windows that will:
- Change the screensaver to the My Pictures Slideshow
- Change the directory where the screensaver looks for pictures
- Change the default time to '1 minute'
I've been able to automate this locally on my machine, but have yet to figure out a way to send this macro/exe to someone else and have it 'voila' change all that.
Any tips/pointers?
Thanks!
Need help automating screensaver choices
Moderators: Dorian (MJT support), JRL
My guess would be to try using VBScript. You could call you VBScript from MacroScheduler, if you like.
This not an endorsement, but I have found useful VBScript here in the past.
http://www.visualbasicscript.com
This not an endorsement, but I have found useful VBScript here in the past.
http://www.visualbasicscript.com
-
- Automation Wizard
- Posts: 1101
- Joined: Fri Jan 07, 2005 5:55 pm
- Location: Somewhere else on the planet
I believe the screensaver parameters are stored in HKEY_CURRENT_USER in the registry. MacroScheduler can read and write registry keys, see commands like RegistryWriteKey in the Help.
Before you start playing with this I would suggest you pay attention to this note from the Help "Use all registry functions with caution. If you are unfamiliar with the Windows Registry we recommend that you do not use these functions. Removing or modifying a registry entry that you did not create could cause your system to become unstable."
Use this information with care and entirely at your own risk.
Before you start playing with this I would suggest you pay attention to this note from the Help "Use all registry functions with caution. If you are unfamiliar with the Windows Registry we recommend that you do not use these functions. Removing or modifying a registry entry that you did not create could cause your system to become unstable."
Use this information with care and entirely at your own risk.
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
The problem with the registry is that the registry settings seem to change from Windows version to Windows version. Plus you may need to restart Windows for the changes to take effect. But have a look in HKCU\Control Panel\Desktop. You will see screen saver options there.
Paul's suggestion for using VBScript is usually the best for most system administration tasks. Unfortunately I haven't found anything to suggest that VBScript can be used in this case. But I may have just missed something.
If all else fails, you can automate the Display Properties window via keystrokes, of course.
Paul's suggestion for using VBScript is usually the best for most system administration tasks. Unfortunately I haven't found anything to suggest that VBScript can be used in this case. But I may have just missed something.
If all else fails, you can automate the Display Properties window via keystrokes, of course.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?