2009.02+AutoIT = Filters/Layouts/Favs in toolbar 1 click

Discussion, questions and support.
Post Reply
Message
Author
W4tch3r
Posts: 10
Joined: 04.10.2007, 05:47

2009.02+AutoIT = Filters/Layouts/Favs in toolbar 1 click

#1 Post by W4tch3r » 24.02.2009, 02:24

What a great program this is. Marek you are a very skilled programmer. I can hardly wait to see your new creation... Until it comes out, here is a way get a bit more flexibility with the toolbar buttons.

2009.02 lets you create multiple Favorites toolbars. With a little AutoIT scripting, you can make a toolbar with buttons for individual Filters, Layouts and Favorites. (My script opens favorites in a new tabs). It takes a little while to setup, but when its going, its fast and great if you happen to have a big monitor with plenty of button space or are willing to use 2 rows for the buttons.

Steps:
1. Write AutoIt script and compile to an exe (see below for my examples).
2. Use 2009.02 to create a new toolbar(s). I made new toolbars for filters, layout and folder favorites x 3.
3. Add items to the toolbar. Each item calls the same AutoIt compiled exe but with a different parameter
4. I use "Show Caption" only but played around succefully with a freeware icon editor (IcoFX. I used 48x48 icons).

In the examples below, Set Filter and Set Layout are called with a number parameter (1, 2, 3...) corresponding to the Filter number or layout numbers (filters and layouts must be predefined). Favorite In New Tab takes the path as the parameter with quotes around it "".

W4tch3r ‹•¿•›

-------------------------------------------------
; Freecommander Favorite In New Tab.au3
Send("^t") ;Ctrl-T
Send("!g") ;Alt-G
Send($CmdLine[1]);path
Send("{Enter}"); Enter

; Freecommander Set Layout.au3
Send("!" & $CmdLine[1]);Alt-n

; Freecommander Set Filter.au3
Send("!{PGDN}");Alt-Page Down
Send("{DOWN 4}") ; Scroll down to the first filter (All Files)
For $i = 1 to $CmdLine[1]
Send("{DOWN}")
Next
Send("{ENTER}")
-------------------------------------------------

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests