Search found 213 matches

by Rindis
07 Jan 2019, 08:42
Forum: Ask for Help (v1)
Topic: Reload timer
Replies: 2
Views: 1813

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 (v1)
Topic: when i pressed a key let other key work
Replies: 3
Views: 1054

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 (v1)
Topic: hide/destroy text in gui?
Replies: 1
Views: 1059

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 (v1)
Topic: creating first script - help Topic is solved
Replies: 4
Views: 1194

Re: creating first script - help Topic is solved

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 (v1)
Topic: while loop after return of shortcuts definition never reached? Topic is solved
Replies: 3
Views: 866

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 (v1)
Topic: Show/Hide StickyNotes with ahk, my script not work as expect
Replies: 3
Views: 1082

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 (v1)
Topic: Creating script for missing keyboard keys Topic is solved
Replies: 5
Views: 1643

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 (v1)
Topic: Script for game Topic is solved
Replies: 3
Views: 851

Re: Script for game Topic is solved

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 (v1)
Topic: Hyperlink help
Replies: 6
Views: 3419

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 (v1)
Topic: Hyperlink help
Replies: 6
Views: 3419

Re: Hyperlink help

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

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 (v1)
Topic: Adding a delay after clicking and before dragging?
Replies: 5
Views: 1813

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 (v1)
Topic: Need Help with GuiControl
Replies: 1
Views: 535

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 (v1)
Topic: Posting multiple links in a script
Replies: 1
Views: 614

Re: Posting multiple links in a script

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 (v1)
Topic: Adding a delay after clicking and before dragging?
Replies: 5
Views: 1813

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 (v1)
Topic: Start loop again with a key press Topic is solved
Replies: 21
Views: 4399

Re: Start loop again with a key press Topic is solved

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

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 (v1)
Topic: Start loop again with a key press Topic is solved
Replies: 21
Views: 4399

Re: Start loop again with a key press Topic is solved

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 (v1)
Topic: Really basic fishing Topic is solved
Replies: 7
Views: 1621

Re: Really basic fishing Topic is solved

Try
CoordMode, mouse, Window

Go to advanced search