| View previous topic :: View next topic |
| Author |
Message |
bob11 Guest
|
Posted: Thu Jun 21, 2007 3:02 pm Post subject: GUI button do a function help |
|
|
hey i need a script for when GUI button is pressed it runs a .BAT file
can sumbody help
i made a .BAT file that deletes my recently viewed documents and i want a GUI button to run this bat file when clicked
thx |
|
| Back to top |
|
 |
bob11 Guest
|
Posted: Thu Jun 21, 2007 3:09 pm Post subject: |
|
|
| anybody |
|
| Back to top |
|
 |
bob11 Guest
|
Posted: Thu Jun 21, 2007 3:26 pm Post subject: |
|
|
| HELP ME |
|
| Back to top |
|
 |
daonlyfreez
Joined: 16 Mar 2005 Posts: 949 Location: Berlin
|
Posted: Thu Jun 21, 2007 3:38 pm Post subject: |
|
|
Did you try the excellent manual/documentation yet?
Keywords: Run/MsgBox/Gui for example... _________________
mirror 1 • mirror 2 • mirror 3 • ahk4.me • PM or  |
|
| Back to top |
|
 |
Travley
Joined: 13 May 2007 Posts: 47
|
Posted: Mon Jun 25, 2007 7:59 pm Post subject: |
|
|
| Code: | Gui, Add, Button, x y w h vBatLaunch, Launch Batch
Gui, Show, x y h w, Whatever By You!
GuiClose:
ExitApp
BatLaunch:
run C:\whatever.bat
Return |
Look at the FTP (and File Append) section of the helpdoc, as well as the msgbox section. |
|
| Back to top |
|
 |
|