AutoHotkey Community

It is currently May 25th, 2012, 5:05 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: October 4th, 2007, 10:51 am 
Offline

Joined: June 9th, 2005, 3:35 am
Posts: 29
Location: Clearwater, Florida
Is there a simple way to bring up WE with AHK such that the folders panel is included? When I manually hit Win-E, I get both panels. When I call it from AHK or from a desktop shortcut, I only get the file panel.

Any ideas?

Thanks.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 4th, 2007, 11:04 am 
Quote:
Any ideas?
Indeed. A usefull one would be to drop a request for help at the 'Ask for Help' section of this forum.

A moderator will do this on your behalf. Happy scripting. 8)

Moderator: Done ..


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 4th, 2007, 11:21 am 
U can do it with command line optins of Explorer without AHK.

If u just dbl click explorer in c:\Windows it will open folders panel, so just create shoutcut to it.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 4th, 2007, 11:22 am 
You can also try these options:

Quote:
/n Opens a new single-pane window for the default
selection. This is usually the root of the drive Windows
is installed on. If the window is already open, a
duplicate opens.

/e Opens Windows Explorer in its default view.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 4th, 2007, 1:31 pm 
Offline

Joined: June 9th, 2005, 3:35 am
Posts: 29
Location: Clearwater, Florida
I guess I need to clarify my need. I'm actually just trying to perform a Win-E function and trying to get the identical results.

Win-E brings up WE in dual panel view with only My Computer folder open, exposing all of the system drives. This is the view I'm striving for, with or without the dual panel.

Running c:\windows\explorer.exe returns a dual panel but no folders open other than a highlighted My Documents.

Running c:\windows\explorer.exe /n from a desktop shortcup returns a single panel with My Computer folder open -- exactly what I need. But, when I run that same command from AHK, it opens up the c: drive. If I add c:\windows as working directory, AHK returns a dual panel with only My Documents opened up.

So, I guess the bottom line is, is it possible to perform the Win-E function such that it comes up with My Computer open?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 4th, 2007, 1:39 pm 
Offline

Joined: June 6th, 2006, 3:19 pm
Posts: 1654
Location: Denmark
http://www.worldstart.com/tips/tips.php/881:
3. If you would like the shortcut to open to a "My Computer" view, use this line: (Note - if you right-click My Computer and select Explore from the resulting menu, you'll get the same effect. This is quicker though)

explorer /n,/e,/root,,/select,C:\

_________________
RegEx Powered Dynamic Hotstrings
COM
AutoHotkey 2


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 4th, 2007, 2:15 pm 
Offline

Joined: June 9th, 2005, 3:35 am
Posts: 29
Location: Clearwater, Florida
tonne wrote:
http://www.worldstart.com/tips/tips.php/881:
3. If you would like the shortcut to open to a "My Computer" view, use this line: (Note - if you right-click My Computer and select Explore from the resulting menu, you'll get the same effect. This is quicker though)

explorer /n,/e,/root,,/select,C:\


Running this from the command line works as stated, but I can't seem to get it incorporated into AHK script without errors? Any ideas how I should code it to perform in a script as well?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 4th, 2007, 2:18 pm 
Offline

Joined: June 6th, 2006, 3:19 pm
Posts: 1654
Location: Denmark
Escape the commas as:
Code:
  Run, explorer /n`,/e`,/root`,`,/select`,C:\

_________________
RegEx Powered Dynamic Hotstrings
COM
AutoHotkey 2


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, cmikaiti, DetroitAutoHotkey, LazyMan, Leef_me, ogrish, Rathgar2, SifJar and 11 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group