Messages - Armando [ switch to compact view ]

Pages: prev1 ... 19 20 21 22 23 [24] 25 26 27 28 29 ... 545next
116
Post New Requests Here / Re: IDEA: Very simple timeclock utility
« on: March 19, 2012, 12:07 AM »
no, i didn't change anything else, just 8 "off"s. with it off, when i choose "out to lunch" from the right-click tray icon menu, a msgbox with the title "out to lunch" pops up but it isn't logged, the time "out to lunch" was begun does not show in my detail log. it may stop logging the elapsed time to window that had focus before invoking "out to lunch" but it doesn't log the time the "out to lunch" button was up.

Weird. Here the message box is logged, with proper time, etc. It's always been. And everything is set to OFF for the reason mentioned in my previous post.

I just tried the original version, and it does log these message box. What it doesn't log though are the comments from the "Add a comment" dialog.

you're saying if i switched windows while the button is up, it would continue to log the window that has focus? i suppose that's okay, as long as "out to lunch" shows up in the detail view--that's my main interest.

Yes -- unless I'm mistaken -- that's what it should be doing from what I understood after a quick look at the script.

well, you know what they say about a little knowledge being a dangerous thing! i used to program a lot in BASIC and  AutoLISP, but i haven't programed for a while so i'm enjoying tinkering with the insides in AHK.

Hehe. Programming/scripting is fun !  :)

117
Post New Requests Here / Re: IDEA: Very simple timeclock utility
« on: March 18, 2012, 08:56 PM »
perhaps earlier in this thread it was debated whether the preset messages should be logged. i want them to, so the other change i made to TitleLog.ahk is to change the lines
SetTimer, logchanges, off
to on, all 8 times, and that seems to do it!

Actually, the on/off switch has nothing to do with logging or not the preset messages. Unless you made some other changes, they should already be logged -- here, they are...

As far as I understood is that the parameter determines whether other windows titles will be logged or not while the preset message is visible. Personally I think it makes more sense to leave the value as it is :  off

What wasn't working properly before was that the custom comments weren't showing in the details view. I "fixed" that but forgot to mention it in the script. Custom comments didn't show up because they had no value to calculate the "Elapsed" (%result%) value. So I just added literals. I must admit that I took maybe 10min to create that "solution". It's a quick hack as I only needed to see my custom comments in the detailed view.  :-[

when i look at the details log, and click on the summary view button, the summary log opens, but when i close it, the detail view is now empty! is it supposed to do that? no problem, i just close it and reopen it.

That has always been the case I think. I didn't try to fix it as it doesn't bother me enough. I just click the "Refresh & Reset list" button.

thanx for updating this project!

You're welcome... I'm not an official updater, though...  :-[

118
Thanks for that classic.
I won my bet too. The only thing is I'm not sure if it's a good thing...  :)

119
Post New Requests Here / Re: IDEA: Very simple timeclock utility
« on: March 17, 2012, 06:53 PM »
I kept being interrupted by daughter dramas...!

So here. I corrected the icon problem. The script looks for it in the working directory (i.e. in the folder where you're running the script), if it doesn't exist, it just moves along...

I also provided a compiled version for those who'd preferred to run an EXE instead.

You can just replace your current .AHK or .EXE file and tell me if it works well.

120
Post New Requests Here / Re: IDEA: Very simple timeclock utility
« on: March 17, 2012, 05:58 PM »
Thanks !

1- Line 34 - Ooops. Yes I forgot about that icon business... . I use a custom icon too. I should've put a relative link the script folder, or something like that. I could fix that.

The other two aren't linked to my modifs. They were there before.

2- Line 114 -  Didn't change anything on that line. I'm not sure why you got an error though as I don't think you need a comma after "range". (See AHK documentation. E.g. GUI Control Types-> UpDown (3rd section on the page)). However, there's a syntax error there anyway. It shouldn't be "range 1-60" but "range1-60". (Note that making a syntax error there limits the number range to 100 instead of 60.)

 Gui, 2:add, UpDown, Range1-60, %idletime%

3- Line 443 :  I didn't touch that line either. Strangely, AHK's parser / script compiler doesn't yell at that period (and it didn't say a word about the wrong range argument !)... So it must be pretty forgiving.

Pages: prev1 ... 19 20 21 22 23 [24] 25 26 27 28 29 ... 545next
Go to full version