Search found 33 matches

by Master_X
05 Aug 2023, 04:49
Forum: Ask for Help (v2)
Topic: Simple question about WinClose Topic is solved
Replies: 3
Views: 300

Re: Simple question about WinClose Topic is solved

Hello, Answer provided for you here: https://www.autohotkey.com/docs/v2/misc/WinTitle.htm#multi I exactly did this without reading WinWait "My File.txt ahk_class Notepad" In my case: WinClose, "Gesponserte Sitzung ahk_class #32770" I also tried: WinClose, "Gesponserte Sitzung ahk_class #32770 ahk_e...
by Master_X
05 Aug 2023, 02:52
Forum: Ask for Help (v1)
Topic: why this not working ?
Replies: 15
Views: 735

Re: why this not working ?

image.png
image.png (32.95 KiB) Viewed 519 times
"keyboard or mouse hook must be installed and key history enabled"

I think thats your problem?

I just tested A_TimeSincePriorHotkey

Put this inside your script otherwise the variable is always -1

Code: Select all

#InstallKeybdHook
#InstallMouseHook
by Master_X
04 Aug 2023, 16:18
Forum: Ask for Help (v1)
Topic: checkbox how to when checked is working when unchecked is not working
Replies: 9
Views: 460

Re: checkbox how to when checked is working when unchecked is not working

Aimassist and Norecoil sound not that good :/ However I think what you need is a label and a variable and a guisubmit Gui, Add , CheckBox, x400 y154 gaimassist vaimassist Gui, Submit saves the current checkbox status checked=1 unchecked=0 but destroys the GUI. Use Gui, Submit, nohide if it should st...
by Master_X
04 Aug 2023, 16:05
Forum: Ask for Help (v1)
Topic: How to send (%Cursor%) Topic is solved
Replies: 8
Views: 448

Re: How to send (%Cursor%) Topic is solved

I think we all know what we meant. Never used $ but seems pretty much the same as the *. Glad we could help
by Master_X
04 Aug 2023, 15:56
Forum: Ask for Help (v1)
Topic: How to send (%Cursor%) Topic is solved
Replies: 8
Views: 448

Re: How to send (%Cursor%) Topic is solved

Omg I am stupid I did not test your script. The sulution is so simple. The problem is you holding shift already as it is your hotkey combo. You could either choose another modifier key (not shift) or use the wildcard. For real I love autohotkey the fix for you is a simple *. *+9:: send, () send, {le...
by Master_X
04 Aug 2023, 15:32
Forum: Ask for Help (v1)
Topic: How to send (%Cursor%) Topic is solved
Replies: 8
Views: 448

Re: How to send (%Cursor%) Topic is solved

For me that works fine. Maybe your programm (where you want to write ()) is to slow. Maybe add sleep 50 between each send command. Maybe less or more. I also found SetBatchLines, -1 on the very top of the script changes the input time dramatically. Also I think you don't want to restart the script e...
by Master_X
04 Aug 2023, 15:25
Forum: Ask for Help (v1)
Topic: Position App when opening first instance. Topic is solved
Replies: 3
Views: 253

Re: Position App when opening first instance. Topic is solved

I don't know if it helps in your case but I made a script which moves Teamspeak and Taskmanager to a fixed position. I don't really see the needed GUI usecase. Wound a key not be easier (press key x = calculator in position x y)? However heres what I wrote: #notrayicon SetTimer PosCheck, 500 global ...
by Master_X
04 Aug 2023, 14:50
Forum: Ask for Help (v1)
Topic: Show GUI on Right screen Topic is solved
Replies: 2
Views: 283

Re: Show GUI on Right screen Topic is solved

Doesn't it work if you add the correct x and y value?

If I use:

Code: Select all

  Gui, Show,x3000 y50 , %guiTitle%
the window opens on the second screen.
by Master_X
04 Aug 2023, 14:47
Forum: Ask for Help (v1)
Topic: Loop within a loop
Replies: 8
Views: 300

Re: Loop within a loop

As far I see I cannot edit. Here's a little for how I meant it. Maybe tell what you are doing exactly I think there are better options. count=0 Loop { Click, 1824 801 ; x y Sleep, 2000 IF (mouse_clicker <> "Off") { Send, {Enter} Sleep, 2000 } IF (mouse_clicker <> "Off") { Click, 1067 960 ; x y Sleep...
by Master_X
04 Aug 2023, 14:29
Forum: Ask for Help (v1)
Topic: checkbox how to when checked is working when unchecked is not working
Replies: 9
Views: 460

Re: checkbox how to when checked is working when unchecked is not working

what do you want to work?

you want it to be enabled/checked by default?

then it's:

Code: Select all

Gui, Add , CheckBox, checked x400 y154 gaimassist,
by Master_X
04 Aug 2023, 14:27
Forum: Ask for Help (v1)
Topic: Loop within a loop
Replies: 8
Views: 300

Re: Loop within a loop

I would use a count variable to which you add +1 for each loop and if you hit the desired loop count you add something like this:

Code: Select all

if count=17
{
IF (mouse_clicker <> "Off")
Click, 1827 573 ; x y
Click, 1827 573 ; x y
Click, 1827 573 ; x y
}
by Master_X
04 Aug 2023, 14:20
Forum: Ask for Help (v1)
Topic: Copied AutoHotkeyU64.exe icon changes
Replies: 4
Views: 381

Re: Copied AutoHotkeyU64.exe icon changes

My guess it's the same odd behavior I expirienced. If you rename the .exe file into a random name the icon shows correct, doesn't it?

Just try to run "ie4uinit -show" I think this fixed it for me last time.
by Master_X
04 Aug 2023, 14:07
Forum: Ask for Help (v2)
Topic: Simple question about WinClose Topic is solved
Replies: 3
Views: 300

Simple question about WinClose Topic is solved

Or any other commands using the same parameters. Hello there, a long time autohotkey user here never had to ask for help because of internet :) Now I have my first question and don't find the answer. I posted in v2 but I think it's related to v1 and 2. I use the command WinClose, ahk_class xxx ahk_e...

Go to advanced search