Search found 4709 matches

by Helgef
22 Jul 2016, 12:28
Forum: Ask for Help (v1)
Topic: An script that autohide the taskbar (win7) when you're in a program like (potplayer)?
Replies: 9
Views: 2233

Re: An script that autohide the taskbar (win7) when you're in a program like (potplayer)?

Btw, too auto hide you can have a timer that has an ifwinactive, if you don't want to use a hotkey.
by Helgef
22 Jul 2016, 10:01
Forum: Scripts and Functions (v1)
Topic: Script to determine how close colors are together
Replies: 10
Views: 3612

Re: Script to determine how close colors are together

I don't think ImageSearch checks the sum of the difference of each shade. If two colors are percieved as similar I think they are close in each color shade. Eg. 150 150 150 is percived as close to 160 160 160 but less to 150 150 180, but the "variance" is the same. https://s32.postimg.org/guydiv6yd/...
by Helgef
22 Jul 2016, 09:14
Forum: Ask for Help (v1)
Topic: I need a script
Replies: 5
Views: 1008

Re: I need a script

stop:=1 ; Make sure this line is in the auto-exec part of your script, i.e., at the top. #s:: ; This hotkey is winkey+s, it will interupt the loop if it is running, and start it from the begining if it is not. stop:=!stop SetTimer,funnyLoop,-1 return funnyLoop: if stop return Send,{a down} Sleep,40...
by Helgef
22 Jul 2016, 08:54
Forum: Ask for Help (v1)
Topic: Open a website - input text in a textbox
Replies: 4
Views: 2533

Re: Open a website - input text in a textbox

You can use

Code: Select all

Click x, y
if the textbox is always in the same place.

Otherwise you can check out

Code: Select all

ControlFocus
or perhaps

Code: Select all

ImageSearch
by Helgef
22 Jul 2016, 08:26
Forum: Ask for Help (v1)
Topic: Limit key press
Replies: 2
Views: 1084

Re: Limit key press

$j:: Send,j Sleep,500 ; Limits to one j typed per 500 ms. return Edit: I think I missunderstood, perhaps this is what you want instead $j:: Send,j KeyWait, j KeyWait, j, D T0.5 ; You have half a second to type the second j if !ErrorLevel Send,j Sleep,2000 ; then you have to wait 2 seconds to type j...
by Helgef
22 Jul 2016, 08:05
Forum: Ask for Help (v1)
Topic: How to suspend a script with double press Alt?
Replies: 1
Views: 587

Re: How to suspend a script with double press Alt?

This works for me, LAlt:: Suspend, Permit ; Remove this line if you don't want to be able to unsuspend the script by double-taping again. KeyWait, LAlt KeyWait, LAlt, D T0.5 ; 0.5 is the time to wait, in seconds. if !ErrorLevel Suspend,Toggle return Cheers! Edit: Actually, your script works, if you ...
by Helgef
21 Jul 2016, 15:20
Forum: Ask for Help (v1)
Topic: I need a script
Replies: 5
Views: 1008

Re: I need a script

Code: Select all

Loop
{
	Send,{a down}
	Sleep,400
	Send,{a up}{d down}
	Sleep,400
	Send,{d up}
}

#q::ExitApp ; Press Windows-key + q to quit script.
by Helgef
21 Jul 2016, 13:03
Forum: Ask for Help (v1)
Topic: beginner script world of warcraft -> condition not met? Topic is solved
Replies: 6
Views: 2065

Re: beginner script world of warcraft -> condition not met? Topic is solved

Does your keys work if you remove the if block? Does it work if you write if true?

If you want a delay, search for sleep in the help file.

It's not clear what you want with your keys so it's not clear what should be optimised.

Go to advanced search