AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 48 matches
AutoHotkey Community Forum Index
Author Message
  Topic: AHK Regex SandBox
pokercurious

Replies: 27
Views: 5087

PostForum: Scripts & Functions   Posted: Mon Mar 09, 2009 4:57 am   Subject: AHK Regex SandBox
@Gosugenji

Sorry about that, I just left out some quotes. Fixed now in the first post.

@Drugwash

I'm sorry to hear that the script is causing problems. It works fine for me with 1.0.48 on XP ...
  Topic: Window Fader
pokercurious

Replies: 8
Views: 1165

PostForum: Scripts & Functions   Posted: Wed Nov 26, 2008 1:52 am   Subject: Window Fader
You might want to look into ShellHook messages. I learned quite a lot from this script: http://www.autohotkey.com/forum/topic35623.html
  Topic: [module] Qhtm 1.01
pokercurious

Replies: 17
Views: 4137

PostForum: Scripts & Functions   Posted: Tue Nov 18, 2008 7:46 pm   Subject: [module] Qhtm 1.01
This looks fantastic - I can't wait to play with it.

I have a small problem. You call the function Mem_AtStrAdr() in the script. It looks like it's a call to a stdlib library (assuming "mem.ah ...
  Topic: [module] HiEdit 4.0.0.4-5
pokercurious

Replies: 194
Views: 42640

PostForum: Scripts & Functions   Posted: Tue Nov 11, 2008 7:36 pm   Subject: [module] HiEdit 4.0.0.4-5
2pokercurious
I noticed this long time ago, but I don't know why is it happening. I think I reported it back then as a bug to akyprian, but the problem is that behavior doesn't happen with HiEditor o ...
  Topic: [module] HiEdit 4.0.0.4-5
pokercurious

Replies: 194
Views: 42640

PostForum: Scripts & Functions   Posted: Mon Nov 10, 2008 11:59 pm   Subject: [module] HiEdit 4.0.0.4-5
I really like the HiEdit control and find myself using it quite a bit.

One thing is that I like to have a black background and light text: the problem with this is that I can't seem to get the bac ...
  Topic: Insert a literal "+"
pokercurious

Replies: 4
Views: 201

PostForum: Ask for Help   Posted: Wed Oct 15, 2008 1:53 am   Subject: Insert a literal "+"
more long-winded than fry's example:

::oc::
SendInput {raw}chars:hello +1
return

[url=http://www.autohotkey.com/docs/Hotstrings.htm]http://www.autohotkey.com/docs ...
  Topic: Hotkeys only when media player is active
pokercurious

Replies: 10
Views: 477

PostForum: Ask for Help   Posted: Tue Oct 07, 2008 2:39 am   Subject: Hotkeys only when media player is active
from the manual:

The #IfWin directives are positional: they affect all hotkeys and hotstrings physically beneath them in the script. They are also mutually exclusive; that is, only the most recent ...
  Topic: Monitoring active window changes & settimer questions
pokercurious

Replies: 2
Views: 232

PostForum: Ask for Help   Posted: Tue Oct 07, 2008 1:59 am   Subject: Monitoring active window changes & settimer questions
You could use ShellHook or WinEventHook to catch active window changes, but I don't really see the advantage over a 250ms timer in this instance unless you really need quicker detection.

No, I don' ...
  Topic: Monitoring active window changes & settimer questions
pokercurious

Replies: 2
Views: 232

PostForum: Ask for Help   Posted: Tue Oct 07, 2008 1:24 am   Subject: Monitoring active window changes & settimer questions
I'm writing a computer usage app along the lines of #Persistent

lastActiveWindow := currActiveWindow := WinExist("A")

SetTimer, MonitorActiveWindowChange

Gui, +Alway ...
  Topic: MonthCal control with multi-select option - GUI ugliness
pokercurious

Replies: 2
Views: 450

PostForum: Ask for Help   Posted: Sun Oct 05, 2008 5:51 am   Subject: MonthCal control with multi-select option - GUI ugliness
Gui, Add, MonthCal, multi vMyCalendar gdocalendar
Gui, Add, Text, w200, Calendar info:
Gui, Add, Edit, +readonly vcalendarinfo w200
Gui, Show
return

GuiClose:
exitapp

docalendar: ...
  Topic: AHK Regex SandBox
pokercurious

Replies: 27
Views: 5087

PostForum: 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: 199

PostForum: 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: 389

PostForum: 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: 389

PostForum: 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: 288

PostForum: 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.
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group