| Author |
Message |
Topic: How to force window size? |
Tseik
Replies: 3
Views: 2129
|
Forum: Ask for Help Posted: Wed Jun 17, 2009 10:02 am Subject: How to force window size? |
| WinMove, WinTitle,, X, Y, Width, Height |
Topic: Position a window |
Tseik
Replies: 3
Views: 344
|
Forum: Ask for Help Posted: Thu Jun 11, 2009 12:19 pm Subject: Position a window |
Run notepad
Sleep, 1000
WinMove, Untitled,, 200, 200 |
Topic: How do you create a script which can help to replace ", |
Tseik
Replies: 3
Views: 315
|
Forum: Ask for Help Posted: Thu Jun 11, 2009 9:48 am Subject: How do you create a script which can help to replace ", |
if u are using something like notepad or edit or something, u could use this:
Just paint some text, like john,doe and press F1, it`ll replace , => +
F1::
{
Send ^c
StringR ... |
Topic: Problem with characters in clipboard |
Tseik
Replies: 12
Views: 596
|
Forum: Ask for Help Posted: Thu Jun 11, 2009 8:03 am Subject: Problem with characters in clipboard |
paint some word and press F1. is this what u are looking for?
F1::
{
send ^c ; Copy painted text
Run http://www.google.fi/search?hl=fi&q=%clipboard%&btnG=Hae&m ... |
Topic: problem with mousemove, not solved. |
Tseik
Replies: 3
Views: 540
|
Forum: Ask for Help Posted: Thu Jun 11, 2009 5:58 am Subject: problem with mousemove, not solved. |
Have u tried SendPlay?
I dont have the experience, but it might work somehow.. =P |
Topic: problem with mousemove, not solved. |
Tseik
Replies: 3
Views: 540
|
Forum: Ask for Help Posted: Thu Jun 11, 2009 5:50 am Subject: problem with mousemove, not solved. |
u can make ur current codes much shorter:
$F3:: MouseMove, 50, 0, 100, R
$F4:: Send {CTRL DOWN}{Numpad6 down}{Numpad6 up}{CTRL UP} |
Topic: hold mouse button down |
Tseik
Replies: 2
Views: 352
|
Forum: Ask for Help Posted: Thu Jun 11, 2009 5:38 am Subject: hold mouse button down |
| MouseClick, Left,,,,, D |
Topic: How to exit the programs in the tray region normally?Thanks! |
Tseik
Replies: 3
Views: 374
|
Forum: Ask for Help Posted: Thu Jun 11, 2009 5:29 am Subject: How to exit the programs in the tray region normally?Thanks! |
u want to close another running program using ahk script?
Run, Notepad
Sleep, 1000
Process, Close, Notepad.exe
or do you want to exit script u are using?
ExitApp |
Topic: How to spashimage on my main window |
Tseik
Replies: 4
Views: 368
|
Forum: Ask for Help Posted: Wed Jun 10, 2009 11:17 am Subject: How to spashimage on my main window |
not the greatest way, but something.. =D i used splashtext
SetTimer, MoveSplash, 10
SplashTextOn, 200, 200, SplashText, TEST
Gui, Show, x300 y300 w300 h300, TESTWINDOW
WinGetPos, Xpos, Ypo ... |
Topic: How to spashimage on my main window |
Tseik
Replies: 4
Views: 368
|
Forum: Ask for Help Posted: Wed Jun 10, 2009 10:56 am Subject: How to spashimage on my main window |
u want a picture in a gui? if so why u use plashimage. u should:
Gui, Add, Picture, w300 h-1, C:\My Pictures\Company Logo.gif |
Topic: How to activate or fire an event when a window opens? |
Tseik
Replies: 6
Views: 612
|
Forum: Ask for Help Posted: Wed Jun 10, 2009 9:51 am Subject: How to activate or fire an event when a window opens? |
Here is something quicklyproduced...
ProgramTitle = Untitled - Notepad
Settimer, CheckWindow, 1000 ;Check every second
CheckWindow:
IfWinActive, %ProgramTitle%
{
Send, u ... |
Topic: How to exit the programs in the tray region normally?Thanks! |
Tseik
Replies: 3
Views: 374
|
Forum: Ask for Help Posted: Wed Jun 10, 2009 8:32 am Subject: How to exit the programs in the tray region normally?Thanks! |
| Rightclick tray icon and from menu exit ? |
Topic: Run file from active window |
Tseik
Replies: 10
Views: 934
|
Forum: Ask for Help Posted: Wed Jun 10, 2009 6:44 am Subject: Run file from active window |
Its a little bit hard, but if you are always on the same part of the disk, like c:\, then this might work for you.
#g::
WinGetActiveTitle, ActiveWindow
IfExist, C:\%ActiveWindow%\ ... |
Topic: Rclick + Gui Button? |
Tseik
Replies: 4
Views: 361
|
Forum: Ask for Help Posted: Wed Jun 10, 2009 5:55 am Subject: Rclick + Gui Button? |
Gui, Add, Button, x1 y1 w99, TEST
Gui, Show, x200 y200 h24 w100, Test
Return
GuiClose:
ExitApp
ButtonTEST:
GetKeyState, CheckAlt, Alt ; Alt down and then leftclick = msgbox 1
I ... |
Topic: Run file from active window |
Tseik
Replies: 10
Views: 934
|
Forum: Ask for Help Posted: Wed Jun 10, 2009 5:07 am Subject: Run file from active window |
dont know if this will help u either, but..
this open all txt files from folder C:\test
Loop, C:\test\*.txt
Run, %A_LoopFileFullPath% |
| |