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 

Favmenu 2.0 final
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
majkinetor



Joined: 24 May 2006
Posts: 4511
Location: Belgrade

PostPosted: Mon Mar 16, 2009 2:04 pm    Post subject: Reply with quote

Hej pdavit.

If you use FM3, you can sync changes if you open FM3 Editor and press the save button. That should be it.


BTW, this is the function that recognise Vista Open dialogs (but not Save). You need to replace Favmenu_IsOpenSave with following 2 functions:


Code:

FavMenu_IsOpenSave(dlg)
{
   global FavMenu_dlgInput, FavMenu_dlgType
   
   FavMenu_dlgType =

   toolbar := FavMenu_FindWindowExID(dlg, "ToolbarWindow32", 0x440)   ;windows XP
   if (toolbar = "0")
    toolbar := FavMenu_FindWindowExID(dlg, "ToolbarWindow32", 0x001)  ;windows 2k
   
   combo  := FavMenu_FindWindowExID(dlg, "ComboBoxEx32", 0x47C) ; comboboxex field
   button := FavMenu_FindWindowExID(dlg, "Button", 0x001)      ; second button
   
   edit := FavMenu_FindWindowExID(dlg, "Edit", 0x480)         ; edit field
   
   if (toolbar && (combo || edit) && button)
   {
      FavMenu_dlgInput   := combo + edit
      FavMenu_dlgType      := "OpenSave"
      return 1
   }

   return FavMenu_IsOffice03(dlg) || FavMenu_IsOpenVista(dlg)
}


FavMenu_IsOpenVista(dlg)
{
   global FavMenu_dlgInput, FavMenu_dlgType   
   FavMenu_dlgType =

   button := FavMenu_FindWindowExID(dlg, "Button", 0x001)          ; second button
   combo  := FavMenu_FindWindowExID(dlg, "ComboBoxEx32", 0x47C)    ; comboboxex field
   
   rebar  := FavMenu_FindWindowExID(dlg, "WorkerW", 0)   ; navigation bar
   rebar  := FavMenu_FindWindowExID(rebar, "ReBarWindow32", 40965)   ; navigation bar

   
   if (rebar && combo && button)
   {
      FavMenu_dlgInput   := combo
      FavMenu_dlgType      := "OpenSave"
      return 1
   }

   return 0
}

_________________
Back to top
View user's profile Send private message
n-l-i-d
Guest





PostPosted: Mon Mar 16, 2009 7:06 pm    Post subject: Reply with quote

Just a tip for everybody who uses this script and would like to use custom icons (since nice 12 x 12 icons are hard to find), I only found one free program that could handle conversion from graphics to 12 x 12 256-bit icons while maintaining transparency settings well: IcoFX (Import -> Resize/Resample -> Save). All others I tried mess up the transparency or are simply bad at resizing.

You can get free icons (ico, png, gif) from numerous sources (watch the licenses though).

HTH
Back to top
majkinetor



Joined: 24 May 2006
Posts: 4511
Location: Belgrade

PostPosted: Mon Mar 16, 2009 7:18 pm    Post subject: Reply with quote

Oh, I guess you don't have FM3 which supports icons of any dimension.
_________________
Back to top
View user's profile Send private message
n-l-i-d
Guest





PostPosted: Mon Mar 16, 2009 9:18 pm    Post subject: Reply with quote

No, where is your 3rd version? I did look, but I couldn't find a description/download link.
Back to top
majkinetor



Joined: 24 May 2006
Posts: 4511
Location: Belgrade

PostPosted: Mon Mar 16, 2009 9:49 pm    Post subject: Reply with quote

There is no link yet.

You can get preview here, I was posting it on some places.
_________________
Back to top
View user's profile Send private message
paxophobe



Joined: 10 Nov 2007
Posts: 93
Location: Second star to the right.... watching you.

PostPosted: Tue Mar 17, 2009 4:49 am    Post subject: Reply with quote

One thing I think favmenu should do is set A_workingdir to whatever is run.
Back to top
View user's profile Send private message
tcvol
Guest





PostPosted: Mon Apr 27, 2009 11:17 am    Post subject: favmenu support for total commander 7.5 Reply with quote

hi majkinetor,

can you add support for tc 7.5?
currently if using your latest build, i don't get the current directories (1,2) on top of the dirmenu list.

thx
Back to top
Drugwash



Joined: 07 Sep 2008
Posts: 921
Location: Ploiesti, RO

PostPosted: Fri May 01, 2009 11:31 am    Post subject: Reply with quote

One minor issue with MMenu: when hovering through the menu, the system default color is applied to the currently hovered item background, but the item text remains as set in the menu (or is it also default?). As such, having a dark background color and dark text color will make items unreadable (my current situation).

How can we overcome this in some automatic mode (like read system bkg color and then set hovered item color in contrast)? Or use custom hover bkg color overriding system default.

Regardless, MMenu is very slick and FavMenu 3 looks great (on my humble Win98SE Cool )

Later edit:
Hmmm... after quickly hovering up and down the menu, I discovered huge GDI leaks. Guess it's not very 9x-friendly, but that's (probably) just my problem. Thought I should report it though, just in case...

Re-edit:
Guess it's the tooltips. They usually appear at the top-left of primary monitor but occasionally flash at bottom-left of secondary monitor and resources drop around 2-3% then.

May have something to do with missing menu items as well (paths that are in the ini and do not exist physically on the system). Those sub-menus open up narrow and empty - may be better to show a --missing-- label instead. Rolling Eyes
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
szekelya



Joined: 15 Dec 2008
Posts: 13

PostPosted: Mon Jun 29, 2009 8:51 am    Post subject: Reply with quote

Is it possible to start Favmenu (or any other script actually) by rightclicking the windows desktop?
Back to top
View user's profile Send private message
majkinetor !
Guest





PostPosted: Mon Jun 29, 2009 4:16 pm    Post subject: Reply with quote

@szekelya: Yes, Visit Ask for help forum

@all:
I am not sure how will be future of FavMenu. MMenu is developed long, its time for update, but I am sure now menus are not right choice for FavMenu. I am thinking atm about replacing interface with QHTM, adding Property getter/setter control for options instead of Setup GUI etc...

I am not sure if / when is that going to be done.
Back to top
A117
Guest





PostPosted: Fri Oct 09, 2009 3:48 am    Post subject: i love favmenu Reply with quote

i am using TC7.5, too. the biggest problem for me is that, when i click the root and upper dir icon ("\", "..") area of the right side of TC, favmenu is always invoked, which prevents me from using TC functionalities.
besides, Current Dirs in TC does not work for me in explorer or other applications.
anyway, your work is greatly appreciated.
Back to top
majkinetor



Joined: 24 May 2006
Posts: 4511
Location: Belgrade

PostPosted: Fri Oct 09, 2009 1:31 pm    Post subject: Reply with quote

Quote:
i am using TC7.5, too. the biggest problem for me is that, when i click the root and upper dir icon ("\", "..") area of the right side of TC, favmenu is always invoked, which prevents me from using TC functionalities.

I am still using 7.0. Ill update and see whats the problem.


Quote:
Besides, Current Dirs in TC does not work for me in explorer or other applications.

This is pre VISTA application. Seems to be your problem.
_________________
Back to top
View user's profile Send private message
bounce2



Joined: 09 Oct 2009
Posts: 14

PostPosted: Fri Oct 09, 2009 6:01 pm    Post subject: Reply with quote

is fav menu3 only for those who use total commander or ? thanks
Back to top
View user's profile Send private message
majkinetor



Joined: 24 May 2006
Posts: 4511
Location: Belgrade

PostPosted: Fri Oct 09, 2009 6:25 pm    Post subject: Reply with quote

Nope. It extends open save, console, browse for folder and explorer too.
_________________
Back to top
View user's profile Send private message
bounce2



Joined: 09 Oct 2009
Posts: 14

PostPosted: Fri Oct 09, 2009 6:46 pm    Post subject: Reply with quote

Hi, yup I've heard about it for years but due to the new direct folders apparently having malware I thought I'd try this script. I downloaded the "3rd" version here in this thread and get "file manager not found" and the default to open is "total commander".
I should be directing it to windows explorer right?
I'm on win 7
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 7 of 10

 
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