gsprout Posted February 5, 2008 Posted February 5, 2008 How would I access the desktop on a Windows machine. That is, I would like to write a script to setup my Windows environment when I log in. To access a normal application window I use: WinWaitActive ("Window_Title","Window_Text", 2) How would I do something similar to access my desktop? -G
alex OF DEATH Posted February 5, 2008 Posted February 5, 2008 I don't get it. You want winwaitactive() to check if the desktop is visible? You want to minimize everything to view the desktop?
Mast3rpyr0 Posted February 5, 2008 Posted February 5, 2008 the desktop folder is in "C:\Documents and Settings\UserName\Desktop" what is it you want to do? My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here!
gsprout Posted February 5, 2008 Author Posted February 5, 2008 I want to be able to move my mouse around on the desktop to launch applications with my mouse. -G
Mast3rpyr0 Posted February 5, 2008 Posted February 5, 2008 not sure if there is a way to know where the icons are, maybe a dll call, but you could have a setup process and have the user click each one and save the coordinates then use MouseMove() and MouseClick(). why not just click them yourself or use Run() to execute the program from a list in a gui or something. My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now