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 

Folder Menu - a popup menu to quickly change your folders
Goto page 1, 2, 3 ... 10, 11, 12  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
rexx



Joined: 28 Feb 2006
Posts: 72

PostPosted: Sat Dec 02, 2006 10:29 am    Post subject: Folder Menu - a popup menu to quickly change your folders Reply with quote

Folder Menu

v2
src

v1
src

AutoHotkeySC.bin



It's my new mod of the great script Easy Access to Favorite Folders by Savage.

It's really a convenient tool and I've added some new functions to it.

Here's the list of new functions.
- Hotkey2 to show the menu everywhere.
- Support for more applications (such as 7zfm, winrar, filezilla...etc.).
- Holding Ctrl and click an item to open a new menu which contains the subfolders of that item.
- Recent menu for recently opened items.
- Submenu.
- Menu icons.
- Open Selected text (folder path, file path, URL or registry path).
- 'Add favorite' GUI.
- Get path of a folder in explorer, dialog and command prompt, and add it to favorite.
- Get win classname (to add support for more applications, see config.ini).

(the executable)It will create a config.ini file at the first time you run it, which contains the descriptions to the config file and some examples.


updates:
latest updates at Folder Menu
20090408
- fix: submenu name can contains special characters (! " % & ' ( ) * + , - . / : ; < = > \ ^ ` { } ~)
- add: drop file on add favorite gui
20090407
- fix: recent don't keep error item
- fix: don't record recents if there's no recent menu added
- add: option - recent size
- add: option - start with windows
- add: support 7zip 2 panel mode
- add: custom default icons for specified extensions
- add: more special items (Tool Items, SystemRecent)
- add: option - middle click (hotkey1) on desktop to show menu
- add: option - recent menu keeps only folder items
- add: option - don't show menu icons
- fix: new method to get path in open/save dialog
- add: url/reg example items in default config.ini
- add: custom folder items icon
- add: record items recently opened by foldermenu (recent menu). original system recent menu is moved into the recent menu
- add: menu icon supported by AutoHotkey_L (Lexikos' custom build)
- fix: submenu name can contain ' ' (space)
- fix: filezilla3 with no quick connect bar
- add: favorite can use reg path
- config.ini updated (for recent folders)
- fix: submenu name can contain '&'
- add: custom special items position (Tool, Debug, Recent)
- add: debug menu item
- add: recent folder menu item
- fix: send MBCS bug in cmd
- add: ..\ item in temp menu to go up
- fix: compatible with vista addressbar
- fix: path can contain '='
- add: holding shift or rbutton works like ctrl(open subfolder menu)
- add: support for fz3, total commander
- add: open selected registry path


Last edited by rexx on Thu Aug 27, 2009 10:48 am; edited 41 times in total
Back to top
View user's profile Send private message
rexx



Joined: 28 Feb 2006
Posts: 72

PostPosted: Tue Dec 05, 2006 1:23 pm    Post subject: Reply with quote

Small update:
Sort the subfolders menu items and add a parentfolder item to the top of the menu.
Back to top
View user's profile Send private message
Carlol



Joined: 14 Aug 2006
Posts: 162
Location: CPH

PostPosted: Wed Dec 06, 2006 11:05 am    Post subject: Reply with quote

I want to check out your script, but I get an "Error at line 649. Line Text: [Hotkeys] Error: This line does not contain a recognised action" ...

Any suggestions, because it looks like a interesting "update" to Savage fine script Smile
Back to top
View user's profile Send private message
rexx



Joined: 28 Feb 2006
Posts: 72

PostPosted: Wed Dec 06, 2006 12:23 pm    Post subject: Reply with quote

hmm.. i think you've copy both the ahk script and config.ini into one ahk script.
you should save the config.ini part in another file named "config.ini" and put it in the script folder.
Back to top
View user's profile Send private message
Carlol



Joined: 14 Aug 2006
Posts: 162
Location: CPH

PostPosted: Wed Dec 06, 2006 3:18 pm    Post subject: Reply with quote

Quote:
It will create a config.ini file at the first time you run it, which contains the descriptions to the config file and some examples.


Well this does not happen, the error dialogue comes first, so I guess you're right somehow, what to do? Confused
Back to top
View user's profile Send private message
RocknRoller
Guest





PostPosted: Wed Dec 06, 2006 3:44 pm    Post subject: Great! Reply with quote

Thanks for these enhancements rexx.

The original script by Savage is one of the most useful tools I have on my work computer. I made some small modifications to it because I am using a different file manager (Servant Salamander).

I'll work on implementing my changes into your script to benefit from these cool new features!
Back to top
rexx



Joined: 28 Feb 2006
Posts: 72

PostPosted: Thu Dec 07, 2006 3:09 pm    Post subject: Reply with quote

Carlol wrote:
Quote:
It will create a config.ini file at the first time you run it, which contains the descriptions to the config file and some examples.


Well this does not happen, the error dialogue comes first, so I guess you're right somehow, what to do? Confused

this only works when using the compiled file.

if you want to use a script, you have to put the script code and config.ini code in two files, note that there are two code sections, don't put them in a same file...
Back to top
View user's profile Send private message
Carlol



Joined: 14 Aug 2006
Posts: 162
Location: CPH

PostPosted: Thu Dec 07, 2006 3:59 pm    Post subject: Reply with quote

Oh Rolling Eyes I see what you mean, thanks I'll try to work it out. Cool
Back to top
View user's profile Send private message
Carlol



Joined: 14 Aug 2006
Posts: 162
Location: CPH

PostPosted: Thu Dec 07, 2006 4:12 pm    Post subject: Reply with quote

He he I got it running, thanks a lot, and sorry for being a bit on the slow side, I hadn't noticed the additional config code, but now I'm up and running. Razz
Back to top
View user's profile Send private message
Carlol



Joined: 14 Aug 2006
Posts: 162
Location: CPH

PostPosted: Fri Dec 08, 2006 8:32 am    Post subject: Reply with quote

One last question, I'm now running the script, and happily getting addicted to it, although I would like to loose the tray icon, or replace with another than the default. #NoTrayIcon doesn't seem to work! Question Cool
Back to top
View user's profile Send private message
rexx



Joined: 28 Feb 2006
Posts: 72

PostPosted: Fri Dec 08, 2006 10:41 am    Post subject: Reply with quote

In the config.ini file.
Code:
; Set NoTray = 1 to hide Tray Icon.
NoTray = 0


If you want to replace the icon, you can use the menu command.
Code:
Menu, Tray, Icon, <icon path>

Add this line anywhere in the autoexecute section.
Back to top
View user's profile Send private message
Carlol



Joined: 14 Aug 2006
Posts: 162
Location: CPH

PostPosted: Fri Dec 08, 2006 11:29 am    Post subject: Reply with quote

Razz Beautiful..Thanks!
Back to top
View user's profile Send private message
Jameson



Joined: 24 Apr 2008
Posts: 2

PostPosted: Tue Sep 02, 2008 1:16 pm    Post subject: Re: Folder Menu - a popup menu to quickly change your folder Reply with quote

谢谢。
Thanks。
Back to top
View user's profile Send private message
lima



Joined: 24 Sep 2008
Posts: 7

PostPosted: Thu Sep 25, 2008 11:27 am    Post subject: Reply with quote

If i want to add a url with a equal sign '=' in it, the script has a problem with the equal sign in the config.ini file.
In the config.ini file you see something like this:
Code:
forum=http://www.autohotkey.com/forum/viewtopic.php?p=93644

The line is being cutt-off on the second '='.
How can i solve this?
Back to top
View user's profile Send private message
FatZgrED



Joined: 19 Oct 2008
Posts: 7
Location: Kielce, Poland

PostPosted: Sun Oct 19, 2008 1:15 pm    Post subject: Total Commander Reply with quote

Total Commander is very popular.
To use Folder Menu in it you need to add:
1)TTOTAL_CMD class to Config.ini\OtherApps
2)this part in f_OpenFavorite:
Code:

;----- TOTAL COMMANDER ----
else if w_Class in TTOTAL_CMD, ; In TOTAL COMMANDER
{
   if w_Edit1Pos <>
   {
      ControlClick, Edit1, ahk_id %w_WinID%
       ;Total Commander has Edit1 control but you need to cd to location
      ControlSetText, Edit1, cd %f_OpenFavPath%, ahk_id %w_WinID%
      ControlSend, Edit1, {Right}{Enter}, ahk_id %w_WinID%
      return
   }

}

PS. Adding this to original script would be great.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page 1, 2, 3 ... 10, 11, 12  Next
Page 1 of 12

 
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