Simple script for a simple miner
pgup::
Mouseclickdrag, left, 3709 ,326,1290 ,326
return
works perfectly for swapping inventory on Star citizen - maybe someone gets why this is important if you are a ROC-DS miner in a carrack on Aberdeen
So - it works in-game fine - for an un-linear amount of time then all hell breaks loose with random left clicks in quick succession /in-game and alt-tab back on the desktop
even suspending the scrip -makes no difference /only total uninstall of AutoHotkey resolves random left-clicking - even on restart left-clicking messes with the password,grrrrrrrrr
windows 10
Help kind people
twisted and unhappy newb
Re: twisted and unhappy newb
Coordinates are relative to the active window. I would have a close look at all parameters & remarks in MouseClickDrag.
Exiting the script would end its action, so uninstalling AutoHotkey would not be necessary.
The script generates no random effects.
Suspending the script means that the hotkey can no longer be triggered.
A mouse click can activate a different window. At that point, the next hotkey trigger could use different absolute coordinates.
Password?
Exiting the script would end its action, so uninstalling AutoHotkey would not be necessary.
The script generates no random effects.
Suspending the script means that the hotkey can no longer be triggered.
A mouse click can activate a different window. At that point, the next hotkey trigger could use different absolute coordinates.
Password?
Re: twisted and unhappy newb
Here is a script I use that I have linked to a button on my stream deck.
You could pull from this.
Script code below
•••••••••••••••••••••••••••••••••••••
[Mod edit: [code][/code] tags added.]
You could pull from this.
Script code below
•••••••••••••••••••••••••••••••••••••
Code: Select all
IfWinExist Star Citizen
{
WinActive Star Citizen
SetDefaultMouseSpeed, 0
;Loop, 0
{
;saved automatically in the outputvars though
CoordMode, Mouse, Screen
; Get mouse xy
MouseGetPos, OutputVarX, OutputVarY
; move mouse to xy to xy
MouseDragClick, % OutputVarX, % OutputVarY, 500, 600
; move mouse back to saved mouse xy
MouseMove, % OutputVarX, % OutputVarY
}
}
ExitApp
Who is online
Users browsing this forum: No registered users and 83 guests