Search found 1751 matches

by Xtra
02 Jul 2020, 16:08
Forum: Gaming
Topic: Arade Project (winmaximize trouble)
Replies: 3
Views: 1094

Re: Arade Project (winmaximize trouble)

Try using in this order:

Code: Select all

WinWait, EmulationStation
WinRestore, EmulationStation
WinMaximize, EmulationStation
by Xtra
02 Jul 2020, 11:33
Forum: Gaming
Topic: Arade Project (winmaximize trouble)
Replies: 3
Views: 1094

Re: Arade Project (winmaximize trouble)

Use: WinRestore and then WinMaximize
by Xtra
30 Jun 2020, 19:37
Forum: Bug Reports
Topic: #Warn giving incorrect warnings in AutoHotkey 1.1.33.00
Replies: 12
Views: 4852

Re: #Warn giving incorrect warnings in AutoHotkey 1.1.33.00

To add to Swags post. OP you should read the patch notes. Unreachable [v1.1.33+]: Before the script starts to run, show a warning for each line that immediately follows a Return, Break, Continue, Throw, Goto or Exit at the same nesting level, unless that line is the target of a label. Although this ...
by Xtra
30 Jun 2020, 11:52
Forum: Bug Reports
Topic: Unable to install AutoHotkey_1.1.33.00_setup.exe
Replies: 4
Views: 605

Re: Unable to install AutoHotkey_1.1.33.00_setup.exe

I just downloaded the installer and it upgraded as expected.
by Xtra
23 Jun 2020, 13:11
Forum: Gaming
Topic: ControlClick in minecraft Topic is solved
Replies: 6
Views: 1642

Re: ControlClick in minecraft Topic is solved

Fair enough try this:

Code: Select all

ControlClick,, ahk_exe javaw.exe,,,,D
ControlClick,, ahk_exe javaw.exe,,,,U
HTH
by Xtra
23 Jun 2020, 12:04
Forum: Ask For Help
Topic: paste as a variable
Replies: 2
Views: 638

Re: paste as a variable

Code: Select all

Clipboard := ""
Send, ^c
ClipWait, 1
numberofloops := Clipboard
by Xtra
22 Jun 2020, 21:55
Forum: Gaming
Topic: Pixel search that waits for a pixel before moving on
Replies: 5
Views: 2279

Re: Pixel search that waits for a pixel before moving on

^5:: FuncName := "MyFirstFunctionName" Loop { FuncName := %FuncName%() Sleep 10 } return MyFirstFunctionName() { PixelSearch,,, X1, Y1, X2, Y2, 0xFFFFFF,, Fast RGB if (ErrorLevel = 0) { ; << Do stuff here??? MyOtherRunction(A_ThisFunc) return "MySecondFunctionName" } return A_ThisFunc } MySecondFun...
by Xtra
22 Jun 2020, 20:28
Forum: Scripts and Functions
Topic: Reduce Flicker dramatically (Double Buffer)
Replies: 17
Views: 6007

Re: Reduce Flicker dramatically (Double Buffer)

+Thanks for sharing.
by Xtra
22 Jun 2020, 13:01
Forum: Ask For Help
Topic: (shift + key) script
Replies: 2
Views: 643

Re: (shift + key) script

Code: Select all

$+e::
	While GetKeyState("E","P")
	{
		Send, E
		Sleep, 10 ; every 10 miliseconds
	}
Return
HTH
by Xtra
22 Jun 2020, 12:01
Forum: Ask For Help
Topic: Keypress Script while manually holding down modifiers Topic is solved
Replies: 5
Views: 1412

Re: Keypress Script while manually holding down modifiers Topic is solved

See: blind-mode Send

Code: Select all

*WheelDown::
Loop 1
{
    Send {Blind}{Lbutton}
    Sleep 125
}
return
by Xtra
22 Jun 2020, 11:25
Forum: Gaming
Topic: Pixel search that waits for a pixel before moving on
Replies: 5
Views: 2279

Re: Pixel search that waits for a pixel before moving on

^5:: n := 1 Loop { n := %n%() Sleep 10 } return 1() { PixelSearch,,, X1, Y1, X2, Y2, 0xFFFFFF,, Fast RGB if (ErrorLevel = 0) return 2 } 2() { PixelSearch,,, X1, Y1, X2, Y2, 0xFFFFFF,, Fast RGB if (ErrorLevel = 0) return 3 } 3() { PixelSearch,,, X1, Y1, X2, Y2, 0xFFFFFF,, Fast RGB if (ErrorLevel = 0...
by Xtra
19 Jun 2020, 21:51
Forum: Ask For Help
Topic: Run file from selected directory if file exists(Can get it to run the file)
Replies: 4
Views: 1774

Re: Run file from selected directory if file exists(Can get it to run the file)

Code: Select all

IfNotExist, %sFolder%\start.ahk
; or
IfNotExist, % sFolder . "\start.ahk"
; or
if !FileExist(sFolder . "\start.ahk")
See: expressions
by Xtra
19 Jun 2020, 19:09
Forum: Ask For Help
Topic: Run file from selected directory if file exists(Can get it to run the file)
Replies: 4
Views: 1774

Re: Run file from selected directory if file exists(Can get it to run the file)

IF the Path has spaces in it you will want to use quotes around the Path: see: Run
if the path or name of the executable contains spaces, the entire string should be enclosed in an outer pair of quotes

Code: Select all

server := """" . sFolder . "\start.ahk" . """"
Run %server%
HTH
by Xtra
19 Jun 2020, 19:02
Forum: Ask For Help
Topic: Press Shift to toggle ScrollLock Topic is solved
Replies: 2
Views: 1062

Re: Press Shift to toggle ScrollLock Topic is solved

Code: Select all

RShift::SetScrollLockState, % (toggle:=!toggle) ? "On" : "Off"
HTH
by Xtra
19 Jun 2020, 18:56
Forum: Ask For Help
Topic: Reordering Picture Controls.
Replies: 4
Views: 1956

Re: Reordering Picture Controls.

You have a typo: ahk=id should be:ahk_id
by Xtra
19 Jun 2020, 12:16
Forum: Ask For Help
Topic: Is it possible to read the GroupAdd variable?
Replies: 2
Views: 617

Re: Is it possible to read the GroupAdd variable?

types := "ahk_class|ahk_exe|ahk_id|ahk_pid" Groups := "ahk_class CabinetWClass|ahk_class WorkerW" Loop, Parse, Groups, | GroupAdd, sampleVariable, % A_LoopField Loop, Parse, types, | Groups := StrReplace(StrReplace(Groups,A_LoopField . " "), "|", "`n") MsgBox % Groups There are other ways to achiev...
by Xtra
12 Jun 2020, 12:17
Forum: Ask For Help
Topic: Why can't I open the ahk-specific scite editor?
Replies: 5
Views: 1409

Re: Why can't I open the ahk-specific scite editor?

Try using: C:\Program Files\AutoHotkey\SciTE\SciTE.exe

Go to advanced search