Jump to content
Sign in to follow this  
gsprout

Accessing Desktop

Recommended Posts

gsprout

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

Share this post


Link to post
Share on other sites
alex OF DEATH

I don't get it.

You want winwaitactive() to check if the desktop is visible? You want to minimize everything to view the desktop?


Share this post


Link to post
Share on other sites
gsprout

I want to be able to move my mouse around on the desktop to launch applications with my mouse.

-G

Share this post


Link to post
Share on other sites
alex OF DEATH

Uh... Minimize all windows?


Share this post


Link to post
Share on other sites
Mast3rpyr0

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.

Share this post


Link to post
Share on other sites
gsprout

ok, got it. Thanks.

-g

Share this post


Link to post
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
Sign in to follow this  

×