| View previous topic :: View next topic |
| Author |
Message |
IconBoy
Joined: 24 Feb 2006 Posts: 77
|
Posted: Wed Oct 25, 2006 1:59 am Post subject: FavoriteFolders by Savage - on desktop |
|
|
FavoriteFolders is great.
I was wondering, is there any way that it will activate (with middle mouse click) if I am viewing on the desktop or is it only possible when viewing folders?
Thanks very much. |
|
| Back to top |
|
 |
ChrisM
Joined: 28 Nov 2004 Posts: 58
|
Posted: Wed Oct 25, 2006 12:48 pm Post subject: |
|
|
Remove the tilde from before the hotkey.
change:
| Code: | | f_Hotkey = ~MButton |
to
_________________ ChrisM |
|
| Back to top |
|
 |
IconBoy
Joined: 24 Feb 2006 Posts: 77
|
Posted: Wed Oct 25, 2006 2:59 pm Post subject: |
|
|
Wonderful! Works a treat!
Is there any way to limit where it works? E.g. only on Desktop and folders but not in applications e.g. browsers.
Thanks |
|
| Back to top |
|
 |
ChrisM
Joined: 28 Nov 2004 Posts: 58
|
Posted: Wed Oct 25, 2006 4:27 pm Post subject: |
|
|
Remove this entire section of code:
| Code: | if f_class = #32770 ; It's a dialog.
{
if f_Edit1Pos <> ; And it has an Edit1 control.
{
; Activate the window so that if the user is middle-clicking
; outside the dialog, subsequent clicks will also work:
WinActivate ahk_id %f_window_id%
; Retrieve any filename that might already be in the field so
; that it can be restored after the switch to the new folder:
ControlGetText, f_text, Edit1, ahk_id %f_window_id%
ControlSetText, Edit1, %f_path%, ahk_id %f_window_id%
ControlSend, Edit1, {Enter}, ahk_id %f_window_id%
Sleep, 100 ; It needs extra time on some dialogs or in some cases.
ControlSetText, Edit1, %f_text%, ahk_id %f_window_id%
return
}
; else fall through to the bottom of the subroutine to take standard action.
} |
It should then work in only opened exporer and command prompt windows and on the desktop. _________________ ChrisM |
|
| Back to top |
|
 |
IconBoy
Joined: 24 Feb 2006 Posts: 77
|
Posted: Wed Oct 25, 2006 4:50 pm Post subject: |
|
|
Thanks for the reply.
Nope. Still working in all windows. Reason I do not want it working in IE or Firefox is so I can use the scroll button on the mouse to close tabs.
Any ideas...? |
|
| Back to top |
|
 |
ChrisM
Joined: 28 Nov 2004 Posts: 58
|
Posted: Wed Oct 25, 2006 6:53 pm Post subject: |
|
|
Sorry, I didn't understand what you were trying to do.
I have the same problem, the middle button is used for many things in many of my apps. Consider using Control+Middle Button to activate the menu. That allows the middle button to work as it normally does in your browsers. I'm not saying it can't be done with the middle button alone, it's just alot harder to do it.
To use Cntl+MButton replace this line:
with:
| Code: | | f_Hotkey = ^MButton |
If you want the menu to show up in any app's open and save dialogues then put back in the code I told you to take out earlier. _________________ ChrisM |
|
| Back to top |
|
 |
IconBoy
Joined: 24 Feb 2006 Posts: 77
|
Posted: Wed Oct 25, 2006 10:44 pm Post subject: |
|
|
Thought I'd be a little clever and add some Shutdown options but when I select one of them (e.g. Log off it opens a webpage searching for log off or something like that!)
| Code: | Shutdown ; Shutdown, 9
Log off ; Shutdown, 4
Restart computer ; Shutdown, 6 |
Ideas on how to make it work (I want it to Force shutdown, log off, restart etc.? |
|
| Back to top |
|
 |
scriptmonkey
Joined: 19 May 2006 Posts: 112
|
Posted: Fri Oct 27, 2006 2:44 pm Post subject: |
|
|
| This is probably a stupid question, but how do I add an existing script to this one? I have a script that autotypes certain words when I type a certain sequence. |
|
| Back to top |
|
 |
drmurdoch
Joined: 10 Nov 2006 Posts: 89
|
Posted: Sun Mar 18, 2007 1:41 am Post subject: How could this great script support Office 2003 Dialogs ? |
|
|
| Quote: | | The following window types are supported: 1) Standard file-open or file-save dialogs; 2) Explorer windows; 3) Console (command prompt) windows. The menu can also be optionally shown for unsupported window types, in which case the chosen favorite will be opened as a new Explorer window. |
I'd really love this script to support Microsoft Office 2003 File Open/File Save Dialogs. Apparently these are "not standard". |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3626 Location: Belgrade
|
Posted: Mon Mar 19, 2007 9:37 am Post subject: |
|
|
Check out the Favmenu3 alpha 9, here. It supports Office
It seems link is buggy and doesn't go to the page directed, so just scroll to the last post. _________________
 |
|
| Back to top |
|
 |
|