alexandro Posted October 12, 2005 Share Posted October 12, 2005 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 Link to comment Share on other sites More sharing options...
CyberSlug Posted October 12, 2005 Share Posted October 12, 2005 Version 2 syntax:Send, {LWINDOWN}r{LWINUP}WinWait, RunSend, c:\\windows\\fonts{ENTER}Version 2 alternative:Run, explorer c:\\windows\\fontsVersion 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! Link to comment Share on other sites More sharing options...
Blue_Drache Posted October 13, 2005 Share Posted October 13, 2005 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 Link to comment Share on other sites More sharing options...
Recommended Posts