not to much text controls, but there is no need for it.
the sfx 7Zip file
press space to start or split, or leftclick on the gui
press enter or backspace to reset, or rightclick on the gui
press F4 to view the log file
Some Pictures:
The source:[code=auto:0]
; Gui, 1: +LastFound -Caption +Border ;+Alwaysontop +Owner
; SplitPath, A_ScriptFullPath, exeNameExt, exeDir, exeExt, ExeName, ExeDrive
#SingleInstance force
MainIcon=%A_ScriptDir%\Stopwatch.ico
if !A_IsCompiled ; Autocompiling
{
SplitPath, A_ScriptFullPath, , OutDir, , OutName
Icon:= MainIcon ? "/icon """ MainIcon """ " : ""
Process,Close, %OutName%.exe
Process,WaitClose, %OutName%.exe
RunWait, "%A_AhkPath%\..\Compiler\Ahk2Exe.exe" /in "%A_ScriptFullPath%" %Icon%/out "%OutDir%\%OutName%.exe"
Run, %OutDir%\%OutName%.exe
ExitApp
}
WinTitle:="StopWatch"
FileInstall, StopWatchb.ico, %A_ScriptDir%\StopWatchb.ico, 0 ;
FileInstall, StopWatchr.ico, %A_ScriptDir%\StopWatchR.ico, 0
; FileInstall, Stopwatch.ahk, %A_ScriptDir%\Stopwatch.ahk, 0 ; Sourcecode
FileInstall, Stopwatch.ico, %A_ScriptDir%\Stopwatch.ico, 0 ; MainIcon
_1_=666666
_2_=777777
_3_=888888
_4_=999999
_5_=AAAAAA
_6_=BBBBBB
_7_=CCCCCC
_8_=DDDDDD
_9_=EEEEEE
_10_=FFFFFF
menu,tray,nostandard
menu,tray,icon,%A_ScriptDir%\StopWatchb.ico
menu,tray,add,toggle GUI,GuiToggle
menu,tray,add,exit,exit
Menu,Tray,Default,toggle GUI ; Changes the menu's default item
Menu,Tray,Click,1 ; Single-click to activate the tray menu's default menu item.
Gui,Destroy
Gui,+LastFound -Caption +Border +ToolWindow +Alwaysontop +Owner ;+resize
GUI_ID:=WinExist() ; Get the Handle of the Window
Gui,Color,Black
Gui,font, S9 , webdings ; Set the font for the text
Gui,Add, Button, x0 yp w20 h20 Center hwndhStartSplit vStartSplit gPlay,= ;`;
Gui,Add, Button, x+0 yp wp hp Center hwndhStopReset vStopReset gTimerReset,<
Gui,Add, Button, x+0 yp wp hp Center hwndhViewLog vViewLog gViewLog,






