Search found 213 matches

by Rindis
07 Jan 2019, 08:42
Forum: Ask For Help
Topic: Reload timer
Replies: 2
Views: 318

Re: Reload timer

To reload a script

Code: Select all

#Persistent

MsgBox Started

SetTimer, offAndOnAgain, 1000

return

offAndOnAgain:

Reload
return


by Rindis
02 Nov 2018, 02:30
Forum: Ask For Help
Topic: when i pressed a key let other key work
Replies: 3
Views: 501

Re: when i pressed a key let other key work

show us your code
by Rindis
02 Nov 2018, 02:20
Forum: Ask For Help
Topic: hide/destroy text in gui?
Replies: 1
Views: 318

Re: hide/destroy text in gui?

x = 1
y = 1
var1 = 0
var2 = -1

gui, show , w1000 h1000
+,::
loop 800 {
var1 += 1
var2 += 1
x += 10
y += 10
sleep, 100
guicontrol, hide, mytext%var2%
sleep, 100
gui, add, text, x%x% y%y% vmytext%var1% , sample text
if ( x > 200 ) {
x = 1
}
if ( y > 200 ) {
y = 1
}
}
by Rindis
30 Sep 2018, 04:14
Forum: Ask For Help
Topic: creating first script - help
Replies: 4
Views: 502

Re: creating first script - help

Hotkey with 3 keys are "difficult" to make, if you can use ony 2 keys it is muh easier. otherwise see here for an example:
https://autohotkey.com/boards/viewtopic.php?f=5&t=56433
https://autohotkey.com/board/topic/6140 ... hree-keys/
by Rindis
30 Sep 2018, 04:09
Forum: Ask For Help
Topic: while loop after return of shortcuts definition never reached? Topic is solved
Replies: 3
Views: 387

Re: while loop after return of shortcuts definition never reached? Topic is solved

Not sure what you want but You'll never reach the while loop, as the script stopr (or returns) at return. ifWinNotActive, ahk_class Chrome_WidgetWin_1 ::^tab:: send,^n return ;this is as far as you get While(1) ; you need to point to this in your script, could be be a Timer, or included in your hotk...
by Rindis
29 Sep 2018, 10:33
Forum: Ask For Help
Topic: Show/Hide StickyNotes with ahk, my script not work as expect
Replies: 3
Views: 532

Re: Show/Hide StickyNotes with ahk, my script not work as expect

It work beautifully on my computer (win 7). Are you sure you don't have anything else that interfere with your program?
by Rindis
27 Sep 2018, 13:26
Forum: Ask For Help
Topic: Creating script for missing keyboard keys Topic is solved
Replies: 5
Views: 572

Re: Creating script for missing keyboard keys Topic is solved

;~see https://autohotkey.com/board/topic/61408-hotkeys-composed-of-three-keys/ + & F12:: SendInput, ^v return #If Getkeystate("Alt","p") ;if alt is held the following hotkey is active. + & .::SendInput, > return #If Getkeystate("Alt","p") ;if alt is held the following hotkey is active. + & ,::SendI...
by Rindis
27 Sep 2018, 13:08
Forum: Ask For Help
Topic: Script for game
Replies: 3
Views: 363

Re: Script for game

In my opinion all good script should contain a least 1 banana ; https://autohotkey.com/boards/viewtopic.php?t=11952 setKeyDelay, 50, 50 setMouseDelay, 50 banana:=0 F3:: banana:=!banana return $*w:: if (banana=1) { SendInput, k ;engine on while (getKeyState("w", "P")) { SendInput, w sleep, 10 } SendI...
by Rindis
27 Sep 2018, 10:02
Forum: Ask For Help
Topic: Hyperlink help
Replies: 6
Views: 627

Re: Hyperlink help

pressing the "L" key $L:: Sendinput, Hello Handsome {Space} sleep, 10 Sendinput, {Ctrl down} {F9} {Ctrl up} ;turn on Field codes in Word, outlook etc. sleep, 10 SendInput, HYPERLINK "http://www.bbc.com/" sleep, 10 SendInput, {F9} ; update Fild code sleep, 10 SendInput, ^{end} sleep,10 SendInput, {A_...
by Rindis
26 Sep 2018, 04:53
Forum: Ask For Help
Topic: Hyperlink help
Replies: 6
Views: 627

Re: Hyperlink help

In what program do you want this hotstring to work?
by Rindis
18 Sep 2018, 08:08
Forum: Ask For Help
Topic: Adding a delay after clicking and before dragging?
Replies: 5
Views: 548

Re: Adding a delay after clicking and before dragging?

try this

Code: Select all

LButton::
SetTimer, ketkey, 50
Sleep, 1000
;~ KeyIsDown := GetKeyState("LButton", "P")

;~ Msgbox KeyIsDown = %KeyIsDown%
if (KeyIsDown = 0)
	Click 
while (KeyIsDown = 1)
{
	Click, down
}
	click, up
return

ketkey:
KeyIsDown := GetKeyState("LButton", "P")
return

esc::
ExitApp

by Rindis
18 Sep 2018, 02:38
Forum: Ask For Help
Topic: Adding a delay after clicking and before dragging?
Replies: 5
Views: 548

Re: Adding a delay after clicking and before dragging?

Does this help?

Code: Select all


LButton::
SetTimer, ketkey, 50
Sleep, 1000

if (KeyIsDown = 0)
	Click 
else while (KeyIsDown = 1)
{
	Click, down
}
else
{
	click, up
}
return

ketkey:
KeyIsDown := GetKeyState("LButton", "P")
return

esc::
ExitApp
by Rindis
17 Sep 2018, 13:02
Forum: Ask For Help
Topic: Need Help with GuiControl
Replies: 1
Views: 256

Re: Need Help with GuiControl

Code: Select all


Gui, Add, Button, x32 y10 w100 h30 vTurnthisOff, Button

Gui, Add, CheckBox, x42 y120 w100 h30 gdis , disables

; Generated using SmartGUI Creator for SciTE
Gui, Show, w479 h379, Untitled GUI
return


dis:
GuiControl, Disable, TurnthisOff, 
return

GuiClose:
ExitApp
by Rindis
17 Sep 2018, 12:55
Forum: Ask For Help
Topic: Posting multiple links in a script Topic is solved
Replies: 1
Views: 257

Re: Posting multiple links in a script Topic is solved

This will do exactly what you ask, but I have a feeling this is not what you are after: Run the script and press F1 f1:: SendInput, https://autohotkey.com/boards/viewforum.php?f=5 Sleep, 10 SendInput, https://autohotkey.com/ Sleep, 10 SendInput, https://CNN.com/ Sleep, 10 SendInput, https://BBC.com/...
by Rindis
17 Sep 2018, 12:41
Forum: Ask For Help
Topic: Adding a delay after clicking and before dragging?
Replies: 5
Views: 548

Re: Adding a delay after clicking and before dragging?

Code: Select all

~LButton::


BlockInput,  MouseMove
sleep, 5000
BlockInput, MouseMoveOff

return


esc::
ExitApp

by Rindis
17 Sep 2018, 12:01
Forum: Ask For Help
Topic: Start loop again with a key press
Replies: 21
Views: 1712

Re: Start loop again with a key press

Sorry then I can't help you
by Rindis
17 Sep 2018, 06:16
Forum: Ask For Help
Topic: Opening a URL page?
Replies: 2
Views: 413

Re: Opening a URL page?

#SingleInstance, force SetTitleMatchMode 2 InputBox, pagenumber, Set page number, Please enter the page number to be created., , 200, 100 F1:: ;~ Run, chrome.exe https://en.wikisource.org/w/index.php?title=Page:The_gilded_man_%28El_Dorado%29_and_other_pictures_of_the_Spanish_occupancy_of_America.dj...
by Rindis
17 Sep 2018, 04:29
Forum: Ask For Help
Topic: Start loop again with a key press
Replies: 21
Views: 1712

Re: Start loop again with a key press

This part hast the 10 sec break:
while (banana=0)
{

sleep 100
if (A_Index = 100)
break
}

100 * 100 = 10 000 ....

how does it not work? what happens if you run it
by Rindis
17 Sep 2018, 00:54
Forum: Ask For Help
Topic: Really basic fishing
Replies: 7
Views: 763

Re: Really basic fishing

Try
CoordMode, mouse, Window

Go to advanced search