AutoHotkey Community

It is currently May 26th, 2012, 10:33 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: September 7th, 2009, 4:36 am 
Offline

Joined: June 12th, 2009, 11:36 pm
Posts: 1173
Location: Indianapolis IN, USA
The story (Irrelevant, you can skip if you don't care, I just feel like typing something.):

I was laying down in my girlfriends bed the other day. She has these plastic shelving drawer things right by the head of her bed and she has a watch in it. The watch has no strap, thanks to her dog :\. Pretty much she finds it useless and doesn't really care about it and forgets it's in there. It still works and everything and it beeps every hour. The other day we had NOTHING to do. I was just sitting on her bed playing with her dog and she was reading a book. I have an OCD to know what time it is and I hate having to ask for her cell phone or ask her to tell me what time it is because she is reading. She pretty much has no clocks or anything in the house lolz. I was sitting there wondering what time it was but she was already in a pissy mood so I didn't bother. I always forget her watch is in there, but I knew it was passed 2 o'clock. I was also just sitting there thinking of stuff I could program on the computer. I heard the watch beep and I knew it was 3 o'clock. Then I was like, "I have a great idea for a program."

The nitty gritty stuff:
So I was wanting to make a clock that would display a tray tip at every hour. I thought it would be easy and it pretty much is. I was going to put it in the start up folder so I wouldn't have to worry about starting it every time.

Then I thought, the only way I could really have it do that, to my knowledge, would be to program it at every hour. I don't know much about math operators or date and time operators in AHK and I was wondering if there was a much easier or shorter method I could approach this.

I'm not asking you to do any programming at all, I want to research and do the programming myself, for the learns, but I was wondering what your suggestions for the method of getting it to know what time it was and have it display the tooltip every hour.

I was thinking, I could set a timer to display the tool tip every hour, but then it'd be off the hour depending on when it started.

*Yes I know "for the learns" isn't proper English, but who really cares.*

_________________
www.AutoHotkey.net/~Eedis
I love my wife and daughter so much.
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 7th, 2009, 5:52 am 
Online

Joined: April 8th, 2009, 7:49 pm
Posts: 6066
Location: San Diego, California
Quote:
So I was wanting to make a clock that would display a tray tip at every hour.
The clocks and watches your hear make a noise "every hour, on the hour"

How do you tell on the hour" :?:
By testing both these variables to see if they are zero: A_Min, A_Sec

But I have a question for you, why not get a watch? $10?, $5? at some discount stores you can get one for $1 :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 7th, 2009, 5:55 am 
Offline

Joined: June 12th, 2009, 11:36 pm
Posts: 1173
Location: Indianapolis IN, USA
Lolz, because I need something to program and I don't want to waste money on something tacky that I hate anyways.

*Edit* Oh and listening to loud music. I won't be able to hear the beep.

_________________
www.AutoHotkey.net/~Eedis
I love my wife and daughter so much.
Image


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Apollo, JSLover, Miguel, rbrtryn 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