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 

Display on Desktop ?

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



Joined: 06 Nov 2006
Posts: 39
Location: Sechelt,BC

PostPosted: Mon Dec 15, 2008 4:02 am    Post subject: Display on Desktop ? Reply with quote

How would I put on desktop,not msgbox
Code:
F1::
IniRead, OutputVar, C:\Total Time.csv, Minutes,Total Minutes
OutputVar := OutputVar / 60
MsgBox, %OutputVar% hours
Return


Last edited by redd on Mon Dec 15, 2008 6:55 am; edited 1 time in total
Back to top
View user's profile Send private message
Krogdor



Joined: 18 Apr 2008
Posts: 1390
Location: The Interwebs

PostPosted: Mon Dec 15, 2008 4:15 am    Post subject: Reply with quote

http://www.autohotkey.com/forum/viewtopic.php?p=54403#54403
Back to top
View user's profile Send private message AIM Address
redd



Joined: 06 Nov 2006
Posts: 39
Location: Sechelt,BC

PostPosted: Mon Dec 15, 2008 4:16 pm    Post subject: Reply with quote

I still can't get it.I like this display.Change SetTimer to %OutputVar%
Code:
CustomColor = 00ff00
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow
Gui, Color, %CustomColor%
Gui, Font, s32
Gui, Add, Text, vMyText cWhite, XXXXX, YYYYY
WinSet, TransColor, %CustomColor% 200
SetFormat, Float, 02.0
m := s := "00"
SetTimer, UpdateMS, 10
Gosub, UpdateMS
Gui, Show, x0 y400 NoActivate
RETURN
Back to top
View user's profile Send private message
redd



Joined: 06 Nov 2006
Posts: 39
Location: Sechelt,BC

PostPosted: Mon Dec 15, 2008 11:27 pm    Post subject: Reply with quote

I would like F1 to display on desktop(not msgbox)(.Format D=001,H=22,M=21 would be great
Code:

SetTimer, aa, 60000  ; updates every 1 minute
aa:
IniRead, OutputVar, C:\Temp\myfile.ini, section1, key, 0 ; If no value is found, assume it is 0.
OutputVar++
IniWrite, %OutputVar%, C:\Temp\myfile.ini, section1, key
return

F1::
IniRead, OutputVar, C:\Temp\myfile.ini, section1, key
MsgBox, %OutputVar% mins
Return
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