Search found 18 matches
- 06 Apr 2024, 11:42
- Forum: Allgemeines
- Topic: Die AHK-V2 Doku enthält V1-Scripte
- Replies: 1
- Views: 206
Die AHK-V2 Doku enthält V1-Scripte
Hallo allerseits, Ich kenne mich nur ganz wenig mit AHK aus. Über Syntaxdetails weiß ich praktisch nichts. Seit längerem mal wieder was mit AHK gemacht. Dabei in die V2 Doku reingeschaut Siehe die roten Rahmen image.png Aber die Beispielcodes scheinen V1 zu sein. Sagt zumindest der User der mir in d...
- 06 Apr 2024, 07:26
- Forum: Ask for Help (v2)
- Topic: super basic and simple script that demonstrates the REPEATING use of timers
- Replies: 5
- Views: 933
Re: super basic and simple script that demonstrates the REPEATING use of timers
Hi andymbody thank you very much for pointing me to this. As I am very new to AHK. If you look at these examples which are shown under the link https://www.autohotkey.com/docs/v2/lib/SetTimer.htm have a close look https : / / www . autohotkey . com / docs / v2 /lib/SetTimer.htm screenshot from my sc...
- 06 Apr 2024, 06:44
- Forum: Ask for Help (v2)
- Topic: super basic and simple script that demonstrates the REPEATING use of timers
- Replies: 5
- Views: 933
Re: super basic and simple script that demonstrates the REPEATING use of timers
Hi andymbody, thank your very much for answering. Ok I finally managed to make it work with the #Persistent "command". The documentation of the SetTimer-function does not mention it. Additionally the website explaining the #Persistent says quoting from the website https://www.autohotkey.com/docs/v2/...
- 06 Apr 2024, 06:15
- Forum: Ask for Help (v2)
- Topic: super basic and simple script that demonstrates the REPEATING use of timers
- Replies: 5
- Views: 933
super basic and simple script that demonstrates the REPEATING use of timers
Hello, of course my frist step was to lookup the docs how to use timers https://www.autohotkey.com/docs/v2/lib/SetTimer.htm and of course I have looked into the examples that were presented. Though these examples are very different from what I want to write. So for analying how it works I started wi...
- 03 Nov 2023, 12:52
- Forum: Ask for Help (v2)
- Topic: Two Monitors detecting on which Monitor a new software shows its window If mouse on the other monitor move window
- Replies: 2
- Views: 382
Two Monitors detecting on which Monitor a new software shows its window If mouse on the other monitor move window
Hello Everybody, microsoft did another job with micro-nising usercomfort to open windows on the last monitor. Well I prefer open the window of a software on that monitor I have the mouse on. So I'm asking how can I detect on which monitor the mouse is if I start a new appication. The script shall ch...
- 20 Jul 2021, 17:12
- Forum: Ask for Help (v1)
- Topic: Minimized window is not restored.
- Replies: 5
- Views: 532
Minimized window is not restored.
Hi everybody, I'm using this script to start or show the device-manager (Geräte-Manager) ^!g:: SetTitleMatchMode 2 #WinActivateForce IfWinExist Geräte-Manager { MsgBox Ctrl-Alt-G WinActivate WinMaximize WinSet, Top } else Run mmc.exe C:\Windows\System32\devmgmt.msc return I inserted the MsgBox to ch...
- 03 Mar 2021, 10:06
- Forum: Ask for Help (v1)
- Topic: Window-Spy unable to detect edit-Textfield or Buttons
- Replies: 1
- Views: 164
Window-Spy unable to detect edit-Textfield or Buttons
Hi Everybody, Im using quite a lot of different applications. But in some of them the window-spy is unable to detect text-edit-fields or buttons. Does this depend on the compile-process how the *.exe-file was created? For me most important is the software Xournal++. Window-Spy is unable to detect th...
- 14 Feb 2021, 02:45
- Forum: Notepad++
- Topic: np++ dark theme from working links & manual how to install it
- Replies: 0
- Views: 3355
np++ dark theme from working links & manual how to install it
Hi everybody, I did a google search about a syntax-highighting definition for notepad++ with a dark -theme for autohotkey. Of course google did find some hits. So I looked them through and tried some of them. Though the posts are pretty old so that even the links are broken or the syntax-high-lighti...
- 09 Feb 2021, 06:29
- Forum: Ask for Help (v1)
- Topic: hoovering shortcut-bar to send keystrokes
- Replies: 1
- Views: 221
hoovering shortcut-bar to send keystrokes
I'm using the software xournal++ on a tablet for lessons where I explain mathematics by handwriting. you can add plugins as lua-code o xournal++. As long as the plugin does things like keypresses this works pretty good. Now my idea is to have a hoovering shortcut-button-bar with user-configurable fu...
- 27 Jan 2021, 15:30
- Forum: Ask for Help (v1)
- Topic: application-selective detecting of a fast double keypress
- Replies: 2
- Views: 151
Re: application-selective detecting of a fast double keypress
Hi Spawnova, thank you for explaining the $-sign in front of hotkeys. keypresses are eventdriven. My understanding of this is: If only one keypress happends my code does not run through a second time. So How can I detect that there was only one keypress within the first run of the code? Or as anothe...
- 27 Jan 2021, 14:16
- Forum: Ask for Help (v1)
- Topic: application-selective detecting of a fast double keypress
- Replies: 2
- Views: 151
application-selective detecting of a fast double keypress
Hi everybody, I searched for scripts that do detect a double-keypress. I found a suggestions but my case is a bit different I don't want this function to be active globally just beeing active for one application It is the aplication myViewBoard I found this script lastShift := 0 $Shift:: if ((A_Tick...
- 15 Sep 2020, 01:25
- Forum: Ask for Help (v1)
- Topic: accelerate processing
- Replies: 1
- Views: 169
accelerate processing
Hi Everybody, I have written a script that automates filling some inputfields of a website after some experimenting I got it to work but with a lot of sleep-commands inbetween If I run the script without the sleep-commands a variable that gets the content of the clipboard assigned contains nothing. ...
- 27 Jul 2020, 12:41
- Forum: Ask for Help (v1)
- Topic: transform two key-strokes into one-key-stroke
- Replies: 8
- Views: 2903
Re: transform two key-strokes into one-key-stroke
Hi Rohwedder, thank you so much. I owe you a beer. if you pm me a paypal-mail i'll send it to you. I see AHK has a lot of options. The examples in the help are rather poor. That was the reason for asking here in the forum. Do you happen to know a well commented collection of how to use commands? I a...
- 27 Jul 2020, 10:17
- Forum: Ask for Help (v1)
- Topic: transform two key-strokes into one-key-stroke
- Replies: 8
- Views: 2903
Re: transform two key-strokes into one-key-stroke
hm, seems to turn into a difficult journey to success: The script compile and runs but as soon as I press the key "s" I get an errormessage non-existant hotkey-variant Specifically $s So does this mean that the newest version of AHK does no longer understand what $s means? Are there altenative ways ...
- 27 Jul 2020, 09:50
- Forum: Ask for Help (v1)
- Topic: transform two key-strokes into one-key-stroke
- Replies: 8
- Views: 2903
Re: transform two key-strokes into one-key-stroke
Hi Rohwedder,
thank you very much. Now the script compiles and runs.
best regards Stefan
thank you very much. Now the script compiles and runs.
best regards Stefan
- 27 Jul 2020, 08:41
- Forum: Ask for Help (v1)
- Topic: transform two key-strokes into one-key-stroke
- Replies: 8
- Views: 2903
Re: transform two key-strokes into one-key-stroke
Hi Rohwedder, thank you very much for answering. I tried your script but I get an error-message Error at line 3 Line Tes: Switch errorlevel Error: This line does not contain a recognized action. Program will exit. Im using AHK Version Version 1.1.30.03 ist this a bug of this version? First I added t...
- 26 Jul 2020, 23:20
- Forum: Ask for Help (v1)
- Topic: transform two key-strokes into one-key-stroke
- Replies: 8
- Views: 2903
transform two key-strokes into one-key-stroke
Hello everybody, in a CAD-software I'm using snap-functions need a single-stroke-hotkey like a single letter "S", "D" etc. from another CAD-Softare I'm used to have two-key-stroke-commands likne "sg", "st" etc. No I would like to write a script that transforms a two-key-input into a one-key-press to...
- 12 Oct 2019, 05:01
- Forum: Ask for Help (v1)
- Topic: how to detect a java-app message-window
- Replies: 1
- Views: 296
how to detect a java-app message-window
Hello, I'm a hobbyist coder with delphi. So I'm familiar with the basic concepts about writing code. But I have only a little knowledge (yet) about the AHK-scripting language. I'm using the Texteditor jEDIT instead of the built-in Arduino-IDE for coding in c++ for arduinos. jEDIT can detect if the f...