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  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
stevep



Joined: 28 Aug 2006
Posts: 20
Location: Ukraine

PostPosted: Wed Sep 13, 2006 1:09 pm    Post subject: Reply with quote

The memory is totally not an issue to me (2 Gb RAM on board). I just had some opinions according to your last post. Some of my scripts may consume 100-s Mb of memory, depending on performed operations, and that's normal.

Quote:
nobody except you now wanted that.

And it's totally not a problem if you don't wish to make changes to your script. It's a valuable contribution (I was reading your nice article at WiKi), and you made it free, so that some geeks may change it to sweet their needs Laughing


About Favorites
Here's a little selection from my favs, collected in last some... ten years... many of them used very rarely. There aren't any constant favorites. I call them Shortcuts, Ghesler called the menu as Directory HotList. This week my favorites are cmd111...cmd120, next week my favorites are cmd72...79, etc.

cmd11=cd C:\Documents and Settings\Steven\Favorites\
cmd12=cd C:\Documents and Settings\Steven\My Documents\My
...
cmd18=cd I:\Development
cmd19=cd I:\Motion
cmd20=cd I:\OSes
...
cmd30=cd I:\Plug-ins\Graphics\Animation\3ds max
cmd31=cd I:\Plug-ins\Motion\Compositing\After Effects
cmd32=cd I:\Plug-ins\Graphics\Drawing\Illustrator
cmd33=cd I:\Plug-ins\Video\( Multiplatform )
cmd34=cd I:\Plug-ins\Graphics\Photography\Photoshop
cmd35=cd I:\Plug-ins\Motion\Editing\Premiere Pro\
...
cmd40=cd %SYSTEMROOT%
cmd41=cd %SYSTEMROOT%\SYSTEM32
cmd43=cd %USERPROFILE%\Start Menu\Programs\
...
cmd58=cd E:\Adobe\Premiere\Project-Archive
cmd61=cd E:\Software\Tools\InCtrl5
cmd63=cd %USERPROFILE%
cmd65=cd %APPDATA%
...
cmd76=cd E:\Documents\Adobe\Premiere Pro\2.0
cmd77=cd \\Pc2\C\Documents and Settings\PC-2\My Documents\Adobe\Premiere Pro\1.5\Layouts
...
cmd82=cd %PATH_NetData%
cmd83=cd %PATH_NetData%\%COMPUTERNAME%\Settings
cmd85=cd %PATH_NetDataLocal%
cmd86=cd \\PC2\C\Windows\MTW\Network Data
cmd88=cd %PATH_NetDataShared%
...
cmd95=cd %PATH_Scripting%\Scripts\Projects
cmd96=cd E:\Development\Scripting\Scripts\Run Software
cmd98=cd %PATH_Scripting%\Scripts\Software
...
cmd107=cd %PATH_Scripting%\Scripts\Software\Motion\After Effects
cmd108=cd %PATH_Scripting%\Scripts\Software\Motion\Premiere Pro 2
cmd110=cd %PATH_Scripting%\Scripts\Temporary
cmd112=cd %PATH_Scripting%\Structures
cmd113=cd %PATH_Scripting%\Tools
cmd115=cd E:\Development\Scripting\Languages\AutoHotKey
...
cmd133=cd D:\Development\Scripting\WinBatch\System
cmd136=cd D:\2D Graphics\Suites\Adobe Creative Suite 2\Adobe cmd137=cd D:\2D Graphics\Suites\Adobe Creative Suite 2\Adobe cmd138=cd D:\Motion\Compositing\Adobe\After Effects 7\Support Files\Scripts
cmd140=cd E:\Development\Scripting\Tools\Windows API
...
cmd141=cd %COMMANDER_PATH%\Add-ons\
cmd144=cd %PATH_NetDataShared%\Motion\
cmd146=cd E:\Software\Plug-ins\Adobe Premiere Pro\Adorage Magic\
cmd147=cd M:\Effects\Transitions\ProDad Adorage Magic\Favorites\
cmd148=cd D:\Plug-ins\( Multiplatform )\Boris FX, Inc
cmd149=cd E:\Software\Plug-ins\Adobe Premiere Pro\Boris RED\Settings
...
cmd157=cd D:\2D Graphics\Suites\Adobe Creative Suite 2\Adobe Photoshop CS2\Presets\
cmd158=cd E:\Motion Graphics\Software\Premiere Pro\Clipboard Snippets
cmd159=cd E:\Motion Graphics\Software\Premiere Pro\Clipboard Snippets\Timeline\Effects\
cmd160=cd E:\(Backup)\Software\Motion\Editing\Adobe Premiere Pro\Effect Presets\
cmd161=cd E:\Software\Motion\Editing\Adobe Premiere Pro\Effect Presets Classified

There are more than 2 Million files, some 100 000 folders and no free drive letters on my system and a "large" amount of about 200 favorite items Surprised


Quote:
it has to create them all again as they are destoryed once you hide the menu.
It's simply because of a wrong unthoughtful design of this part of the tool.

Quote:
I can not compare with wincmd.ini File Modification Date since this file is changed constantly. TC will change other INI sections at will...
Well, if you're all the day sitting in TC, constantly changing options, perform searches, modify the Directory Hotlist, then you're right. Try to be more precise, define "constantly", "at will" more specifically.
There are users of your tool, who only occassionally do some file operations inside TC, but heavily uses the File Dialogs to jump here and there, then you'll understand, that such a simple(!) FileModification check makes sence. Another better way of comparison, which would be better if you're sitting constantly in TC, is to Find the [DirMenu] section and get all the remaining Text up to EOF and store it to a Variable, then, when the menu invoked, compare Previous value to Current.

Please, I don't ask you to do any changes to your script. You're totally right, most users have 10-20 favorite folder and there's only a very slight unnoticeable delay of some 10-50 ms.


Quote:
If this is C code I would of course add that, but since it is already big speaking in AHK therms, I don't think so.... Also, it can not be done successifuly in AHK since I can not install system hook witch is required for this.
I'm interested in comment on this from Chris. Maybe there are plans to allow manually add message hooks, like #InstallMessageHook, or maybe I don't understand what low-level stuff is necessary to quickly accomplish such a File Dialog Window transformation, while it is in Hidden state, before Showing it.
Back to top
View user's profile Send private message
majkinetor



Joined: 24 May 2006
Posts: 3644
Location: Belgrade

PostPosted: Wed Sep 13, 2006 1:26 pm    Post subject: Reply with quote

Oh no.. don't understand me wrong. I want everybody to be happy cuz of things I do. I personaly hate refresing menu, but my menu is not so big.. 50 items at most... Still, I hate that 300 ms delay since I know that it can be better.

Code:
It's simply because of a wrong unthoughtful design of this part of the tool.
There is no such thing in my code.

Quote:
define "constantly", "at will" more specifically.

Ask Ghisler, but here are some tips: Saving current left & right folders, MRU lists, configuration details.... some things are done daily.

Quote:
Find the [DirMenu] section and get all the remaining Text up to EOF and store it to a Variable, then, when the menu invoked, compare Previous value to Current.

Oh I know... I even posted this to Ask for Help for suggestion.... hm... I guess i accidently deleted my post , possibly when boss entered the office.
Anyway, can you send me your menu so I can test with it (e-mail) ? I want to save a little time creating large menus myself. Just to inform you, in the beginning it was non-refreshing menu....

Quote:
I'm interested in comment on this from Chris. Maybe there are plans to allow manually add message hooks, like #InstallMessageHook, or maybe I don't understand what low-level stuff is necessary to quickly accomplish such a File Dialog Window transformation, while it is in Hidden state, before Showing it.
Not for a typical user. Smile
Knowing Chris so far he will possible object with variations of following:
- not for a typical user
- posible malitious code

Low level stuff are preatty strate forward, can be done within days. What needs more time is carefully though out design of such features.

-------------
So, I will update the Favmenu so it has smart update feature, but you will have to wait until I find optimal solution for that.


Quote:


... and now that my previously reported bugs are solved... I can report new ones... hehe... I only hope that you're still open to suggestions

so... here we go
- the menu does not autorefresh . Adding new items in TC don't show up in the scripts menu.....

http://ghisler.ch/board/viewtopic.php?p=89251#89251
_________________
Back to top
View user's profile Send private message MSN Messenger
stevep



Joined: 28 Aug 2006
Posts: 20
Location: Ukraine

PostPosted: Thu Sep 14, 2006 12:24 am    Post subject: Reply with quote

Quote:
- the menu does not autorefresh . Adding new items in TC don't show up in the scripts menu.....

The user wrote that, because you didn't leave any choice to refresh the menu. That's why I said, that this part of the Script was not thoughted out thoroughly. Under carefully thought out, I mean, ultimate for all cases, for any computer, for any environments, for any situation. Nothing is ideal. After launching my scripts, I often found new ideas, and then changing the script, changing it, changing it, and that seems endless. AHK also have unthoughtful parts in it's language syntax. If Chris would be a foreteller, some things in AHK would be in more rational state.

Quote:
Ask Ghisler, but here are some tips: Saving current left & right folders, MRU lists, configuration details.... some things are done daily.
I see, you don't get it Confused
If you simply browse to some folder, with/without help of Directory Hotlist / Start Menu / Button Bar, it have nothing to write to the INI. There's no need to ask Ghisler. You can Open the wincmd.ini in Notepad, and then see what sections there are, and you will have an idea when TC would update the INI. I personall very rarely make changes to TC Options, Window State, Shortcuts, ButtonBar and so on. Even if you change the Window of TC, it will not upate the wincmd.ini, until you select a menu item C&onfiguration>Save Settings. But, most importantly, if TC is not in the foreground, or it's Closed, it doesn't updates the wincmd.ini.


Quote:
I will update the Favmenu so it has smart update feature, but you will have to wait until I find optimal solution for that.
There's nothing to rethink. Everything is so clear.
An example, why the Menu Refresh is have to be reconsidered:
1. you launched Notepad
2. selected File>Open
3. used the Favorites Menu to jump to some folder
4. you decided that you need to jump to another folder and you using again the Favorites Menu. The favmenu opens, but with a Delay, even if the Focus was not changed to TC.

So, the conclusion here, is that there should be 2 tests (the smart update):
1. compare File Modification Date (for cases when TC even not got focus).
2. if change detected, load wincmd.ini to a variable, seek to the [DirMenu] section, then seek to the next section with simple pattern "`n[" if not found, then to EOF and compare this pieces. If the pieces are different, recreate the Menu.

For Menus with unlimited amount of items, such 2 tests would take 0-10 ms. Otherwise, you have to wait "constantly" up to 1000 ms before the Script perform it's iterative dull IniRead cycle. Waiting 1000 ms is very annoying, ya know.

Quote:
can you send me your menu so I can test with it (e-mail)
Wink
Back to top
View user's profile Send private message
majkinetor



Joined: 24 May 2006
Posts: 3644
Location: Belgrade

PostPosted: Thu Sep 14, 2006 7:18 am    Post subject: Reply with quote

Quote:
The user wrote that, because you didn't leave any choice to refresh the menu

What do you think, why "Reload" is there Rolling Eyes

Quote:
Under carefully thought out, I mean, ultimate for all cases, for any computer, for any environments


Quote:
If you simply browse to some folder, with/without help of Directory Hotlist / Start Menu / Button Bar, it have nothing to write to the INI.


Quote:
I personall very rarely make changes to TC Options, Window State, Shortcuts, ButtonBar and so on

When writting programs that everybody will use you have to take into account that people don't have the same habits. Take me for example: I never keep windows open and I change TC setting frequently, several times a day. I don't like to keep windows open when I don't use them, especially quick utilities (like Editor or TC) so I close and open TC almost after every usage. That means that it will change ini all the time. MRU lists is another good thing to note... I use Mutli rename tool every now and then. Check in FileMonitor what is going on with wincmd.ini when you do that Smile. Also, I have a hotkey to show/hide hidden files, witch I use daily. I know you have best intentions even with you current retorical style and I am open minded enough to listen, but I certanly doubt that you have all variables for the equation. You are judging by yourself. If I wanted to do Favmenu only for myself, I would stop scripting it before 4 months, since all I added after initial first month two month of programming was for other people. You also don't know that Favmenu is programmed to be modular, so new dialogs & file managers can be easily added without messing with the rest of the code. That requires everything to be carefully thought out Smile

Quote:
There's nothing to rethink. Everything is so clear.

There is no need to repeat that so often. I already told you that I will update this so that everybody can be happy, not only you. Don't you think that this part of the code is trivial comparing to messing with system internals ? Nevertheless, I posted the problem here just to make sure everything is thought-out well.
Quote:
Quote:

can you send me your menu so I can test with it (e-mail)

Wink

Its your choice, you will have to wait much longer then.... Don't ask why "much" since you can create such menu in several minutes. Its about habits and principles ....
And most of, you are not "typical user", I suspect that there may be 5users with large menus like you. It is opensource after all, and you appear to know AHK.... Cool And most of all, people should be responsible for their words, acts and smiles. Wink

Hope to hear some new suggestions from you in the future.
_________________
Back to top
View user's profile Send private message MSN Messenger
BoBo
Guest





PostPosted: Thu Sep 14, 2006 7:57 am    Post subject: Reply with quote

My general approach regarding such kind of discussion: "only a fool can be interested to be everybody's darling".
Code:

Loop
{
  ops := A_Index+1
  MsgBox, Experts: %A_Index%`nOpinions: %ops%
  }
Cool
Back to top
majkinetor



Joined: 24 May 2006
Posts: 3644
Location: Belgrade

PostPosted: Thu Sep 14, 2006 8:22 am    Post subject: Reply with quote

Thank you, Bobo, so useful opinion Rolling Eyes

You enlighten me in single phrase, like nobody did before Embarassed
_________________
Back to top
View user's profile Send private message MSN Messenger
stevep



Joined: 28 Aug 2006
Posts: 20
Location: Ukraine

PostPosted: Thu Sep 14, 2006 10:23 am    Post subject: Reply with quote

Quote:
What do you think, why "Reload" is there
Yes, but from where a user would know, what is the purpose of the "Reload" command. Users tend to be less quick-witted than you may think. You had to add an item like "Refresh Menu" in the Menu which was actually built.

Quote:
When writting programs that everybody will use you have to take into account that people don't have the same habits
That's what I tried to say! When you had complaints, you fulfilled a user's request and was forget about others. When you wrote your script, you wasn't think, that somebody may have 100 menu items. Well, the users base of FavMenu is not the same as of AHK Laughing, so, please interpret my TIPS correctly. If I were you, I would only say "Thanks for your attention and feedback" as tomorrow you may see some "HotMenu Pro.ahk" script.

Quote:
Its your choice, you will have to wait much longer then.... Don't ask why "much" since you can create such menu in several minutes. Its about habits and principles ....
I don't understand. I sent you my wincmd.ini and give you a wink.

I have to repeat, however I don't like tautology, that I changed your script from the very outset, I even described what exactly I changed.
When I tried your script, I liked it, and decided to give you some feedback, but somewhy, you perceived it inadequately. You shared your script and you don't owe nothing.

BoBo, you wasn't read carefully on discussion, you just tried to advocate majkinetor, who seemingly doesn't like feedback and tips from others, because he already opinionated.

If I have given cause for offense you have my deepest apologies.


Last edited by stevep on Thu Sep 14, 2006 11:01 am; edited 1 time in total
Back to top
View user's profile Send private message
majkinetor



Joined: 24 May 2006
Posts: 3644
Location: Belgrade

PostPosted: Thu Sep 14, 2006 10:53 am    Post subject: Reply with quote

Quote:
Yes, but from where a user would kow, what is the purpose of the "Reload" command.

Laughing
what about brain ?

Quote:
When you wrote your script, you wasn't think, that somebody may have 100 menu items

O yeah, I was thinking, like you can see in
majkinetor ! @ TC wrote:
2all
I will try to add refreshing menus in the future. I realised that it can be done only when menu is changed. This was originaly hard to notice since TC can change any part of the ini file at any moment without changing the dirmenu section.
I will do some smart recognition when only dirmenu is changed....

The fact that I didn't implement it up to day, was that I realise it to be low-priority task. My menu is already big enough that I hate to see 300ms delay I have, and above all, I am purist, and I don't like to use CPU more that it is needed. I would implment "smart refreshing" with or without you, even in the world where I use menus with 5 items.

Quote:
but somewhy, you perceived it inadequately

It appears that you received my comments inadequately. Smile
Dialog, in modern society goes this way: 2 persons are trying to convince eatchother something, both with their arguments until one of them finaly realise that arguments of other are valid, or until they both give up trying.

I listen your arguments and despite your efforts to prove me something, you didn't succed to do so, the same as me, or we wouldn't talking by now. I am not opiniated, I just don't think that you are right in some of your conclusions. You are judging with 2 little resources, 2 fastly witch I find to be the common probblem in modern society. I don't judge at all, until some large amount of time pass - that way I allow everybody and myself to have bad day, bad vikend, bad month or year, but despite those, you can grab the invariant properties of person. This requires long time though... The judge with low number of variables like you have, can be only wrong, or at most, you can have lucky guess.

Quote:
If I have given cause for offense you have my deepest apologies.
Not at all. I wasn't ironic when I sad that I hope to hear more suggestions from you in the future Wink

After all, you are the one to change the script to suit your own needs without contacting me. That is something I appriciate.

About Bobo, don't pay any attention... he is sometimes borred to death witch explains posts like the one above, but is a very nice person from what I know up so far. He even bring flowers to his neighbor grandma's.
_________________
Back to top
View user's profile Send private message MSN Messenger
stevep



Joined: 28 Aug 2006
Posts: 20
Location: Ukraine

PostPosted: Thu Sep 14, 2006 11:12 am    Post subject: Reply with quote

majkinetor, http://catb.org/~esr/faqs/smart-questions.html#courtesy
Back to top
View user's profile Send private message
stevep



Joined: 28 Aug 2006
Posts: 20
Location: Ukraine

PostPosted: Thu Sep 14, 2006 11:21 am    Post subject: Reply with quote

Please interpret "spend helping" as "spend suggesting".
Good questions help us develop our understanding, and often reveal problems we might not have noticed or thought about otherwise. Wink
Back to top
View user's profile Send private message
BoBo
Guest





PostPosted: Thu Sep 14, 2006 11:53 am    Post subject: Reply with quote

Quote:
and often reveal problems we might not have without them
Wink
Back to top
majkinetor



Joined: 24 May 2006
Posts: 3644
Location: Belgrade

PostPosted: Thu Sep 14, 2006 11:56 am    Post subject: Reply with quote

What all that have to do with me Question Laughing

You acctually sugest that I should behave by that.... tutorial ... ?
You entertain me, stevep Smile

Anyway, I currently don't want to start another round of methaphysics with you since there are many important things on my To-Do

I suggest you read something else, like http://catb.org/~esr/sf-words/
Take care, and have fun.

m
_________________
Back to top
View user's profile Send private message MSN Messenger
stevep



Joined: 28 Aug 2006
Posts: 20
Location: Ukraine

PostPosted: Thu Sep 14, 2006 3:05 pm    Post subject: Reply with quote

Quote:
there are many important things on my To-Do

I suggest you to be less opinionated and a bit more courteous. Also I suggest you to read that "tutorial" thoroughly.

You changed the avatar Smile It was from a famous russian movie "Gentlemen of fortune", from an episode in the prison cell, where the man with flapping fingers was saying "morgalo vykolju" - "will prick out your eyeballs". Was quite unfriendly, ya know Wink
Back to top
View user's profile Send private message
BoBo
Guest





PostPosted: Thu Sep 14, 2006 3:23 pm    Post subject: Reply with quote

Quote:
You changed the avatar
But know there's another story ...

That one is from a famous welsh movie "Sheep of missfortune", from an episode out at feed, where the flying sheep with flapping ears is baaying "baa ba baaaaju" - "will free bitch kitty by kicking your balls". That's! quite dangerous, ya know Wink
Back to top
majkinetor



Joined: 24 May 2006
Posts: 3644
Location: Belgrade

PostPosted: Thu Sep 14, 2006 5:01 pm    Post subject: Reply with quote

Hej Bobo, I think you found your new home ! Cool

You can't resist to post here, can't you ? Very Happy

2 stevep
Ok, I got it - less opinionated, more courteous, read the tutorial !
I will add this in my To-Do list.


EDIT: Listen stevep, I read whole discution again, and I see BoBo was acctually right when he said:
Quote:
My general approach regarding such kind of discussion: "only a fool can be interested to be everybody's darling".


You can replace my first answer with this one, and forget anything else.

    Hej Stevep.
    I am glad you like Favmenu.
    About your concenres about refreshing, don't worry, I am working on that, it was just low-priority task until now comparing to imporatnce of other things I implemented in v2.0.

    Thanks for feedback and suggestions.

_________________


Last edited by majkinetor on Thu Sep 14, 2006 8:28 pm; edited 2 times in total
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 3 of 6

 
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