AutoHotkey Community

It is currently May 27th, 2012, 1:00 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: November 1st, 2011, 11:13 pm 
Offline

Joined: November 1st, 2011, 11:07 pm
Posts: 1
Hi,

I'm using autohotkey to start command shell, and I've noticed that after I update PATH the shell doesn't pick up the changes. Investigation led me here:

http://serverfault.com/questions/8855/h ... -rebooting

and indeed, after I restarted autohotkey, new shells do pick up the changed PATH. If the comment about WM_SETTINGCHANGE is true, I think it would be a great idea to use it.

PS: I'd submit a patch myself if I could find the source. Is there any way one could participate, a github tree or something? Thanks!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 1st, 2011, 11:36 pm 
Yes there is a repository here https://github.com/Lexikos/AutoHotkey_L


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 2nd, 2011, 2:01 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
Automatically updating environment variables may cause unintended behaviour with existing or new scripts, especially with scripts that modify their own environment variables. Your scripts can react to WM_SETTINGCHANGE by using the OnMessage function, if necessary.


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: No registered users 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