gsprout Posted February 5, 2008 Share 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 Link to comment Share on other sites More sharing options...
alex OF DEATH Posted February 5, 2008 Share 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? Link to comment Share on other sites More sharing options...
Mast3rpyr0 Posted February 5, 2008 Share 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! Link to comment Share on other sites More sharing options...
gsprout Posted February 5, 2008 Author Share Posted February 5, 2008 I want to be able to move my mouse around on the desktop to launch applications with my mouse. -G Link to comment Share on other sites More sharing options...
alex OF DEATH Posted February 5, 2008 Share Posted February 5, 2008 Uh... Minimize all windows? Link to comment Share on other sites More sharing options...
Mast3rpyr0 Posted February 5, 2008 Share 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! Link to comment Share on other sites More sharing options...
gsprout Posted February 5, 2008 Author Share Posted February 5, 2008 ok, got it. Thanks. -g Link to comment Share on other sites More sharing options...
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