Search found 2818 matches

by gregster
Yesterday, 20:05
Forum: Ask For Help
Topic: Two key combination doesnt trigger anything
Replies: 3
Views: 173

Re: Two key combination doesnt trigger anything

So where is the special Fn key in your code above ?
https://www.autohotkey.com/docs/KeyList.htm#SpecialKeys wrote:6. If your key is detectable, make a note of the 3-digit hexadecimal value in the second column of the list (e.g. 159).
You seem to use Alt, h and j - but these are pretty regular keys...
by gregster
Yesterday, 19:48
Forum: Ask For Help
Topic: ePSXe Doesn't Load Plugins When Started With AutoHotkey
Replies: 1
Views: 92

Re: ePSXe Doesn't Load Plugins When Started With AutoHotkey

Specify Run's WorkingDir parameter for the launched item ?
by gregster
Yesterday, 05:56
Forum: Scripts and Functions
Topic: A simple script to center a active window either right, left or center
Replies: 2
Views: 109

Re: A simple script to center a active window either right, left or center

Hi Bruce, the idea of the [code][/code] tags is actually to put the code between them, so that the codebox does the syntax highlighting for you ;) (among other things). Like this : #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to as...
by gregster
Yesterday, 01:34
Forum: Ask For Help
Topic: Can't seem to send Function key in my script.
Replies: 2
Views: 84

Re: Can't seem to send Function key in my script.

Use the $ modifier - otherwise F1 (and F2) will trigger itself.

Code: Select all

$F1::
; [...]
$F2::
; [...]
by gregster
20 Sep 2019, 20:47
Forum: Ask For Help
Topic: Remap F1, F2, F3, F4 in Pulover's Macro Creator
Replies: 1
Views: 118

Re: Remap F1, F2, F3, F4 in Pulover's Macro Creator

Unfortunately, Pulover doesn't seem to support his macro creator anymore and there don't seem to be many people on the forum to be familiar with it. In my experience, most AHK users (like me) on the forum never use(d) Pulover's macro creator - not because it is bad, but because - if you scratch just...
by gregster
20 Sep 2019, 10:33
Forum: Ask For Help
Topic: #IfWinActive with %var% in name
Replies: 9
Views: 253

Re: #IfWinActive with %var% in name

Use #If Winactive(...)
by gregster
20 Sep 2019, 10:30
Forum: Ask For Help
Topic: Edge missing characters or mixing them up
Replies: 8
Views: 267

Re: Edge missing characters or mixing them up

alexdelara wrote:
20 Sep 2019, 09:44
Edge just zips as though ignoring the delay. :headwall:
If you have SendMode Input at the top of your script, SetKeyDelay gets ignored.
Compare https://www.autohotkey.com/docs/commands/SetKeyDelay.htm#Remarks
by gregster
20 Sep 2019, 07:35
Forum: Ich brauche Hilfe
Topic: Ist es normal, dass sich GUI Objekte verschieben?
Replies: 5
Views: 181

Re: Ist es normal, dass sich GUI Objekte verschieben?

Korrekt, aber ich kenne viele Firmen, die alles dafür tun, möglichst selten upzudaten.
by gregster
20 Sep 2019, 07:25
Forum: Ich brauche Hilfe
Topic: Ist es normal, dass sich GUI Objekte verschieben?
Replies: 5
Views: 181

Re: Ist es normal, dass sich GUI Objekte verschieben?

jNizM wrote:
20 Sep 2019, 04:05
Ab Januar 2020 läuft auch der offizielle Support für Win7 aus und wird von M$ nicht mehr mit Updates beliefert.
Die Unterstützung von Firmen-Kunden läuft allerdings noch bis mindestens 2023...
by gregster
20 Sep 2019, 07:10
Forum: Ask For Help
Topic: Hotstring: right curly bracket not appearing/changes cursor position
Replies: 4
Views: 186

Re: Hotstring: right curly bracket not appearing/changes cursor position

{Text} is normally used for the Send command (and should have the same effect like the T option for Hotstrings) - but it seems to also work in auto-replacement (that means, one line) hotstrings, just like T . But you can't have different modes on the same line, afaik. You can do it like this, thoug...
by gregster
19 Sep 2019, 19:21
Forum: Ask For Help
Topic: Hotstring: right curly bracket not appearing/changes cursor position
Replies: 4
Views: 186

Re: Hotstring: right curly bracket not appearing/changes cursor position

Welcome to the forum!

Sounds like a use case for the T(ext) mode option. Please try

Code: Select all

:*?T:\hm::\hat{\mu}
:*?T:\sbx::$\bar{X}$
Needs AHK v1.1.27+ (if not available for whatever reason, try the R option instead).
by gregster
19 Sep 2019, 15:41
Forum: Ask For Help
Topic: ahk is a virus?
Replies: 4
Views: 190

Re: ahk is a virus?

Looking at the screenshot, it seems that the OP used a v2 alpha version... which might not be well-known to all anti-virus companies and thus, not whitelisted.
by gregster
19 Sep 2019, 01:24
Forum: Gaming
Topic: Simple Command wont work
Replies: 4
Views: 219

Re: Simple Command wont work

What is the start command ? The F1 key? Did you try to press it? If F1 doesn't work, but the loop works in general (when you remove F1:: ), then most likely the wintitle in #IfWinActive Dontstarve is wrong. Test it with F1:: but without #IfWinActive Dontstarve . How did you determine Dontstarve ? Tr...
by gregster
18 Sep 2019, 13:00
Forum: Offtopic
Topic: Testing thread for PuzzledGreatly
Replies: 10
Views: 356

Re: Testing thread for PuzzledGreatly

joedf wrote:
18 Sep 2019, 12:50
(reason: bait-n-wait spam).
That's a great variant :D
by gregster
18 Sep 2019, 11:33
Forum: Offtopic
Topic: Testing thread for PuzzledGreatly
Replies: 10
Views: 356

Re: Testing thread for PuzzledGreatly

joedf wrote:
18 Sep 2019, 11:25
Do you recommend any search parameters? I can filter these out with Sql or the ACP. :+1:
I mostly look at what seem to be common words in the spammer's language, for example, https://www.autohotkey.com/boards/search.php?keywords=m%E1%BB%9Bi
(These are often huge posts with walls of text...)
by gregster
18 Sep 2019, 11:00
Forum: Offtopic
Topic: Testing thread for PuzzledGreatly
Replies: 10
Views: 356

Re: Testing thread for PuzzledGreatly

Yeah, that can happen without enough sleep. :D Actually, we still have a whole number of these already "switched" posts (like this here: https://www.autohotkey.com/boards/viewtopic.php?f=76&t=57949&p=244717&hilit=t%C3%B4i#p244717 ) - mainly from 2018. This one, I linked to, was for example created i...
by gregster
18 Sep 2019, 10:16
Forum: Offtopic
Topic: Testing thread for PuzzledGreatly
Replies: 10
Views: 356

Re: Testing thread for PuzzledGreatly

@joedf: I am afraid that this a typical "bait & switch" spam attempt - I have seen them frequently this year (mainly from IPs from this user's origin country - it seems to be a specialty - but not exclusively). A newly registered user copies an old post from our forum, the AHK reddit or some totally...
by gregster
18 Sep 2019, 06:12
Forum: Gaming
Topic: Simple Command wont work
Replies: 4
Views: 219

Re: Simple Command wont work

Put loop on a separate line:

Code: Select all

F1::
loop
{
In a multi-line hotkey, there is no command allowed on the first line that defines the key combo.
by gregster
17 Sep 2019, 22:10
Forum: Ask For Help
Topic: Moving windows across multiple screens
Replies: 2
Views: 211

Re: Moving windows across multiple screens

As you may have missed in the docs, you'll have to put key names between brackets ( { } ) when used with Send : send #{Right} Braces are used to enclose key names and other options , and to send special characters literally. For example, {Tab} is the Tab key and {!} is a literal exclamation mark. Ke...
by gregster
17 Sep 2019, 11:23
Forum: Ask For Help
Topic: force run script as unicode 32 Topic is solved
Replies: 3
Views: 130

Re: force run script as unicode 32 Topic is solved

Either compile your script with the unicode 32 bit base file and run the the exe-file - you can choose it in the options when you run the ahk2exe compiler (included with AHK) - or use this, if you want, for example, to change the ahk-file from time to time without the need to re-compile: if you rena...

Go to advanced search