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 120 matches
AutoHotkey Community Forum Index
Author Message
  Topic: replace option for \E and \Q in regex
temp01

Replies: 2
Views: 1171

PostForum: Wish List   Posted: Tue Nov 17, 2009 2:24 pm   Subject: replace option for \E and \Q in regex
You could just replace the special characters with StringReplace or RegExReplace e.g. str = files\Example ... And later \Q and so on.
regex = files\Example

msgbox, % RegExReplace(str, "\Q ...
  Topic: how to apply IfWinNotActive to 2 APPs
temp01

Replies: 4
Views: 421

PostForum: Ask for Help   Posted: Fri Oct 23, 2009 4:28 pm   Subject: how to apply IfWinNotActive to 2 APPs
GroupAdd, Wins, Notepad
GroupAdd, Wins, ahk_class Notepad2

#IfWinActive ahk_group Wins
^n::Return
#IfWinActive
  Topic: ILButton() - image buttons with text, states, alignment
temp01

Replies: 36
Views: 11224

PostForum: Scripts & Functions   Posted: Wed Oct 21, 2009 6:28 pm   Subject: ILButton() - image buttons with text, states, alignment
Why didn't you use built-in ImageList functions IL_Create/IL_Add?
ILButton(hBtn, images, largeIcons=0, align=4, margin="1,1,1,1") {
;static ;local iList, temp, v, v1, v2, v3 ...
  Topic: fix the window size
temp01

Replies: 8
Views: 483

PostForum: Ask for Help   Posted: Wed Oct 21, 2009 10:59 am   Subject: fix the window size
Gui, -Caption +Resize +AlwaysOnTop +ToolWindow
Gui, Show, w400 h400

OnMessage(0x46, "WindowPosChanging")
Return

WindowPosChanging(wParam, WinPos){
NumPut( ...
  Topic: Holding down TAB key like a toggle
temp01

Replies: 8
Views: 1492

PostForum: Ask for Help   Posted: Wed Oct 21, 2009 7:20 am   Subject: Holding down TAB key like a toggle
This line; "While !(GetKeyState("Tab", "P"))" is apparently invalid.
Update your AHK version..

Anyway, try this:Tab::
KeyWait, Tab
SendPlay, {Tab Dow ...
  Topic: Activating the last program opened
temp01

Replies: 8
Views: 555

PostForum: Ask for Help   Posted: Tue Oct 20, 2009 8:30 am   Subject: Activating the last program opened
#n:: ; Hotkey Windows Key+N
WinGet, Wins, List
Loop, % 0 Wins`, Wins := ""
Wins .= InTaskbar(win:=Wins%A_Index%) ? win "`n" : ""
Sort ...
  Topic: Activating the last program opened
temp01

Replies: 8
Views: 555

PostForum: Ask for Help   Posted: Sun Oct 18, 2009 5:04 am   Subject: Activating the last program opened
How old is your AHK version?
Either update to the latest version (1.0.48+) or change the While line to:Loop, %Wins% {
Win := Wins%A_Index%
  Topic: Activating the last program opened
temp01

Replies: 8
Views: 555

PostForum: Ask for Help   Posted: Sun Oct 18, 2009 2:06 am   Subject: Activating the last program opened
Try this:WinGet, Wins, List
While Win := Wins%A_Index% {
WinTime := CreationTime(win)
If(WinTime > LTime)
LTime := WinTime, LWin := Win
}
WinActi ...
  Topic: how do I send f11 to window
temp01

Replies: 9
Views: 1221

PostForum: Ask for Help   Posted: Sat Oct 17, 2009 11:07 pm   Subject: how do I send f11 to window
Enable Control Panel > Folder Options > View - Display full path in title bar.
  Topic: sorting
temp01

Replies: 9
Views: 555

PostForum: Ask for Help   Posted: Fri Oct 16, 2009 9:15 am   Subject: sorting
yes i understand that, but as u can see, my variables inside the loop requires "x" and "y"See The built-in variable A_Index contains the number of the current loop iteration.

fo ...
  Topic: [function] httpQuery GET and POST requests - update 0.3.6
temp01

Replies: 232
Views: 78292

PostForum: Scripts & Functions   Posted: Fri Oct 16, 2009 7:12 am   Subject: [function] httpQuery GET and POST requests - update 0.3.6
Try this for request:; define the XML request
request =
(LTrim
<?xml version='1.0' encoding='utf-8'?>
<GeteBayOfficialTimeRequest xmlns="urn:ebay:apis:eBLBas ...
  Topic: Is it possible to read if a specified program is running?
temp01

Replies: 1
Views: 242

PostForum: Ask for Help   Posted: Wed Oct 14, 2009 6:33 pm   Subject: Is it possible to read if a specified program is running?
[url=http://www.autohotkey.com/docs/commands/IfWinExist.htm]IfWinExist
[url=http://www.autohotkey.com/docs/commands/Process.htm]Process, Exist
  Topic: Alpha (Transparency) Support?
temp01

Replies: 2
Views: 369

PostForum: Ask for Help   Posted: Wed Oct 14, 2009 12:38 pm   Subject: Alpha (Transparency) Support?
[url=http://www.autohotkey.com/forum/viewtopic.php?t=24628]per-pixel alpha blended GUI demo
  Topic: Is there a reason why winGet returns different values?
temp01

Replies: 7
Views: 536

PostForum: Ask for Help   Posted: Tue Oct 13, 2009 10:11 pm   Subject: Re: Is there a reason why winGet returns different values?
I presume that WinExists() was returning the top-most, or last opened, window?

It was returning the [url=http://www.autohotkey.com/docs/LastFoundWindow.htm]last found found.
  Topic: Embedded Windows Scripting (VBScript & JScript) and COM
temp01

Replies: 231
Views: 59813

PostForum: Scripts & Functions   Posted: Tue Oct 13, 2009 9:15 pm   Subject: Re: Fooling around with WS4AHK....
This will do an implicit WS_Initialize at encountering your first WS_Exec
and remember that the WS was initialized..
...
A bit quickndirty, but it seems to work...
No, it'll call WS_Initialize() e ...
 
Page 1 of 8 Goto page 1, 2, 3, 4, 5, 6, 7, 8  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group