plancus Posted December 19, 2006 Share Posted December 19, 2006 Obviously, I'm a rank amateur (i.e. the proverbial noob). I use AutoIt to automate basic tasks, primarily opening a combination of four to six applications simultaneously (the same apps I open multiple times daily for specific work-related functions [Run, Winwait, Run, Winwait, etc.]), and then closing them all again (WinClose).How do I open a directory window in my script (like My Documents folder)? Im assuming this is an incredibly simple command, and available, but I cant find it.Bizarrely, Ive used MouseClick to script a click on a Quick Start Taskbar shortcut to My Documents, and this gets the job done, but it seems exceedingly sloppy (I imagine a function that specifically opens a directory window for graphic interaction).Any takers? Thanks people. Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted December 19, 2006 Moderators Share Posted December 19, 2006 Very simple indeed. ShellExecute(@MyDocumentsDir) Link to comment Share on other sites More sharing options...
plancus Posted December 19, 2006 Author Share Posted December 19, 2006 Thanks for the speedy reply big_daddy. I tried ShellExecute(@MyDocumentsDir), and my v3 AutoIt doesnt recognize this as a function. It LOOKS like it should work, but no go.Any other ideas people? Link to comment Share on other sites More sharing options...
plancus Posted December 21, 2006 Author Share Posted December 21, 2006 Now were talkin, gents. You BOTH were right. All I lacked was Larrys very helpful suggestion to get the latest release (beta 3.2.1.14 [as a noob, I wouldnt have instinctively gone for the beta]). Now, big_daddys ShellExecute(@MyDocumentsDir) works beautifully. Thanks a million 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