| Author |
Message |
Topic: AHK Regex SandBox |
pokercurious
Replies: 15
Views: 1971
|
Forum: Scripts & Functions Posted: Sun Jul 20, 2008 11:58 pm Subject: AHK Regex SandBox |
@Guest and @ani1744:
It was actually a bug (if ani1744's example was a bit different):
With the needle being "(\d)" and the haystack "R01234.n", the "match1" variab ... |
Topic: Swap windows script help |
pokercurious
Replies: 2
Views: 57
|
Forum: Ask for Help Posted: Wed Jul 09, 2008 2:07 am Subject: Swap windows script help |
| [url=http://www.autohotkey.com/docs/commands/SetTimer.htm]SetTimer |
Topic: RegEx or ? |
pokercurious
Replies: 5
Views: 169
|
Forum: Ask for Help Posted: Wed Jul 09, 2008 12:29 am Subject: RegEx or ? |
; the RE we'll use to get the info we want
log_regex := "(?P<time>(\d{2}):(\d{2}):(\d{2})) - INFO: (?P< ... |
Topic: RegEx or ? |
pokercurious
Replies: 5
Views: 169
|
Forum: Ask for Help Posted: Tue Jul 08, 2008 7:31 pm Subject: RegEx or ? |
using named regexes (and assuming you've gotten the relevant line of text into a variable AND assuming that the line is always in the same format):
; for testing
infoFromFile = 08:19:12 - ... |
Topic: RegExReplace variable ref & semicolon in variable value |
pokercurious
Replies: 5
Views: 129
|
Forum: Ask for Help Posted: Mon Jun 30, 2008 10:19 pm Subject: RegExReplace variable ref & semicolon in variable value |
NewStr := RegExReplace("user-name-address", "address", "User Resides In:" . address_var . ", USA")
Untested, but that should work. |
Topic: Make all variables that start with KITTEN blank? |
pokercurious
Replies: 6
Views: 152
|
Forum: Ask for Help Posted: Mon Jun 16, 2008 7:10 pm Subject: Make all variables that start with KITTEN blank? |
This was what I came up with a while ago - pretty close to krogdor's solution.
; Usage:
; ClearArray("kitten_")
ClearArray(prefix)
{
global
lgv : ... |
Topic: [Solved] ControlClick - give X & Y to click known contro |
pokercurious
Replies: 17
Views: 458
|
Forum: Ask for Help Posted: Mon Jun 09, 2008 11:20 pm Subject: [Solved] ControlClick - give X & Y to click known contro |
| [url=http://www.autohotkey.com/docs/commands/ControlGetPos.htm]ControlGetPos |
Topic: I little GUI help please. |
pokercurious
Replies: 2
Views: 129
|
Forum: Ask for Help Posted: Tue Jun 03, 2008 1:51 am Subject: I little GUI help please. |
textb1 = Top Left
textb2 = Top Right
textb3 = Bottom Left
textb4 = Bottom Right
Gui, +toolwindow
Gui, Add, Button, gb1 x5 y5 w50 h50, Top`nLeft
Gui, Add, Button, gb2 x60 y5 w50 h50, Top`n Righ ... |
Topic: Help with "random" function |
pokercurious
Replies: 7
Views: 458
|
Forum: Ask for Help Posted: Thu May 29, 2008 12:26 am Subject: Help with "random" function |
msgbox, % rand("number") . " and " . rand("letter") . " and " . rand("vowel")
rand(chr)
{
if (chr = &qu ... |
Topic: Help with "random" function |
pokercurious
Replies: 7
Views: 458
|
Forum: Ask for Help Posted: Wed May 28, 2008 11:55 pm Subject: Help with "random" function |
msgbox, % rand("number") . " and " . rand("letter")
rand(chr)
{
if (chr = "number")
{
Random, r, 1, 9
re ... |
Topic: [Solved] GuiClose: for numbered GUIs |
pokercurious
Replies: 4
Views: 288
|
Forum: Ask for Help Posted: Wed May 28, 2008 9:00 am Subject: [Solved] GuiClose: for numbered GUIs |
| ze manual |
Topic: Embedded Windows Scripting (VBScript & JScript) and COM |
pokercurious
Replies: 105
Views: 14462
|
Forum: Scripts & Functions Posted: Wed May 28, 2008 12:49 am Subject: Embedded Windows Scripting (VBScript & JScript) and COM |
I am assuming this is directed at me
yes that is correct
copy paste error
Actually, at rad777 who wrote the initial question - sometimes the obvious answers are the ones that are overlooked. |
Topic: Embedded Windows Scripting (VBScript & JScript) and COM |
pokercurious
Replies: 105
Views: 14462
|
Forum: Scripts & Functions Posted: Tue May 27, 2008 9:29 pm Subject: Embedded Windows Scripting (VBScript & JScript) and COM |
If the code you want to execute is...
HostObj =
(
Public Function GetSource(screen, x1, y1, x2, y2)
Dim selectionArea, HostObj
Set HostObj = WScript.CreateObject(" ... |
Topic: Different approaches to loading html in browser control |
pokercurious
Replies: 20
Views: 944
|
Forum: Ask for Help Posted: Tue May 27, 2008 7:58 pm Subject: Different approaches to loading html in browser control |
http://www.autohotkey.com/forum/viewtopic.php?t=19225&postdays=0&postorder=asc&start=135
there are alot of techniches in there discussed However, It refers to functions that are wrappers ... |
Topic: Different approaches to loading html in browser control |
pokercurious
Replies: 20
Views: 944
|
Forum: Ask for Help Posted: Tue May 27, 2008 10:48 am Subject: Different approaches to loading html in browser control |
tank, can your method be used to put a browser control in a specific part of a gui?
Because this:
haxw := COM_AtlAxCreateContainer(mgh, 130, 10, 190, 95, "MSHTML:")
pd ... |
| |