| Author |
Message |
Topic: IronAHK: cross platform .NET rewrite of AutoHotkey |
entropic
Replies: 71
Views: 4922
|
Forum: Scripts & Functions Posted: Wed Mar 17, 2010 3:28 am Subject: IronAHK: cross platform .NET rewrite of AutoHotkey |
| You can compile for 64 bit systems from a 32 bit system. You will just have to install the 64 bit compiler if it isn't already installed, I don't believe it is installed by default. |
Topic: Auto Assembly & AHk ? |
entropic
Replies: 4
Views: 123
|
Forum: Ask for Help Posted: Sun Mar 14, 2010 5:58 am Subject: Auto Assembly & AHk ? |
| You can covert it to machine code and run it with Laszlo's [url=http://www.autohotkey.com/forum/viewtopic.php?t=21172&start=0]MCode |
Topic: IronAHK: cross platform .NET rewrite of AutoHotkey |
entropic
Replies: 71
Views: 4922
|
Forum: Scripts & Functions Posted: Wed Mar 10, 2010 4:37 am Subject: IronAHK: cross platform .NET rewrite of AutoHotkey |
| DeWild1 - The first problem I see is that IronAHK does not yet support GUIs, it is a planned feature for the 0.7 release. |
Topic: randomizing elements in array |
entropic
Replies: 6
Views: 180
|
Forum: Ask for Help Posted: Sat Mar 06, 2010 2:31 am Subject: randomizing elements in array |
This works fine for me
array0 = 2
array1 = a
array2 = b
array3 = c
array4 = d
Msgbox %array1% %array2% %array3% %array4%
Loop % array0-1
{
Msgbox %A_Index%
Random i, A_Index ... |
Topic: Hotkey to Execute to other Hotkeys |
entropic
Replies: 10
Views: 152
|
Forum: Ask for Help Posted: Fri Mar 05, 2010 3:11 am Subject: Hotkey to Execute to other Hotkeys |
No problem, to get F5 to work try this:
SendInput {F5}
|
Topic: Any way to easily: if last sring ends with %x%, trim %x% |
entropic
Replies: 3
Views: 489
|
Forum: Ask for Help Posted: Fri Mar 05, 2010 2:55 am Subject: Any way to easily: if last sring ends with %x%, trim %x% |
Here's how to do it with regular expressions
str = This is a test
var = t
Msgbox % RegExReplace(str, var "$")
|
Topic: Hotkey to Execute to other Hotkeys |
entropic
Replies: 10
Views: 152
|
Forum: Ask for Help Posted: Fri Mar 05, 2010 2:46 am Subject: Hotkey to Execute to other Hotkeys |
I totally read your first post wrong, glad you got it figured out.
You may need to put a Sleep between the calls to A() and B() if you find the application can't keep up. |
Topic: Any way to easily: if last sring ends with %x%, trim %x% |
entropic
Replies: 3
Views: 489
|
Forum: Ask for Help Posted: Fri Mar 05, 2010 1:56 am Subject: Any way to easily: if last sring ends with %x%, trim %x% |
Here's a way of doing it without regular expressions
removeChar = x
str = The quick brown fox jumps over the lazy dog.x
str2 = The quick brown fox jumps over the lazy dog.
Msgbox % "Star ... |
Topic: Hotkey to Execute to other Hotkeys |
entropic
Replies: 10
Views: 152
|
Forum: Ask for Help Posted: Fri Mar 05, 2010 1:44 am Subject: Hotkey to Execute to other Hotkeys |
There are a bunch of ways to structure it, here's another one:
!^+<::A()
!^+>::B()
!^+a::
A()
B()
Return
A()
{ ... |
Topic: Hotkey to Execute to other Hotkeys |
entropic
Replies: 10
Views: 152
|
Forum: Ask for Help Posted: Fri Mar 05, 2010 1:41 am Subject: Hotkey to Execute to other Hotkeys |
Does this work for you?
^!+<::
LabelA:
Msgbox A
Return
^!+>::
LabelB:
Msgbox B
Return
^!+a::
GoSub, LabelA
GoSub, LabelB
Return
|
Topic: Run AHK scripts with less (half or even less) memory usage |
entropic
Replies: 16
Views: 5821
|
Forum: Scripts & Functions Posted: Wed Mar 03, 2010 3:33 am Subject: Run AHK scripts with less (half or even less) memory usage |
You can set the function to a hotkey and call it many times.
The thing is you want to use as much RAM as possible, RAM you aren't using is being wasted. Data gets loaded to RAM to speed up access t ... |
Topic: [Lib] Edit v0.2 (Preview) - Update/Control any Edit control |
entropic
Replies: 4
Views: 476
|
Forum: Scripts & Functions Posted: Sat Feb 27, 2010 5:17 am Subject: [Lib] Edit v0.2 (Preview) - Update/Control any Edit control |
| Very cool, thank you! |
Topic: Shift key sticking down for 200 milliseconds. |
entropic
Replies: 2
Views: 190
|
Forum: Bug Reports Posted: Sat Feb 27, 2010 5:08 am Subject: Shift key sticking down for 200 milliseconds. |
Another workaround
AppsKey & RShift::
RShift & AppsKey::
KeyWait, RShift
InputBox, UserInput, Text Entry Box, Enter text., , 490, 119
Return
|
Topic: RegExMatch |
entropic
Replies: 3
Views: 95
|
Forum: Ask for Help Posted: Sat Feb 27, 2010 3:55 am Subject: RegExMatch |
str = Hello
needle = Goodbye\s%str%\sGoodbye
haystack = Goodbye Hello Goodbye
If RegExMatch(haystack, needle)
Msgbox Match!
|
Topic: Cant get rid of Clipboard Spaces |
entropic
Replies: 3
Views: 86
|
Forum: Ask for Help Posted: Sat Feb 27, 2010 3:46 am Subject: Cant get rid of Clipboard Spaces |
Does this do what you're looking for?
str =
(
REQ990342 New Mar 1 2010 12:00 AM 2/9/2010 2:25:59 PM Laptop
)
RegExMatch(str, "i)(AM|PM)\s( ... |
| |