Sign in to follow this  
Followers 0
alexandro

Knowledgeable people...simple help?

3 posts in this topic

Hey I know this is simple but maybe I am simple too, never used V2 and V3 seems to much like VB and I have never scripted.

All I need is for a script to click on my start button,slect the run menu,type in a path to a directory to open it, then simply close it.

Im ok with the sending the path to the window and entering it :

Send, c:\\windows\\fonts

Send, {ENTER}

But how do I get to teh run menu in the first place and then close the window at the end.

I hold my head in shame. Many thanks

;)

Share this post


Link to post
Share on other sites



Version 2 syntax:

Send, {LWINDOWN}r{LWINUP}

WinWait, Run

Send, c:\\windows\\fonts{ENTER}

Version 2 alternative:

Run, explorer c:\\windows\\fonts

Version 3 syntax:

Send("#r")

WinWait("Run")

Send("C:\Windows\fonts{Enter}")

Version 3 alternative:

Run("explorer C:\Windows\fonts")


Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post


Link to post
Share on other sites

To the OP:

While the syntax of V3 is similar in most respects to VB, I would suggest trying it. I find it EASIER to code in V3 than VB and I can do MORE since COM was added in the beta. V2 syntax just looks .... odd to me, but that's my preference. Either way, welcome to AutoIt.


Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0