Search found 427 matches

by roysubs
01 Oct 2018, 04:49
Forum: Ask for Help (v1)
Topic: Different hotkeys depending upon host loaded into
Replies: 3
Views: 1069

Re: Different hotkeys depending upon host loaded into

hmm, I see that the following all display, but when I turn on #NoEnv, nothing displays, so that disables all of the AHK built in resolved A_ComputerName, and from Environment Variables like %ComputerName%. I doubt it would have much impact on performance to leave #NoEnv on (maybe a couple of millise...
by roysubs
01 Oct 2018, 04:34
Forum: Ask for Help (v1)
Topic: MsgBox displays sometimes and sometimes not?
Replies: 5
Views: 1114

Re: MsgBox displays sometimes and sometimes not?

<duplicate post deleted>
by roysubs
01 Oct 2018, 04:34
Forum: Ask for Help (v1)
Topic: MsgBox displays sometimes and sometimes not?
Replies: 5
Views: 1114

Re: MsgBox displays sometimes and sometimes not?

Excellent, thanks for these answers, and the additional I guess it was not working as I was putting it inside another script, and I had additional return statements, maybe that was breaking it. Just on this syntax in AHK, is it correct that it's sort of python like things after a declaration like ^#...
by roysubs
30 Sep 2018, 09:58
Forum: Ask for Help (v1)
Topic: MsgBox displays sometimes and sometimes not?
Replies: 5
Views: 1114

Re: MsgBox displays sometimes and sometimes not?

The active MsgBox line (after the ^#r keypress is : MsgBox, Do you really want to reload this script? I've put "Yes" there, so I see what you mean and that cannot work. So, I've now changed that line to "ifMsgBox, OK" (since the MsgBox displays an "OK" box), but it still does not work. Any ideas how...
by roysubs
30 Sep 2018, 09:37
Forum: Ask for Help (v1)
Topic: MsgBox displays sometimes and sometimes not?
Replies: 5
Views: 1114

MsgBox displays sometimes and sometimes not?

I have a couple of questions with the below code. 1. When I first run this, the MsgBox displays perfectly. 2. When I do a Ctrl+Win+r to reload the script, the MsgBox for the "Do you really..." appears, but the MsgBox on the first line does *not* display. I can't understand this behaviour. When I rel...
by roysubs
30 Sep 2018, 06:47
Forum: Ask for Help (v1)
Topic: Different hotkeys depending upon host loaded into
Replies: 3
Views: 1069

Re: Different hotkeys depending upon host loaded into

Ah ha! Thanks jeeswg, AHK syntax is a bit odd to say the least, though I guess it has some special functions to make interacting with open windows easy so for what I need it for, it's really versatile. One more thing, I see that you don't put %computername%, so does AHK automatically recognise all e...
by roysubs
29 Sep 2018, 16:42
Forum: Ask for Help (v1)
Topic: Different hotkeys depending upon host loaded into
Replies: 3
Views: 1069

Different hotkeys depending upon host loaded into

I think this should be very simple. I only want to define ^+i etc depending upon the hostname, but I get errors. Error: Duplicate hotkey. This error makes no sense from the perspective of any other programming language. Appreciate if you can show me how to fix this? Thanks. ^+c::Run, Explorer /n`,/e...

Go to advanced search