Search found 17003 matches

by boiler
Today, 03:10
Forum: Ask for Help (v1)
Topic: Profiles Within Applications
Replies: 1
Views: 113

Re: Profiles Within Applications

I don’t understand how these two lines would make sense: ProfileName := "Second" ToolTip, % ProfileName[Profile] The first line assigns a string to ProfileName, and the second line treats ProfileName as if it were an array object. It would make sense if you assigned a string to Profile, and somewher...
by boiler
Today, 03:06
Forum: Ask for Help (v2)
Topic: A problem of using calling V1's libs in V2
Replies: 4
Views: 134

Re: A problem of using calling V1's libs in V2

What is the reason for removing this.?
by boiler
Today, 02:55
Forum: Ask for Help (v1)
Topic: Dock.ahk No Longer Working?
Replies: 1
Views: 106

Re: Dock.ahk No Longer Working?

I have never used it, but it seems you are using the syntax for calling the function that is based on an older, different version than the one you show in your post, which clearly has a different syntax in its examples. It says your call should be structured like this: Dock(WinExist(), "x(0,0,0) y(0...
by boiler
Today, 02:20
Forum: Ask for Help (v2)
Topic: A problem of using calling V1's libs in V2
Replies: 4
Views: 134

Re: A problem of using calling V1's libs in V2

To address that error, replace (type_of == "Array" ? "n") with (type_of == "Array" ? "n" : "") on line 60.
by boiler
Yesterday, 06:29
Forum: Ask for Help (v1)
Topic: Pixelsearch to MIN
Replies: 3
Views: 282

Re: Pixelsearch to MIN

You can’t use Min if not all the colors were found. If any of the parameters are non-numeric (blank, in this case), it returns an empty string, per the documentation. You need to only include the numeric values, which can done by adding them to an array if they are not blank, like this: Colx := [] C...
by boiler
Yesterday, 04:02
Forum: Ask for Help (v1)
Topic: GetKeyState("CapsLock", "P") stopped working
Replies: 1
Views: 170

Re: GetKeyState("CapsLock", "P") stopped working

@krl — We keep having to disapprove duplicate posts of yours. Posts by new members (in terms of number of posts) must be approved before they appear. Please be patient and don’t post the same content again. Thank you.
by boiler
Yesterday, 03:18
Forum: AutoHotkey_H
Topic: thqby's AutoHotkey_H v2.0 & v2.1
Replies: 18
Views: 1863

Re: thqby's AutoHotkey_H v2.0 & v2.1

changxiaotiao wrote: Sorry, I don't know how to reply to your private message.
While still in the “new member” status, you will not be able to send private messages.
by boiler
14 May 2024, 20:51
Forum: Ask for Help (v1)
Topic: The window doesnt fit in the screen
Replies: 1
Views: 201

Re: The window doesnt fit in the screen

@DRS -- Please put [code][/code] tags around your code when posting a script on the forum. And please ask questions in "Ask for Help" (where this thread was moved to), not in "Scripts and Functions" which is for sharing working scripts, not for getting help with scripts.
by boiler
14 May 2024, 15:26
Forum: Ask for Help (v2)
Topic: Hotkeys to switch betwen labels v2 Topic is solved
Replies: 7
Views: 351

Re: Hotkeys to switch betwen labels v2 Topic is solved

Becuase i am runing a long script and what i need is that, based in some events, go directly to a label in particular. As Seven0528 mentioned, you can do this without labels, and you should. You could what you described by having the code in a series of functions, and you just call the function tha...
by boiler
14 May 2024, 12:37
Forum: Ask for Help (v2)
Topic: Send menu item to other function?
Replies: 5
Views: 199

Re: Send menu item to other function?

#SingleInstance #Requires AutoHotkey v2+ PrinterToolMenu() PrinterToolMenu(*) { Switches := " ( /e display printing preferences /ge enum per machine printer connections /k print test page to specified printer /o display printer queue view /p display printer properties /s display server properties /...
by boiler
14 May 2024, 12:18
Forum: Ask for Help (v2)
Topic: Script wanted
Replies: 7
Views: 321

Re: Script wanted

yes i mean others cant close it . hide it from sys tray. and can i set a shortcut key to start or stop this script? thank you for your response I agree that this isn't a subject we will be discussing here. This is what could be used to create malware (no matter what your intentions are for it) -- h...
by boiler
14 May 2024, 08:48
Forum: Ask for Help (v2)
Topic: Need help with script to send keys :(
Replies: 5
Views: 252

Re: Need help with script to send keys :(

Some applications just don't respond to virtual keypresses. You could try running the script as administrator or otherwise address UAC . I'm not a gamer, but since you brought it up... I don't see the distinction between playing against the computer and other humans. If you artificially are able gai...
by boiler
14 May 2024, 08:41
Forum: Ask for Help (v2)
Topic: Script wanted
Replies: 7
Views: 321

Re: Script wanted

Can i hide or prevent this scrips from closing or can i protect is closing with password I don't know what this means. You mean so others can't close it? For what purpose? its exe is not working You probably tried to compile it with the wrong AHK binary -- v1 instead of v2. AHK file works only when...
by boiler
14 May 2024, 07:24
Forum: Ask for Help (v2)
Topic: Cant figure out how to make coordmode work at all Topic is solved
Replies: 3
Views: 169

Re: Cant figure out how to make coordmode work at all Topic is solved

In v2, expressions are used throughout. In expressions, literal strings must be quoted. If you don't use quotes, it thinks you are trying to use variables named Mouse and Screen.
by boiler
14 May 2024, 07:21
Forum: Ask for Help (v2)
Topic: Script wanted
Replies: 7
Views: 321

Re: Script wanted

Code: Select all

#Requires AutoHotkey v2.0

loop {
	WinWait 'Find Sales Receipts'
	WinClose
}
by boiler
14 May 2024, 07:12
Forum: Ask for Help (v2)
Topic: Cant figure out how to make coordmode work at all Topic is solved
Replies: 3
Views: 169

Re: Cant figure out how to make coordmode work at all Topic is solved

Code: Select all

#Requires AutoHotkey v2.0
CoordMode 'Mouse', 'Screen'

; Tabs 1-3
u::Click 90, 1010

i::Click 250, 1010

o::Click 450, 1010
by boiler
14 May 2024, 07:05
Forum: Ask for Help (v2)
Topic: Basic hotkey translation?
Replies: 8
Views: 215

Re: Basic hotkey translation?

Thanks, i guess i was doing something wrong because now it's working! I'm curious why AHK doesn't also have sort of user interface like X-Keys MacroWorks, that would open up the app to a lot more people who lack basic coding skills!? Different target audience. This is a scripting language, and its ...
by boiler
14 May 2024, 06:59
Forum: Ask for Help (v2)
Topic: String Manipulation between ^ and /
Replies: 22
Views: 1064

Re: String Manipulation between ^ and /

Nice references, except I don't know who T Adams is. :eh:
by boiler
14 May 2024, 06:53
Forum: Ask for Help (v2)
Topic: Basic hotkey translation?
Replies: 8
Views: 215

Re: Basic hotkey translation?

Sorry, i meant that it's not working in the following respect: If i close Cubase13.exe, then try to type text in any other app, numpad 1 & 2 are not writing a number, but 3 is. That shouldn't be the case, and I can't reproduce the problem. Make sure you don't have any other scripts still running th...
by boiler
14 May 2024, 06:39
Forum: Ask for Help (v2)
Topic: Need help with script to send keys :(
Replies: 5
Views: 252

Re: Need help with script to send keys :(

Code: Select all

#Requires AutoHotkey v2.0

F1:: {
	Send '{Ctrl down}'
	Sleep 1000
	Send 'wsd{Ctrl up}'
}

Go to advanced search