Search found 16 matches

by tabr3
08 May 2024, 02:19
Forum: Ask for Help (v1)
Topic: hi , can somebody help me with this , aparently the hotkey is out of a function but the script send me error box
Replies: 1
Views: 449

Re: hi , can somebody help me with this , aparently the hotkey is out of a function but the script send me error box

I don't have the same error. If the MDC (include) script is not needed, remove that line, as it does nothing for this script.
by tabr3
07 May 2024, 01:17
Forum: Ask for Help (v1)
Topic: Unable to use #Ifwinactive and ControlSend for Copy Link to Paragraph in OneNote Desktop Topic is solved
Replies: 2
Views: 412

Re: Unable to use #Ifwinactive and ControlSend for Copy Link to Paragraph in OneNote Desktop Topic is solved

Code: Select all

else if (KeyPressCount > 2) ;copy link to paragraph part
if winexist("ahk_exe ONENOTE.EXE")
{
  WinActivate
    send {AppsKey}p
    ToolTip, Copy Link to Paragraph(OneNote)
    Sleep 400
}		
#if doesn't work within the thread , it only affect the hotkey below it
by tabr3
30 Apr 2024, 12:31
Forum: Gaming Help (v1)
Topic: Looking for help with a script
Replies: 6
Views: 541

Re: Looking for help with a script

Hmm sorry maybe i did not make clear what i want the script to do. Sorry english is not my native language. Id like the script to do the following: After pressing and sending r, for a period of 20 seconds, pressing r will only send x. Notepad should like this: rxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
by tabr3
30 Apr 2024, 02:36
Forum: Ask for Help (v1)
Topic: Sendlevel and modifier key problem... Topic is solved
Replies: 2
Views: 283

Sendlevel and modifier key problem... Topic is solved

Press w will return "sd" , which is correct. Pressing a or shift key alone also output correctly. Same code from w But pressing q will return Shift + s + d , "SD" which is incorrect . Shift should not be there. Also, if you hold down "q" for long enough, q will somehow breaks through and they will a...
by tabr3
05 Apr 2024, 10:34
Forum: Ask for Help (v1)
Topic: UIA beginner Question
Replies: 0
Views: 75

UIA beginner Question

uia:=uia_interface() dvel := uia.elementfromhandle("ahk_exe LosslessScaling.exe") dvel.FindFirstBy("Name=Close").click() dvel.FindFirstBy("AutomationId=CloseButton").click() dvel.findfirstbyAutomationId("CloseButton").click() dvel.FindFirstBynameandtype("Close","Button").click() dvel.ElementFromPat...
by tabr3
04 Apr 2024, 03:35
Forum: Ask for Help (v1)
Topic: #IfWinActive Microsoft Photos full screen Topic is solved
Replies: 10
Views: 223

Re: #IfWinActive Microsoft Photos full screen Topic is solved

Settitlematchmode, 2 ; to #IfWinActive ahk_exe ApplicationFrameHost.exe Photos ; or #if winactive("Photos ahk_exe ApplicationFrameHost.exe") ; or incase #if winactive("Photo ahk_exe ApplicationFrameHost.exe") ; or incase2 #IfWinActive ahk_exe ApplicationFrameHost.exe After rechecking, I believe the...
by tabr3
04 Apr 2024, 02:03
Forum: Ask for Help (v1)
Topic: #IfWinActive Microsoft Photos full screen Topic is solved
Replies: 10
Views: 223

Re: #IfWinActive Microsoft Photos full screen Topic is solved

#IfWinActive ahk_exe ApplicationFrameHost.exe, Photos XButton2:: WinGet, wstate, MinMax, ahk_exe ApplicationFrameHost.exe if (wstate) { Send, {Right Down} KeyWait, XButton2 Send, {Right Up} } Return XButton1:: WinGet, wstate, MinMax, ahk_exe ApplicationFrameHost.exe if (wstate) { Send, {Left Down} ...
by tabr3
03 Apr 2024, 08:28
Forum: Ask for Help (v1)
Topic: Scroll volume when over Gui. Topic is solved
Replies: 2
Views: 90

Re: Scroll volume when over Gui. Topic is solved

groupadd, blocked_soft, ahk_exe game1.exe ; optional ~wheelup:: CoordMode , mouse, screen mousegetpos xxx, yyy if (a_screenwidth - xxx <=50) and (a_screenheight - yyy <=50) ; and winactive!(ahk_group blocked_soft) Send {Volume_Up 2} return ~wheeldown:: CoordMode , mouse, screen mousegetpos xxx, yyy...
by tabr3
02 Apr 2024, 10:18
Forum: Ask for Help (v1)
Topic: How to change text color and allow click-through in small Gui? Topic is solved
Replies: 8
Views: 142

Re: How to change text color and allow click-through in small Gui? Topic is solved

SetTimer, ShowVol, 500 GWide := A_ScreenWidth - 50 GHigh := A_ScreenHeight - 40 Gui +AlwaysOnTop -Caption +Border +ToolWindow +LastFound Gui, Color, 1B1F21 GUI, Margin, 3, 2 Gui, Font, s10 cFFFFFF, Calibri Gui, Add, Text, x5 y5, VOL : Gui, Font, s11 cLIME, Calibri Gui, Add, Text, x5 y18 w45 vVolume...
by tabr3
29 Mar 2024, 09:52
Forum: Gaming Help (v1)
Topic: Hotkey Interference
Replies: 5
Views: 382

Re: Hotkey Interference

Without remake the script. You can simply rename all instances of "keydown" to something like "keydown_e" and "keydown_r" within their respective threads. ~*s:: keydown_e:="" ; or keydown without _e if you still not modify them... if (GetKeyState("lshift", "P")) ; optional, incase you still need to ...
by tabr3
21 Mar 2024, 11:29
Forum: Ask for Help (v1)
Topic: Combine two if statments Topic is solved
Replies: 8
Views: 132

Re: Combine two if statments Topic is solved

mikeyww wrote:
21 Mar 2024, 10:16
It worked here.
My bad, it is working now :thumbup:
by tabr3
21 Mar 2024, 09:09
Forum: Ask for Help (v1)
Topic: Combine two if statments Topic is solved
Replies: 8
Views: 132

Re: Combine two if statments Topic is solved

banlist:="8.1.7.29.30.36.48.28.5.13.24.31.32.36.39" draw:=10 banlist:=StrReplace(banlist, "." , ",") ; in/contains may not deal with . but , loop %draw% { loop { Random , ramdom_num , 1, 49 if ramdom_num in %banlist% continue if ramdom_num in %current_list% continue current_list.=ramdom_num . "," +...
by tabr3
21 Mar 2024, 06:33
Forum: Ask for Help (v1)
Topic: Combine two if statments Topic is solved
Replies: 8
Views: 132

Combine two if statments Topic is solved

; working if ramdom_num in %banlist% continue if ramdom_num in %current_list% continue ;--------------------- ; as one if ramdom_num in %banlist% or ramdom_num in %current_list% continue The combined statement is runnable, but I don't think it checks the second half after "or". Is this because thes...
by tabr3
25 Feb 2024, 04:17
Forum: Ask for Help (v1)
Topic: How to limit a variable in range Topic is solved
Replies: 3
Views: 89

How to limit a variable in range Topic is solved

I want to limit a variable between 10 and 14. When I press a hotkey, pressing "1" will increase its current value by 1, and pressing "2" will decrease it by 1. If the variable is currently at 14 and you add one more to it, it will cycle back to 10. Similarly, if it is currently at 10 and you decreas...

Go to advanced search