Sign in to follow this  
Followers 0
plancus

Simply Open a Directory

4 posts in this topic

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. :P

Share this post


Link to post
Share on other sites



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?

Share this post


Link to post
Share on other sites

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 :P

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  
Followers 0