AutoHotkey Community

It is currently May 25th, 2012, 7:51 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: October 18th, 2007, 7:56 am 
Hello everybody

i'm looking for advices. I'm using Ahk for about 2 years now. Even if i'm not a programmer,
i spent a lot ot times writing these scripts.
I use ahk mainly in Directory Opus, an explorer alternative filesystem and to manage the interface.

I actually have 3 long scripts. One for general gestion (hotkeys for all programs. ^c for instance)
One for graphic and pictures (a long one i separated from others for clarty) and one for specific
softs (using ifWinActive)

Apart from that, in another folder, i have a lot of scripts which i call with hotkeys.

Some scripts share variables, and i managed to make the whole system function, but it's like
a jungle.

How are you guys organised yourshelf ?
I'm looking for advices from experimented users about how to manage hundreds of scripts and variables.

Hope my bad english is clear.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 18th, 2007, 1:12 pm 
Offline

Joined: February 24th, 2007, 6:02 pm
Posts: 175
Location: Budapest, Hungary
GOOD TOPIC!

I am a Delphi developer. I am familiar with other languages too (C, PHP), but since I started to use AHK one year ago I am far more productive.

My script consist of two main scriptfile, each are about 300 lines.
CommonHotkeys.ahk - This includes the window-group defines and the #IfWinActive directives
MyScript.ahk - This is the main script that includes CommonHotkeys.ahk.

I use different MyScript.ahk at home and at work.
This is because I have a hungarian keyboard at home and an english at work. The desktop design and arrangement is also different.
Only the CommonHotkeys.ahk is the same.

The main difference is the behaviour of the Middle mousebutton.
I cannot use it inside an #IfWinActive directive because it depends on the cursor position.

I also include some smaller helper script libraries: WinSysMenuAPI.ahk and AHKHelper.ahk

And I also have a startap script that run on every time I login. But that is separate from the main script, it runs as a different process and quits automatically when it finishes it's job.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 18th, 2007, 5:29 pm 
Offline

Joined: May 11th, 2007, 1:08 pm
Posts: 26
I use a sentinel.ahk to launch all the other scripts. The sentinel.ahk start automatically when I log in, and start the hotkeys.ahk, google.ahk, etc...

HuBa: I use hungarian keyboard at home too, and english at work. :)

_________________
dA Profile


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: dra, engunneer, Exabot [Bot], krthornton, tomL, vsub, Yahoo [Bot] and 3 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