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 

starting FileSelectFolder with a specified directory

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





PostPosted: Sun Jul 03, 2005 11:17 pm    Post subject: starting FileSelectFolder with a specified directory Reply with quote

Hello everyone,

I'm wondering if you can start the file and directory browsing dialogs "pre navigated" to a given directory. And i don't mean the root-dir parameter, because it just cuts of the tree at this point and you can navigate to a higher level anymore (only tried that with the folder dialog yet).

thank you
Back to top
corrupt



Joined: 29 Dec 2004
Posts: 2436

PostPosted: Sun Jul 03, 2005 11:53 pm    Post subject: Reply with quote

FileSelectFile seems to let me navigate higher but I see what you mean about FileSelectFolder.
Back to top
View user's profile Send private message Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10480

PostPosted: Mon Jul 04, 2005 2:31 pm    Post subject: Reply with quote

I think there's a way. If so, it will definitely be added soon.

Thanks.
Back to top
View user's profile Send private message Send e-mail
pixlix



Joined: 04 Jun 2005
Posts: 5

PostPosted: Mon Jul 04, 2005 9:09 pm    Post subject: Reply with quote

No, Thank you!

That would be definately great, because navigating through the same folders over and over again isn't that fun. But don't put it too high on your priority list Smile
Back to top
View user's profile Send private message
Decarlo110



Joined: 15 Dec 2004
Posts: 303
Location: United States

PostPosted: Tue Jul 05, 2005 5:07 pm    Post subject: Reply with quote

Here's a link to the popular Favorite Folders script, if you didn't already know about it.
http://www.autohotkey.com/forum/viewtopic.php?t=1427

It has been continually improved from the original version in the Script Showcase. According to the description in the Showcase:
Quote:
Upon selecting a favorite, the script will instantly switch to that folder within the active window. The following window types are supported: 1) Standard file-open or file-save dialogs; 2) Explorer windows; 3) Console (command prompt) windows.

Perhaps what you're looking for is supported by the Favorite Folders script, and if not, i'm sure it could be modified for that.

The new feature you suggested would be great to have Smile
_________________
1) The Open Source Definition http://www.opensource.org/docs/definition_plain.php

2) Intuitive. Logical. Versatile. Adaptable. <<AutoHotkey>>
Back to top
View user's profile Send private message
mario_a



Joined: 12 Dec 2004
Posts: 51

PostPosted: Tue Jul 05, 2005 7:36 pm    Post subject: Reply with quote

Chris wrote:
I think there's a way


BrowseCallbackProc Function

When you receive the BFFM_INITIALIZED message via the callback, you need to send the BFFM_SETSELECTION message and pass the folder path to initially select.

HTH,
Mario
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10480

PostPosted: Wed Jul 06, 2005 12:35 am    Post subject: Reply with quote

Thanks; that will be useful.
Back to top
View user's profile Send private message Send e-mail
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10480

PostPosted: Wed Jul 06, 2005 4:30 pm    Post subject: Reply with quote

This feature has finally been added in v1.0.36.03 (it's been requested several times).

To make simple use of it, precede the root folder name with an asterisk. For details, see the StartingFolder parameter at FileSelectFolder.
Back to top
View user's profile Send private message Send e-mail
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