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 

Automatic #SingleInstance

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Mon Jul 12, 2004 1:24 pm    Post subject: Automatic #SingleInstance Reply with quote

I was thinking that #SingleInstance should be automatically in effect for any script that has hotkeys. This is because only rarely would anyone want the same hotkeys running simultaneously in two instances (in which case only the most recent instance will respond to them anyway).

Of course, if #SingleInstance force/ignore is used explicitly, that mode would be used instead of the default mode. In addition, I would add a #SingleInstance Off option so that you can allow multiple instances if you really want them.

I was thinking that maybe the above should also be done for #persistent scripts, but I'm not certain that would be a good thing.

Comments are welcome.
Back to top
View user's profile Send private message Send e-mail
PenP



Joined: 15 May 2004
Posts: 10
Location: The Netherlands

PostPosted: Tue Jul 13, 2004 9:06 pm    Post subject: Reply with quote

I think it's an good idea! Most script are used with an SingleInstance therefore it will be handy if its only required when you don't want to use it.

Grtz,
PenP
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List All times are GMT
Page 1 of 1

 
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