 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
daonlyfreez
Joined: 16 Mar 2005 Posts: 838 Location: Berlin
|
|
| Back to top |
|
 |
rexx
Joined: 28 Feb 2006 Posts: 72
|
Posted: Wed Jun 24, 2009 10:53 am Post subject: |
|
|
| WHACKSTER wrote: |
Thank you for this wonderful app!
One more thing about working with the directory hotlist in Total Commander, Folder menu doesn't seem to understand TC's internal variables like %COMMANDER_PATH%, is there a way to set this path, so that it can be used?
Actually you have an option to point to the Total Commander path, it just needs to be interpreted as %COMMANDER_PATH% too, weather or not Use TC Menu as main menu is checked or not, because you still have an option _TCMenu which still needs to work with %COMMANDER_PATH% variable. |
Ok.
| alexey_r wrote: | First: Folder Menu is brilliant. It just replaced FileBox Extender for me.
However, could you add XYplorer support? Win+9 doesn't detect the address bar. |
Ok i'll check it.
Wow that's cool!!
Last edited by rexx on Wed Jun 24, 2009 11:14 am; edited 1 time in total |
|
| Back to top |
|
 |
daonlyfreez
Joined: 16 Mar 2005 Posts: 838 Location: Berlin
|
Posted: Wed Jun 24, 2009 11:07 am Post subject: |
|
|
Small tip: for a smoother experience, add the following around the code you use to update the ListView contents:
| Quote: | To improve performance even more, use GuiControl, -Redraw, MyListView prior to adding a large number of rows. Afterward, use GuiControl, +Redraw, MyListView to re-enable redrawing (which also repaints the control).
|
HTH _________________
My AHK stuff on ahk.net / on DropBox (mirror) / @home (if online) |
|
| Back to top |
|
 |
rexx
Joined: 28 Feb 2006 Posts: 72
|
Posted: Wed Jun 24, 2009 11:25 am Post subject: |
|
|
| daonlyfreez wrote: | Small tip: for a smoother experience, add the following around the code you use to update the ListView contents:
| Quote: | To improve performance even more, use GuiControl, -Redraw, MyListView prior to adding a large number of rows. Afterward, use GuiControl, +Redraw, MyListView to re-enable redrawing (which also repaints the control).
|
HTH |
Thanks, this makes it a little faster loading the favorite tree. |
|
| Back to top |
|
 |
jasonweaver
Joined: 24 Jun 2009 Posts: 2
|
Posted: Wed Jun 24, 2009 3:12 pm Post subject: Relative Paths? |
|
|
Is there a way to specify that a shortcut is to a relative path (e.g. a folder on my flash drive, understanding the drive letter may be different on different machines?)
Sorry if I'm missing something obvious  |
|
| Back to top |
|
 |
WHACKSTER
Joined: 23 Jun 2009 Posts: 13
|
Posted: Wed Jun 24, 2009 3:33 pm Post subject: Re: Relative Paths? |
|
|
| jasonweaver wrote: | Is there a way to specify that a shortcut is to a relative path (e.g. a folder on my flash drive, understanding the drive letter may be different on different machines?)
Sorry if I'm missing something obvious  |
That would be tricky to say the least... The only way you could determine the drive is your drive would be through it's LABEL and I don't think that's doable?
If you intend to run Folder Menu from your Flash drive, you could use relative paths like %A_ScriptDir%\..\ to access your flash drive. |
|
| Back to top |
|
 |
rexx
Joined: 28 Feb 2006 Posts: 72
|
Posted: Wed Jun 24, 2009 3:34 pm Post subject: Re: Relative Paths? |
|
|
| jasonweaver wrote: | Is there a way to specify that a shortcut is to a relative path (e.g. a folder on my flash drive, understanding the drive letter may be different on different machines?)
Sorry if I'm missing something obvious  |
what's your OS? and what path you use?
I can use relative path without any problem.
It's relative to the working dir of Folder Menu.
..\ and .\ also works. |
|
| Back to top |
|
 |
jasonweaver
Joined: 24 Jun 2009 Posts: 2
|
Posted: Wed Jun 24, 2009 4:13 pm Post subject: Re: Relative Paths? |
|
|
| rexx wrote: | what's your OS? and what path you use?
I can use relative path without any problem.
It's relative to the working dir of Folder Menu.
..\ and .\ also works. |
On XP, I was using .\ but on some systems that was opening a pre-mapped network drive (z:)
If I drop the leading \ (or .\) and just use that it works, so thanks! |
|
| Back to top |
|
 |
WHACKSTER
Joined: 23 Jun 2009 Posts: 13
|
Posted: Wed Jun 24, 2009 5:02 pm Post subject: |
|
|
Thank you for the quick fix for using %COMMANDER_PATH% variable, but it still doesn't work like it should, there is an extra \ added after the variable so Folder Menu processes the path like %COMMANDER_PATH%\\..\!Cd List\
I tried making the path like cd %COMMANDER_PATH%..\!Cd List\ that way it works, but sadly not in TC... |
|
| Back to top |
|
 |
cybermcm
Joined: 24 Jun 2009 Posts: 4
|
Posted: Wed Jun 24, 2009 6:50 pm Post subject: slow on loading with unc paths |
|
|
hi rexx,
this is a great app!
two questions:
1) I use folder menu 2 on my notebook which I carry around and use in different networks. I have a few favorites containing unc paths. Now I realise that if I'm not connected to the network FM loads very, very slow (I guess Windows is searching for the unc paths).
Can I prevent this behavior?
my system: Vista SP2
2) I'm using FM sometimes simultaneously on 2 machines but afterwards I sync my portable apps. The sync fails because the recent items are different. Is it possible to disable the recent items (via menu the minimum is 1, 0 not allowed)?
br,
CyberMCM
Last edited by cybermcm on Wed Jun 24, 2009 7:55 pm; edited 2 times in total |
|
| Back to top |
|
 |
brimstone
Joined: 24 Jun 2009 Posts: 1
|
Posted: Wed Jun 24, 2009 7:32 pm Post subject: |
|
|
I'm loving the program so far, but all in xplorer2 paths simply open up in a new window, regardless of the shortcut that I use.
I want to add support to xplorer2, and have edited the option file accordingly. However, both Win+W and middle mouse button open up a new explorer window to the correct path.
Other supported programs and file/open dialog boxes work great.
How do I fix this? Thanks! |
|
| Back to top |
|
 |
CatamountJack Guest
|
Posted: Wed Jun 24, 2009 11:10 pm Post subject: |
|
|
Great job rexx, I love it!
Small suggestion - it would be great to have a sub-menu that contains a current (live) list of drives on the computer. I see you do have a drive list in your version, but it doesn't seem to be "live". I've added this to my own version, based on Savage's original and it's one of the features I use the most.
I haven't looked at the code of your program yet, but here's the code I used - which is called once each time the menu is opened (so the drive list is always current).
| Code: |
f_BuildDrivesSubMenu:
f_DrivesSubMenuItemCount =
Menu, DrivesSubMenu, Add
Menu, DrivesSubMenu, DeleteAll
Menu, Favorites, Add, Drives, :DrivesSubMenu
DriveGet, var_DriveList, List
Loop Parse, var_DriveList
{
f_DrivesSubMenuItemCount++
f_drivespath%f_DrivesSubMenuItemCount% = %A_LoopField%:\
Menu, DrivesSubMenu, Add, %A_LoopField%:\, f_OpenFavorite
}
return
|
|
|
| Back to top |
|
 |
rexx
Joined: 28 Feb 2006 Posts: 72
|
Posted: Thu Jun 25, 2009 4:58 am Post subject: |
|
|
| WHACKSTER wrote: | Thank you for the quick fix for using %COMMANDER_PATH% variable, but it still doesn't work like it should, there is an extra \ added after the variable so Folder Menu processes the path like %COMMANDER_PATH%\\..\!Cd List\
I tried making the path like cd %COMMANDER_PATH%..\!Cd List\ that way it works, but sadly not in TC... |
%COMMANDER_PATH% is totally the same as in the "TC Path" field in options menu tab (at bottom).
So you can remove the "\" there.
| cybermcm wrote: | hi rexx,
this is a great app!
two questions:
1) I use folder menu 2 on my notebook which I carry around and use in different networks. I have a few favorites containing unc paths. Now I realise that if I'm not connected to the network FM loads very, very slow (I guess Windows is searching for the unc paths).
Can I prevent this behavior?
my system: Vista SP2
2) I'm using FM sometimes simultaneously on 2 machines but afterwards I sync my portable apps. The sync fails because the recent items are different. Is it possible to disable the recent items (via menu the minimum is 1, 0 not allowed)?
br,
CyberMCM |
1) It only checks the unc path when opening a unc item, not when loading the menu, so i don't know what's the problem.
I don't have this problem even i added a lot of unavailable unc path.
2) Don't add any _RecentMenu item in favorite menu then the recent function will be turned off.
And clear the recent list, then the recent list in config.xml will be all blank entries.
| brimstone wrote: | I'm loving the program so far, but all in xplorer2 paths simply open up in a new window, regardless of the shortcut that I use.
I want to add support to xplorer2, and have edited the option file accordingly. However, both Win+W and middle mouse button open up a new explorer window to the correct path.
Other supported programs and file/open dialog boxes work great.
How do I fix this? Thanks! |
oh, it's my problem. Fixed now.
| CatamountJack wrote: | Great job rexx, I love it!
Small suggestion - it would be great to have a sub-menu that contains a current (live) list of drives on the computer. I see you do have a drive list in your version, but it doesn't seem to be "live". I've added this to my own version, based on Savage's original and it's one of the features I use the most.
I haven't looked at the code of your program yet, but here's the code I used - which is called once each time the menu is opened (so the drive list is always current).
| Code: |
f_BuildDrivesSubMenu:
f_DrivesSubMenuItemCount =
Menu, DrivesSubMenu, Add
Menu, DrivesSubMenu, DeleteAll
Menu, Favorites, Add, Drives, :DrivesSubMenu
DriveGet, var_DriveList, List
Loop Parse, var_DriveList
{
f_DrivesSubMenuItemCount++
f_drivespath%f_DrivesSubMenuItemCount% = %A_LoopField%:\
Menu, DrivesSubMenu, Add, %A_LoopField%:\, f_OpenFavorite
}
return
|
|
It is "live", it rebuilds the menu every time showing it.
But I only get fixed drive, so maybe you want removable drive too? |
|
| Back to top |
|
 |
Guest-12 Guest
|
Posted: Thu Jun 25, 2009 6:52 am Post subject: Total Noob Question |
|
|
| Is there a way to make the folders that FolderMenu opens open in a regular window rather than Windows Explorer? |
|
| Back to top |
|
 |
rexx
Joined: 28 Feb 2006 Posts: 72
|
Posted: Thu Jun 25, 2009 7:12 am Post subject: Re: Total Noob Question |
|
|
| Guest-12 wrote: | | Is there a way to make the folders that FolderMenu opens open in a regular window rather than Windows Explorer? |
Options -> Others -> File manager path
make it blank to open in a regular window. |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|