Search found 72 matches

by SonGokuBg
14 Apr 2020, 13:22
Forum: Gaming
Topic: Key Topic is solved
Replies: 1
Views: 273

Re: Key Topic is solved

this work #NoEnv #SingleInstance, force SendMode, Input #UseHook CoordMode, Mouse, Screen ;GUI............................................... GUI, 1:+AlwaysOnTop +ToolWindow +E0x20 GUI, 1:Color, 0xFF0000 GUI, 1:Show, x800 y0 w5 h1000,Gui 1 GUI, 2:+AlwaysOnTop +ToolWindow +E0x20 GUI, Color, 0xFF0000 ...
by SonGokuBg
14 Apr 2020, 09:25
Forum: Gaming
Topic: Key Topic is solved
Replies: 1
Views: 273

Key Topic is solved

when I am in random adventure (like Super mario) game, Send{w} (jumping) doesn't work #NoEnv #SingleInstance, force SendMode, Input #UseHook CoordMode, Mouse, Screen ;GUI............................................... GUI, 1:+AlwaysOnTop +ToolWindow +E0x20 GUI, 1:Color, 0xFF0000 GUI, 1:Show, x800 y0...
by SonGokuBg
09 Apr 2020, 05:46
Forum: Ask For Help
Topic: Start
Replies: 13
Views: 650

Re: Start

help
by SonGokuBg
07 Apr 2020, 17:37
Forum: Ask For Help
Topic: Start
Replies: 13
Views: 650

Re: Start

vsub wrote:
07 Apr 2020, 12:16
Well this is doing that
At start it is sending lbutton and w
When you double click,it sends just lbutton
When you double click again,it start sending w and lbutton again
doesn't work
by SonGokuBg
07 Apr 2020, 12:14
Forum: Ask For Help
Topic: Start
Replies: 13
Views: 650

Re: Start

Umm,I am not sure I understand that code Do you want lbutton to send w when you are doing a single click,disable sending w when you double click once and send w on left click again after you double click. Mode = On ~LButton:: Keywait,LButton If ((A_TimeSincePriorHotkey <= 300) & (A_PriorKey = "LBut...
by SonGokuBg
07 Apr 2020, 11:58
Forum: Ask For Help
Topic: Start
Replies: 13
Views: 650

Re: Start

Do you want that "w" hotkey to be active globally when it is not disabled or only for specific windows ~LButton:: Keywait,LButton If ((A_TimeSincePriorHotkey <= 300) & (A_PriorKey = "LButton")) { If WKey = WKey = 1 Else WKey = } Return #If (WKey = "") W:: MsgBox,,,,1 Return At start pressing w will...
by SonGokuBg
07 Apr 2020, 11:14
Forum: Ask For Help
Topic: Start
Replies: 13
Views: 650

Re: Start

That's can't happens because mouse clicks are ignored when the script is suspended. You have few options 1.Run another script that disables\enables that other one 2.Edit your script in a way that don't suspend the script but changes some variable that acts as enabler for the rest of your code 3.Use...
by SonGokuBg
07 Apr 2020, 08:48
Forum: Ask For Help
Topic: Start
Replies: 13
Views: 650

Re: Start

Maybe I am doing it the wrong way but from what I tried,this will work only if you use keyboard keys. Once the script is suspended,mouse buttons will do nothing(probably intended) With keyboard keys,this is allowed What exactly are you trying to do(maybe there is a better way than suspending the ho...
by SonGokuBg
07 Apr 2020, 07:04
Forum: Ask For Help
Topic: Start
Replies: 13
Views: 650

Re: Start

It doesn't work :( LButton:: if (A_TickCount - LButton_Tick <= 330) AND (LButton_Tick >= 1) { Suspend, toggle } else { Send {LButton down} if (GetKeyState("LButton" , "P")) Send {w down} } SetTimer, ClickBackUp, -1 LButton_Tick := A_TickCount ClickBackUp: if !(GetKeyState("LButton" , "P")) { Send {w...
by SonGokuBg
06 Apr 2020, 17:24
Forum: Ask For Help
Topic: Start
Replies: 13
Views: 650

Start

Hello, When I double click it suspend the script.. how to make it when I double click again to un-suspend/start the script? #NoEnv LButton:: if (A_TickCount - LButton_Tick <= 330) AND (LButton_Tick >= 1) { Suspend } else { Send {LButton down} if (GetKeyState("LButton" , "P")) Send {w down} } SetTime...
by SonGokuBg
20 Mar 2020, 08:51
Forum: Ask For Help
Topic: double click = hold
Replies: 2
Views: 269

Re: double click = hold

Rohwedder wrote:
20 Mar 2020, 00:53
Hallo,
replace:

Code: Select all

 if(GetKeyState("{RButton","P"))
by:

Code: Select all

if(GetKeyState("RButton"))
1. RButton is not called {RButton.
2. Autohotkey does not change the physical status of RButton.
Thank you! But why without "P"? With LButton it works
by SonGokuBg
19 Mar 2020, 18:28
Forum: Ask For Help
Topic: double click = hold
Replies: 2
Views: 269

double click = hold

The purpose of the script is when I double click the LButton to set the RButton down, or if it's already down to release the RButton.. But the second thing doesn't work.... please help #NoEnv LButton:: if (A_TickCount - LButton_Tick <= 330) AND (LButton_Tick >= 1) { if(GetKeyState("{RButton","P")) S...
by SonGokuBg
06 Jul 2019, 13:02
Forum: Ask For Help
Topic: image
Replies: 19
Views: 2126

Re: image

help :cry: :cry:
by SonGokuBg
05 Jul 2019, 09:12
Forum: Ask For Help
Topic: image
Replies: 19
Views: 2126

Re: image

https://imgur.com/a/TW9Uiau That is the image I am trying
by SonGokuBg
04 Jul 2019, 09:12
Forum: Ask For Help
Topic: image
Replies: 19
Views: 2126

Re: image

I rarely use Imagesearch , but I know that a lossless format like bmp or png is usually better than lossy jpg. Also try to play around with the options, like: *n (variation): Specify for n a number between 0 and 255 (inclusive) to indicate the allowed number of shades of variation in either directi...
by SonGokuBg
03 Jul 2019, 17:23
Forum: Ask For Help
Topic: image
Replies: 19
Views: 2126

Re: image

It work when the image is only black screen
by SonGokuBg
03 Jul 2019, 12:56
Forum: Ask For Help
Topic: image
Replies: 19
Views: 2126

Re: image

p.s the image is black and white
by SonGokuBg
03 Jul 2019, 12:44
Forum: Ask For Help
Topic: image
Replies: 19
Views: 2126

Re: image

I rarely use Imagesearch , but I know that a lossless format like bmp or png is usually better than lossy jpg. Also try to play around with the options, like: *n (variation): Specify for n a number between 0 and 255 (inclusive) to indicate the allowed number of shades of variation in either directi...
by SonGokuBg
03 Jul 2019, 11:03
Forum: Ask For Help
Topic: image
Replies: 19
Views: 2126

Re: image

gregster wrote:
03 Jul 2019, 10:27
Which error? Is the path really correct?
/ is definitely wrong....
Ah, sorry made mistake while trying to fix the script. Now it doesn't give error but still do only 'if (ErrorLevel = 1)
MouseClick, Left, 1819, 837,''
by SonGokuBg
03 Jul 2019, 10:25
Forum: Ask For Help
Topic: image
Replies: 19
Views: 2126

Re: image

gregster wrote:
03 Jul 2019, 09:47
C:\Users\gogit\Desktop/AHKK.JPG
Wrong slash?! --> use \
If I use '\' instead of '/' ig give error

Go to advanced search