AutoHotkey Community

It is currently May 27th, 2012, 10:55 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 181 posts ]  Go to page 1, 2, 3, 4, 5 ... 13  Next
Author Message
PostPosted: December 2nd, 2006, 11:29 am 
Offline

Joined: February 28th, 2006, 4:38 pm
Posts: 73
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 August 27th, 2009, 11:48 am, edited 41 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 5th, 2006, 2:23 pm 
Offline

Joined: February 28th, 2006, 4:38 pm
Posts: 73
Small update:
Sort the subfolders menu items and add a parentfolder item to the top of the menu.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 6th, 2006, 12:05 pm 
Offline

Joined: August 14th, 2006, 11:54 am
Posts: 163
Location: CPH
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 :-)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 6th, 2006, 1:23 pm 
Offline

Joined: February 28th, 2006, 4:38 pm
Posts: 73
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 6th, 2006, 4:18 pm 
Offline

Joined: August 14th, 2006, 11:54 am
Posts: 163
Location: CPH
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? :?


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Great!
PostPosted: December 6th, 2006, 4:44 pm 
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!


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 7th, 2006, 4:09 pm 
Offline

Joined: February 28th, 2006, 4:38 pm
Posts: 73
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? :?

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...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 7th, 2006, 4:59 pm 
Offline

Joined: August 14th, 2006, 11:54 am
Posts: 163
Location: CPH
Oh :roll: I see what you mean, thanks I'll try to work it out. 8)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 7th, 2006, 5:12 pm 
Offline

Joined: August 14th, 2006, 11:54 am
Posts: 163
Location: CPH
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. :P


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 8th, 2006, 9:32 am 
Offline

Joined: August 14th, 2006, 11:54 am
Posts: 163
Location: CPH
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! :?: 8)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 8th, 2006, 11:41 am 
Offline

Joined: February 28th, 2006, 4:38 pm
Posts: 73
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 8th, 2006, 12:29 pm 
Offline

Joined: August 14th, 2006, 11:54 am
Posts: 163
Location: CPH
:P Beautiful..Thanks!


Report this post
Top
 Profile  
Reply with quote  
PostPosted: September 2nd, 2008, 2:16 pm 
Offline

Joined: April 24th, 2008, 3:12 pm
Posts: 2
谢谢。
Thanks。


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 25th, 2008, 12:27 pm 
Offline

Joined: September 24th, 2008, 1:49 pm
Posts: 7
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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Total Commander
PostPosted: October 19th, 2008, 2:15 pm 
Offline

Joined: October 19th, 2008, 2:56 am
Posts: 7
Location: Kielce, Poland
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.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 181 posts ]  Go to page 1, 2, 3, 4, 5 ... 13  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 51 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group