Jump to content

Accessing Desktop


gsprout
 Share

Recommended Posts

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

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.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...