| View previous topic :: View next topic |
| Author |
Message |
pixlix_ Guest
|
Posted: Sun Jul 03, 2005 11:17 pm Post subject: starting FileSelectFolder with a specified directory |
|
|
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
|
Posted: Sun Jul 03, 2005 11:53 pm Post subject: |
|
|
| FileSelectFile seems to let me navigate higher but I see what you mean about FileSelectFolder. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10480
|
Posted: Mon Jul 04, 2005 2:31 pm Post subject: |
|
|
I think there's a way. If so, it will definitely be added soon.
Thanks. |
|
| Back to top |
|
 |
pixlix
Joined: 04 Jun 2005 Posts: 5
|
Posted: Mon Jul 04, 2005 9:09 pm Post subject: |
|
|
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  |
|
| Back to top |
|
 |
Decarlo110
Joined: 15 Dec 2004 Posts: 303 Location: United States
|
Posted: Tue Jul 05, 2005 5:07 pm Post subject: |
|
|
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  _________________ 1) The Open Source Definition http://www.opensource.org/docs/definition_plain.php
2) Intuitive. Logical. Versatile. Adaptable. <<AutoHotkey>> |
|
| Back to top |
|
 |
mario_a
Joined: 12 Dec 2004 Posts: 51
|
Posted: Tue Jul 05, 2005 7:36 pm Post subject: |
|
|
| 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 |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10480
|
Posted: Wed Jul 06, 2005 12:35 am Post subject: |
|
|
| Thanks; that will be useful. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10480
|
Posted: Wed Jul 06, 2005 4:30 pm Post subject: |
|
|
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 |
|
 |
|