AutoHotkey Community

It is currently May 23rd, 2012, 4:57 am

All times are UTC [ DST ]


Search found 194 matches
Search these results:

Author Message

 Forum: Scripts   Topic: Mix() After Encode for Extra Security

Posted: January 21st, 2011, 7:54 am 

Replies: 0
Views: 671


var := "String" MsgBox, % Mix(var, "mixcode") Mix(ByRef var, code) { ; http://503707482.qzone.qq.com If (StrLen(code) < 6 || StrLen(code) > 10) return -1 code_a = 0 Loop % StrLen(code) - 4 code_a := code_a * 256 + NumGet(c...

 Forum: Scripts   Topic: IPCheck()

Posted: November 5th, 2009, 2:14 am 

Replies: 3
Views: 1436


The function checks IP address. If it doesn't work properly, try ensuring that network connection has been enabled and AutoHotkey has been allowed in Firewall ~

 Forum: Scripts   Topic: IPCheck()

 Post subject: IPCheck()
Posted: October 29th, 2009, 3:01 pm 

Replies: 3
Views: 1436


TimeRec := A_TickCount c := IPCheck() MsgBox, % A_TickCount - TimeRec "`n" c IPCheck(a = 3) { FileRec = %A_Temp%\%A_Now%%A_MSec%.tmp Loop %a% { RunWait, %comspec% /c tracert -d 192.168.1.1>%FileRec%,, Hide FileRead, c, %FileRec% Loop, Parse, c, `n, `r If (Reg...

 Forum: Support   Topic: Clipboard is suddenly unreliable in AHK

Posted: August 5th, 2009, 8:10 pm 

Replies: 3
Views: 863


Try using Sleep, 10 before restoring clipboard ~

 Forum: Support   Topic: Getting text from a page

Posted: August 5th, 2009, 7:56 pm 

Replies: 19
Views: 772


Try adding SetTitleMatchMode, Slow to the script ~

 Forum: Support   Topic: help with word count?

Posted: August 5th, 2009, 7:32 pm 

Replies: 12
Views: 839


Try ~
Code:
RegExReplace(Text, "(?:\d|\w+)", "", c)

 Forum: Support   Topic: Loop a Button?

Posted: July 14th, 2009, 12:53 pm 

Replies: 16
Views: 1198


Try ~
Code:
$Space::
$p::
BlockInput, On
KP_c := SubStr(A_ThisHotkey, 2)
While GetKeyState(KP_c, "P")
{
 Sleep, 150
 Send, {%KP_c%}
}
BlockInput, Off
return

 Forum: Support   Topic: Activate / Desactivate certain hotkeys

Posted: July 14th, 2009, 12:10 pm 

Replies: 4
Views: 409


Try ~
Code:
F5::Hotkey, space & g,, On
F4::Hotkey, space & g,, Off

 Forum: Issues   Topic: loop makes local array outside function in public subroutine

Posted: April 19th, 2009, 1:53 pm 

Replies: 9
Views: 1514


Providing static mode, probably it could be considered as BUG that using dynamic variable inside function might require ensuring whether global variable with a certain name been used ~ The static mode problem might be avoided by using modifier variable -- considering usage of static variable it migh...

 Forum: Issues   Topic: loop makes local array outside function in public subroutine

Posted: April 19th, 2009, 8:13 am 

Replies: 9
Views: 1514


Try fixing dynamic variable inside function ~
Link
A(), About using dynamic variable in static mode function

 Forum: Issues   Topic: loop makes local array outside function in public subroutine

Posted: April 18th, 2009, 4:30 am 

Replies: 9
Views: 1514


If you want to avoid dynamic variable BUG, try using only non-dynamic variable or global function instead ~

 Forum: Support   Topic: Mouse Splines

Posted: April 12th, 2009, 4:31 am 

Replies: 32
Views: 3507


Try ~
Code:
#MouseMoveX(x2, xp = 36, a = 3, v = 130)
{
 MouseGetPos, x1, y1
 while abs(x2 - x1) > xp
 {
  Random, c, -a, a
  MouseMove, x1 += x2 > x1 ? xp : -xp, y1 + c, v
 }
 MouseMove, x2, y1, v
 return
}

 Forum: Issues   Topic: trigger problems

 Post subject: Re: trigger problems
Posted: April 12th, 2009, 12:30 am 

Replies: 2
Views: 1062


brotherS wrote:
... I use
Code:
:o*:.url::
to trigger something, and while it often works, I sometimes have to hit enter before I enter ".url" to make AHK notice what I'm trying to do ...
Try ~
Code:
:*?o:.url::

 Forum: Issues   Topic: Bug: repeat doesn't work if capslock active

Posted: April 12th, 2009, 12:30 am 

Replies: 7
Views: 1504


Good point. The docs say, "The CapsLock key will be restored to its former value if Send needed to change it temporarily for its operation." If the behavior were changed/fixed, it might do more harm than good by breaking scripts that rely on the old behavior. I'm not sure what's best. Sug...

 Forum: Issues   Topic: Simple var assign ending in colon is seen as label...

Posted: April 12th, 2009, 12:16 am 

Replies: 24
Views: 2854


this behavior to be noted under SetEnv. Something like: “By default, any spaces or tabs at the beginning and end of Value are omitted from Var. To prevent this, use the methods described at AutoTrim Off .” I have added the above wording to the SetEnv page . Thanks. v1.0.48.00 help document seems fi...
Sort by:  
Page 1 of 13 [ Search found 194 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group