AutoHotkey Community

It is currently May 24th, 2012, 8:56 am

All times are UTC [ DST ]


Search found 29 matches
Search these results:

Author Message

 Forum: Support   Topic: [Solved] How to bring window to front without active?

Posted: May 17th, 2011, 3:21 am 

Replies: 2
Views: 217


Thank you. That works.

 Forum: Support   Topic: [Solved] How to bring window to front without active?

Posted: May 16th, 2011, 6:34 pm 

Replies: 2
Views: 217


Hi, I want to bring a window to front, but without active it. The reason I need this action is, I need to ControlSend Ctrl+O to a Window for 'Open File', but if the window is minimized, ControlSend Ctrl+O will not popup the 'Open File' window. A better method is WinGetActiveTitle, then when 'Open Fi...

 Forum: Support   Topic: How to PixelSearch in a minimized window?

Posted: August 24th, 2010, 2:09 am 

Replies: 2
Views: 326


Sorry, I just found some reference, but I don't know how to code in AHK.

 Forum: Support   Topic: How to PixelSearch in a minimized window?

Posted: August 23rd, 2010, 1:08 pm 

Replies: 2
Views: 326


I think first is to capture the minimized window, below is the method I'have found: Capturing Minimized Window: A Kid’s Trick http://www.codeproject.com/KB/cs/CapturingMinimizedWindow.aspx How to Capture I assumed there is no way to capture from the minimized window, so this assumption changed the ...

 Forum: Support   Topic: How to open image with no border?

Posted: April 28th, 2010, 11:09 am 

Replies: 2
Views: 397


Thanks, that works.
Code:
Gui, Add, Picture, AltSubmit, %Image%
Gui -Caption +ToolWindow +LastFound +AlwaysOnTop
Gui, Color, 000000
WinSet, TransColor, 000000
;WinSet, Region, 11-6 W%ImageWidth% H%ImageHeight%
Gui, Show, NoActivate

 Forum: Support   Topic: How to use GetConsoleScreenBufferInfo function?

Posted: April 28th, 2010, 7:06 am 

Replies: 2
Views: 279


I want to get the console cursor position

 Forum: Support   Topic: How to open image with no border?

Posted: April 28th, 2010, 6:57 am 

Replies: 2
Views: 397


icon_smile.gif: :)

Code:
Gui, Add, Picture, AltSubmit, icon_smile.gif
Gui -Caption +ToolWindow +AlwaysOnTop
Gui, Show, NoActivate


result: Image

How to display like ":)" ?

 Forum: Support   Topic: .ahk start by .bat, how to get PID of this cmd window?

Posted: April 28th, 2010, 4:16 am 

Replies: 4
Views: 869


SKAN wrote:
I am unable to guess why you need to stdout ?!!

I need the PID and Positon for other command line tool, so need stdout.

 Forum: Support   Topic: .ahk start by .bat, how to get PID of this cmd window?

Posted: April 28th, 2010, 1:57 am 

Replies: 4
Views: 869


Thanks.

If active other window before execute "test.ahk", will fail.

batch code:
Code:
@echo off
nircmd wait 2000
AutoHotkey.exe "test.ahk" | more
pause

 Forum: Support   Topic: .ahk start by .bat, how to get PID of this cmd window?

Posted: April 27th, 2010, 4:40 pm 

Replies: 4
Views: 869


I use batch script to execute Autohotkey script, e.g: @echo off AHK_Script.exe echo I want to get PID and position of this window. echo and return the var or print to cmd window. echo e.g: echo PID=%PID% Position=%x%,%y% pause And how to print help text into Command Prompt Window, like the command l...

 Forum: Support   Topic: Regular Expression help

Posted: March 8th, 2010, 6:36 pm 

Replies: 15
Views: 370


Yes, why? (ask myself) ... I was thought about the speed. Seems is not very difference.

Thanks all.

 Forum: Support   Topic: Regular Expression help

Posted: March 8th, 2010, 6:15 pm 

Replies: 15
Views: 370


Can't use RegExReplace?

 Forum: Support   Topic: Regular Expression help

Posted: March 8th, 2010, 5:49 pm 

Replies: 15
Views: 370


Thank you. Help me another example:

Quote:
123
456
321
678


How to remove lines not contain "2"? (use RegExReplace) :(

 Forum: Support   Topic: Regular Expression help

Posted: March 8th, 2010, 5:12 pm 

Replies: 15
Views: 370


Sorry, I had edited it.

I want to keep lines contain 1.000.

 Forum: Support   Topic: Regular Expression help

 Post subject: Regular Expression help
Posted: March 8th, 2010, 4:27 pm 

Replies: 15
Views: 370


Quote:
a b c1. 10.000...1.000 abc(x)
a b c..5.000...2.000 ab(x)
a 1 b c 2..12.000...1.000 acd(x)
a b c3...11.000...3.000 afe(x)
a d c 6...115.000...5.000 afe(x)


I want to keep the blue lines, remove others.
Sort by:  
Page 1 of 2 [ Search found 29 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group