| Author |
Message |
Topic: FILES: COPY from - PASTE to |
purloinedheart
Replies: 19
Views: 701
|
Forum: Ask for Help Posted: Sun Jul 31, 2011 10:03 pm Subject: Re: FileCopier development - File path strings handling - GU |
It's not an error.
Try running my example from before and you'll see why.
funct()
funct(x=false){ ;This is the same as x := false
Msgbox %x% ;boolean false
}
... |
Topic: Autofire |
purloinedheart
Replies: 8
Views: 9124
|
Forum: Ask for Help Posted: Sun Jul 31, 2011 7:34 pm Subject: Autofire |
I implemented the script months ago, it worked fine, but now the mouse cursor appears at the upper left cornor of the desktop or turn left and up in game?! Any suggestions?
$RButton::
Wh ... |
Topic: Hotkeys only work once. |
purloinedheart
Replies: 1
Views: 69
|
Forum: Ask for Help Posted: Sun Jul 31, 2011 7:26 pm Subject: Hotkeys only work once. |
Read the manual*
*That was a hint. It is a sneaky hint. |
Topic: FILES: COPY from - PASTE to |
purloinedheart
Replies: 19
Views: 701
|
Forum: Ask for Help Posted: Sun Jul 31, 2011 7:13 pm Subject: FILES: COPY from - PASTE to |
FileAppend SomeText, File1.txt
FileAppend SomeOtherText, File2.txt
Overwrite := True
Overwrite2 = True
;FileCopy File1.txt, File2.txt, %OverWrite% ;This will work
FileCopy File1.txt, Fi ... |
Topic: using Expression Method for variables? |
purloinedheart
Replies: 5
Views: 147
|
Forum: Ask for Help Posted: Sun Jul 03, 2011 4:03 am Subject: using Expression Method for variables? |
List :=
(
"
Two
Lines
"
)
Loop Parse, List, `n
{
VarB := "Something" A_Index
Msgbox % VarB
} |
Topic: Is this legit. |
purloinedheart
Replies: 2
Views: 91
|
Forum: Ask for Help Posted: Sun Jul 03, 2011 3:57 am Subject: Is this legit. |
If VarA>VarB
Funct()
else
Sleep 1
|
Topic: Random Sleep Times? |
purloinedheart
Replies: 20
Views: 788
|
Forum: Ask for Help Posted: Sun Apr 24, 2011 1:33 am Subject: Random Sleep Times? |
;Call this function
RandSleep(100,1000)
;You specify the x and y values, in the above example the x was 100 and the y was 1000
RandSleep(x,y) {
;Generate a random number b ... |
Topic: return a string? |
purloinedheart
Replies: 2
Views: 165
|
Forum: Ask for Help Posted: Sun Apr 24, 2011 12:04 am Subject: return a string? |
msgbox % GoGo()
GoGo()
{
A=GO
B=play
return % A . B
} |
Topic: Random Sleep Times? |
purloinedheart
Replies: 20
Views: 788
|
Forum: Ask for Help Posted: Sat Apr 23, 2011 11:51 pm Subject: Random Sleep Times? |
| Take a look at [url=http://www.autohotkey.com/docs/commands/Random.htm]random |
Topic: Problem with StringSplit inside multiple loops |
purloinedheart
Replies: 2
Views: 95
|
Forum: Ask for Help Posted: Sat Apr 23, 2011 10:54 pm Subject: Problem with StringSplit inside multiple loops |
FileRead, Chunk, Wordlist.txt
StringSplit, Word, Chunk, `;
Loop, %Word0%
{
CurrentWord := Word%A_Index%
StringSplit, Conj, CurrentWord, `,, %A_Tab%
Loop, %Conj0%
... |
Topic: array |
purloinedheart
Replies: 7
Views: 193
|
Forum: Ask for Help Posted: Mon Mar 21, 2011 3:19 am Subject: array |
Here's an example of creating an array in AHK_L
Ranks := Object()
Ranks.Insert(0, "Ace", 2, 3, 4, 5, 6, 7, 8, 9, 10, "Jack", "Queen", "King&quo ... |
Topic: array |
purloinedheart
Replies: 7
Views: 193
|
Forum: Ask for Help Posted: Mon Mar 21, 2011 1:27 am Subject: array |
| Have you looked at the [url=http://www.autohotkey.com/docs/misc/Arrays.htm]helpfile? |
Topic: Short story. |
purloinedheart
Replies: 4
Views: 411
|
Forum: General Chat Posted: Wed Mar 02, 2011 2:49 am Subject: Short story. |
Reminds me of:
http://www.amazingsuperpowers.com/comics/2008-05-12-Im-Flying.jpg |
Topic: iTunes script help |
purloinedheart
Replies: 8
Views: 208
|
Forum: Ask for Help Posted: Wed Mar 02, 2011 2:33 am Subject: iTunes script help |
Try looking at
^!Right::ControlSend,, {Right}, iTunes
|
Topic: purloinedheart's logic examples |
purloinedheart
Replies: 8
Views: 396
|
Forum: Scripts & Functions Posted: Wed Mar 02, 2011 2:17 am Subject: purloinedheart's logic examples |
;From previous example
Ranks := Object()
Ranks.Insert(0, "Ace", 2, 3, 4, 5, 6, 7, 8, 9, 10, "Jack", "Queen", "King")
Suits := Objec ... |
| |