 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
redd
Joined: 06 Nov 2006 Posts: 39 Location: Sechelt,BC
|
Posted: Mon Dec 15, 2008 4:02 am Post subject: Display on Desktop ? |
|
|
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 |
|
 |
Krogdor
Joined: 18 Apr 2008 Posts: 1390 Location: The Interwebs
|
|
| Back to top |
|
 |
redd
Joined: 06 Nov 2006 Posts: 39 Location: Sechelt,BC
|
Posted: Mon Dec 15, 2008 4:16 pm Post subject: |
|
|
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 |
|
 |
redd
Joined: 06 Nov 2006 Posts: 39 Location: Sechelt,BC
|
Posted: Mon Dec 15, 2008 11:27 pm Post subject: |
|
|
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 |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|