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 

GUI button do a function help

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
bob11
Guest





PostPosted: Thu Jun 21, 2007 3:02 pm    Post subject: GUI button do a function help Reply with quote

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





PostPosted: Thu Jun 21, 2007 3:09 pm    Post subject: Reply with quote

anybody
Back to top
bob11
Guest





PostPosted: Thu Jun 21, 2007 3:26 pm    Post subject: Reply with quote

HELP ME
Back to top
daonlyfreez



Joined: 16 Mar 2005
Posts: 949
Location: Berlin

PostPosted: Thu Jun 21, 2007 3:38 pm    Post subject: Reply with quote

Did you try the excellent manual/documentation yet?

Keywords: Run/MsgBox/Gui for example...
_________________
mirror 1mirror 2mirror 3ahk4.me • PM or
Back to top
View user's profile Send private message
Travley



Joined: 13 May 2007
Posts: 47

PostPosted: Mon Jun 25, 2007 7:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group