AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Browse to file & Select file [ Open containing folder ]

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
adamrgolf



Joined: 28 Dec 2006
Posts: 362

PostPosted: Thu Jul 10, 2008 4:15 am    Post subject: Browse to file & Select file [ Open containing folder ] Reply with quote

I was wondering how this can be done with AHK. What I want to do is have a script browse to a files directory and also select said file. Much like if you search for a file with windows and right click and choose "open containing folder".

Is this already possible? I tried searching to no avail.

Does anyone have any ideas how this can be done?

[ Moderator!: subject altered ]
Back to top
View user's profile Send private message
k3ph



Joined: 21 Jul 2006
Posts: 123

PostPosted: Thu Jul 10, 2008 4:30 am    Post subject: Reply with quote

FileSelectFolder
_________________
                                  [ profile | ahk.net | ahk.talk ]
Back to top
View user's profile Send private message
adamrgolf



Joined: 28 Dec 2006
Posts: 362

PostPosted: Thu Jul 10, 2008 5:38 am    Post subject: Reply with quote

k3ph, thanks for the response but I think you misunderstood what I wanted. I'll try to elaborate more. I have a listview that is populated with files from different directories, I want to be able to click one of the files listed and it will open up a new explorer window and select that file. Much like "Open containing folder" when you use the search option in windows.
Back to top
View user's profile Send private message
SKAN



Joined: 26 Dec 2005
Posts: 5894

PostPosted: Thu Jul 10, 2008 6:32 am    Post subject: Reply with quote

adamrgolf wrote:
"Open containing folder"


Code:
Run %COMSPEC% /c explorer.exe /select`, "%A_AhkPath%",, Hide



Smile
_________________
SKAN - Suresh Kumar A N
Back to top
View user's profile Send private message
adamrgolf



Joined: 28 Dec 2006
Posts: 362

PostPosted: Thu Jul 10, 2008 8:07 am    Post subject: Reply with quote

you rock skan, thanks a ton
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group