I'm quite confused.

Ask gaming related questions
almightycricket
Posts: 2
Joined: 07 Mar 2018, 15:19

I'm quite confused.

07 Mar 2018, 15:24

I can get the following script to work within a window with no issue

#NoEnv
F12::
Send, ^2
Sleep, 500
Sendinput, 1
Sleep, 1000
Send, ^1
return

BUT

if I use the next script

#NoEnv
F2::
Send, ^1 Send, 0 Sleep, 1510 Send, 6
Sleep, 1510
Send, 5
return

Nothing happens. I ran them both as admin, my game is windowed...not quite sure what's happening, any help at all would be appreciated.
almightycricket
Posts: 2
Joined: 07 Mar 2018, 15:19

Re: I'm quite confused.

07 Mar 2018, 16:46

; This script was created using Pulover's Macro Creator
; www.macrocreator.com

#NoEnv
SetWorkingDir %A_ScriptDir%
CoordMode, Mouse, Window
SendMode Input
#SingleInstance Force
SetTitleMatchMode 2
#WinActivateForce
SetControlDelay 1
SetWinDelay 0
SetKeyDelay -1
SetMouseDelay -1
SetBatchLines -1


F2::
Macro1:
Send, {Control Down}{1 Down}{Control Up}{1 Up}{0}
Sleep, 2969
Send, {6}
Sleep, 937
Send, {0}
Sleep, 1516
Send, {5}
Sleep, 1875
Return
^P::ExitApp


and still isn't working....
BoBo
Posts: 2515
Joined: 13 May 2014, 17:15

Re: I'm quite confused.

07 Mar 2018, 22:43

Not tested.

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 7 guests