AutoHotkey Community

It is currently May 26th, 2012, 8:05 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Change color help?
PostPosted: July 13th, 2009, 2:43 am 
Offline

Joined: November 6th, 2006, 4:18 pm
Posts: 39
Location: Sechelt,BC
I would like white background instead of gray.
Thanks

Code:
#NoTrayIcon

SetTimer, aa, 60000  ; updates every 1 minute
aa:
IniRead, OutputVar, C:\My Folder\Total Time.csv, Minutes,Total Minutes, 0 ; If no value is found, assume it is 0.
OutputVar++
IniWrite, %OutputVar%, C:\My Folder\Total Time.csv, Minutes,Total Minutes
return
F11::
Gui +LastFound -Caption +ToolWindow
Gui, Color, 0x454545
Gui, Font, s20
Gui, Add, Text, vTime w500 +Center
Gui, Show
SetTimer, UpdateOSD, 0000
Gosub, UpdateOSD
OnMessage(0x201, "WM_LBUTTONDOWN")
IniRead, OutputVar, C:\My Folder\Total Time.csv, Minutes,Total Minutes
UpdateOSD:
GuiControl,, Time, % ("Total Time  " d := OutputVar//1440) . " " . ("hh" d > 1 || !d ? "days" : "day")
             . " " . (h := (OutputVar-d*1440)//60) . " " . (h > 1 || !h ? "hours" : "hour")
             . " " . (m := OutputVar-h*60-d*1440) . " " . (m > 1 || !m ? "mins" : "min")

           
Return

WM_LBUTTONDOWN() {
   PostMessage, 0xA1, 2
}


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 13th, 2009, 7:09 am 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
Code:
Gui, Color, 0xFFFFFF

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, Retro Gamer, StepO, wolverineks, Yahoo [Bot] and 65 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group