topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday April 19, 2024, 11:04 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - DyNama [ switch to compact view ]

Pages: prev1 2 [3]
51
Post New Requests Here / Re: IDEA: Very simple timeclock utility
« on: March 19, 2012, 10:39 PM »
here is the detail view after pressing "out to lunch" and "phone call" a dozen more times (sorted by application):
titlelog3.jpg

52
Post New Requests Here / Re: IDEA: Very simple timeclock utility
« on: March 19, 2012, 10:19 PM »
i have opened and closed the message box a dozen times since i downloaded 1.17.28 and there are no "out to lunch" logs at all:

titlelog2.jpg

i want to get what you get! how can it be different? the version i'm running still has the range typo and doesn't do anything when double-clicked.

53
Post New Requests Here / Re: IDEA: Very simple timeclock utility
« on: March 19, 2012, 07:42 PM »
TitleLog just doesn't log the presets msgboxes for me, not in 1.17.29 or 1.17.28. i downloaded a new copy of Brett's last .ahk version, deleted the period in the TV_modify line, and ran it from a temp folder with no further modification. after a while, i picked "out to lunch" from the tray menu, and 10 minutes later took this screen cap:

titlelog.jpg

notice "out to lunch" is not logged, nor is calling up the detail log while the "out to lunch" msgbox is still going. that's why i feel the need to change something. while the "out to lunch" box is up, titlelog is just not logging anything at all.

i'm running the titlelog.ahk file with AutoHotkey_L on a win7 laptop. i'm also running a hotstring.ahk file that i created, and 2 AutoHotkey executable programs, CapShift and Close2Quit, that i got here on donationcoder.

54
Post New Requests Here / Re: IDEA: Very simple timeclock utility
« on: March 18, 2012, 10:57 PM »
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.

when it is set to "on", it does show in the detail log and shows the elapsed time the button was up. 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.

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. thanx!

55
Post New Requests Here / Re: IDEA: Very simple timeclock utility
« on: March 18, 2012, 05:48 PM »
Armando,
looks good!

i'm brand spanking new to AHK! deleting that period was the very first edit i ever made to an AHK file! last night i tried to make a hotstring and it took over 1-1/2 hours to get the syntax right! (i wasn't putting %s around a %variable%  :-[)

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!

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.

thanx for updating this project!

56
Post New Requests Here / Re: IDEA: Very simple timeclock utility
« on: March 17, 2012, 03:40 PM »
Some users showed interest so here's my tweaked version (attached)

P.S. : And a big THANK YOU to Brett for that great program.

Thanx, Armando, for your tweeks! i did have to fix a few typos:
Line 34:
  Menu, Tray, Icon, E:\configurations\AHK Scripts\TitleLog\TitleLog.ico, , 1
i had to change the path. in fact i don't have an AHK icon handy, so i put the path to a clock icon.

Line 114:
  Gui, 2:add, UpDown, Range 1-60,%idletime%
When i click Preference on the menu, this line errored, so i tried putting a comma after Range, and it works!

Line 443:
  TV_Modify(0, "Sort").
i deleted the period.

Thanx again, Armando, and original author Brett!

57
oh, yeah, much faster! the previous version took long enough to get distracted!

thanx!

58
i can do that! but i made a mistake, all of them total only 76megs  :-[ i must have included all the other files in this folder.

7zip Ultra compresses them down to only 2.3megs! gotta love file compression!

59
...  How large are the files he is running this on?   :tellme:  If you want, have him zip them up and send them to me for testing.

i don't really know. i would guess the number of ScheduleData files are governed by how many weeks of past tv listings we keep and the size is governed by the number of channels in the listings. the total size of all my ScheduleData*.xml files is 1.7gb.

60
Just wanted to stick my nose in the door and say how much I love seeing these kinds of threads  :Thmbsup:

thanx for the cool service, Mouser!

i've run our program, which i renamed DGNameParser.exe, several times without any problems  :P but when a fellow US user tried it, he posted this to that software's forum:

When running DyNamaParsar I get the following error msg. start when processing 495 of 576:

Error: Memory limit reacched (see #Maxmem in the help file).
The current thread will exit.
Line#
042:myBlock .= myTitles . "

skwire, what could cause that?

61
that'll do it! fantastic! thanx again!  :D

62
oops, i did find a little error in it. in the ScheduleData-45133-OH34525R(All)-1321308000.XML file, the 50kb file, sample is a title that contains a comma:

Title="1,000 Ways to Die" CLetter="SPIKETV"

and the parser program cuts off the comma and everything in front of it: 000 Ways to Die

63
worked great! that is absolutely marvelous! extraordinary! i've wanted a program like this for years! thank you very much!  :Thmbsup:

was that much trouble? i'm going to have to look into AHK, it seems to be very powerful.

this UK program provides this list for it's UK customers but not it's US customers. i actually complained about the missing list on their forum! i will post it in my old thread but for all i know, i'm the only one who missed it. thanks again!

64
i ought to add, per #3, that the sort is to be not case sensitive.

65
So, to recap, what you want is:

  • All titles extracted into a list.
  • UnHTML them.
  • Sort them.
  • Remove duplicates.
  • Spit this data out into a text file.

Questions:

  • I will assume that you would like to specify a root folder, have the program recurse through the subfolders, and build a list of all the titles in can find in all these Schedule*.XML files you have, right?
  • The original Schedule*.XML files are in UTF-16 format.  Would you like to keep that or convert them to something else?  UTF-8, etc.?

the source folder is always the same, the path gets changed only rarely, and all the source files are in that one folder, but there's also 750 Programme*.dat files in there too. the source files can stay unchanged, they get changed daily by the tv listing program, Digiguide (it's a UK programme). the output file, just a plain text file, would always be the same too, programmes.uq, in a different folder, overwriting the existing file. it's in Program Files (x86) and i sometimes have problems writing files to folders there--durn win7 permissions!--tho at the mo it lets me write or copy to this file.

thanx for your kind and prompt attention, Skwire! i used to code on the spot with AutoLISP when i was an AutoCAD draftsman (laid off), but i never learned any windows programming languages.

66
sure, here's 5 of them.

67
hi, gang, great forum! i produce an alphabetical list manually using several different programs but thought i'd see if i could automate the task.

a folder of my tv listing program has 2 kinds of files in it but i want to extract the names of tv shows from files matching the filename ScheduleData*.xml. here's a small chunk of the contents of 1 of the files:

<ch ChNo="15"><show Aff="" CId="28456692" PId="28410472" Title="Public Access" CLetter="PUAC015" STime="05/09/2011 14:00:00" Dur="240" Rep="N" New="" Logo="" Prem="" Fin=""><Categories><Category Id="1" /><Category Id="113" /></Categories></show></ch><ch ChNo="16"><show Aff="PBS" CId="28455507" PId="188545708" Title="WordWorld" CLetter="WPTD" STime="05/09/2011 15:30:00" Dur="30" Rep="Y" New="N" Logo="" Prem="" Fin=""><Categories><Category Id="1" /><Category Id="3" /><Category Id="7" /><Category Id="105" /><Category Id="106" /><Category Id="304" /><Category Id="702" /><Category Id="706" /><Category Id="1911" /></Categories></show></ch><ch ChNo="17"><show Aff="CBS" CId="28457103" PId="258095235" Title="The Price Is Right" CLetter="WHIO" STime="05/09/2011 15:00:00" Dur="60" Rep="N" New="Y" Logo="" Prem="" Fin=""><Categories><Category Id="7" /><Category Id="707" /><Category Id="1911" /></Categories></show></ch><ch ChNo="18"><show Aff="" CId="28455318" PId="28436365" Title="Information Channel" CLetter="INFO018" STime="05/09/2011 14:00:00" Dur="240" Rep="Y" New="N" Logo="" Prem="" Fin=""><Categories><Category Id="1" /><Category Id="113" /></Categories></show></ch>
the only data i want to extract are between Title= and CLetter markers, which i've bolded above.

what i want is a text file with all of those Titles from about 750 .xml files in alphabetical order (there will be 10s of thousands), stripping the quotes around the names and the Title= tag, eliminating all duplicates (about 35,000), and replacing &amp; with a real ampersand, and open and close quotes with ordinary keyboard quotes " so that from the above sample i'd end up with a file that just has this in it:

Information Channel
Public Access
The Price Is Right
WordWorld

at present i use ReplaceText to isolate the Title= lines with carriage returns, Catview2000 to extract those lines to a new file, and TextPad to sort and eliminate duplicate titles. 2 of those programs are no longer being developed, the 3rd is unregistered shareware. since it is some trouble, i only make a new list occasionally.

68
very clever little utility! :) to run it under win7, i had to change the compatibility setting to winXP.

69
Finished Programs / Re: IDEA: Gracefully close Firefox on PC exit
« on: January 06, 2011, 02:03 PM »
i think Close2Quit works on my new win7 computer too!  :Thmbsup:

70
Finished Programs / Re: IDEA: Gracefully close Firefox on PC exit
« on: December 20, 2010, 12:46 PM »
by jove, Close2Quit worked! i think i just put "VuePrint" as part of the title of the windows in the windows version of C2Q, there were 4 open when i did a restart, and all 4 must have been closed "normally" because the .ini file of each did know where it left off. when i look at the settings of C2Q now, tho, it says "WindowsVuePrintClass".

is there any problem with having multiple copies of AutoHotKey running? i don't run AHK scripts. i put the windows version of C2Q and CAPshift in my startup.

71
Finished Programs / Re: IDEA: Gracefully close Firefox on PC exit
« on: December 18, 2010, 11:14 PM »
yes, winXP on a 6-1/2 year old Dell laptop. i only use YKill to identify which of the 8 clones i've made of VuePrint i might have open. all windows taskmanager says is vueprint.exe for each. Registered VuePrint hasn't been updated since 2002, a registered disk catalog i use says "copyright 2004", a registered calendar program i use says "copyright 2003", i even still use a DOS text editor that says "copyright 1987" (it sorts text files by column)! i guess i get used to software and keep using it until i want new features. i'm an unemployed AutoCAD draftsman (20 years!) and i did always use the latest version of that program.

but i'll look at Process Explorer. i love little utilities! while here at DC i downloaded not only Close2Quit, but also windows versions of CAPshift, WasteNot, TenTimer, ListNumberer, CutAway, and Files2Folder.

72
Finished Programs / Re: IDEA: Gracefully close Firefox on PC exit
« on: December 18, 2010, 03:52 AM »
thanx, Curt! i guess i'll have to try it, because i've always wanted a program that does this. i could have gone ahead and tried it, but 4 reboots ago, my computer shut down and never came back on! it had to be reformatted before the computer booted up again  :( that's why i asked first, these days i keep my reboots to a minimum.

1 other question, a process manager program i use (ykill) says the class is WindowsVuePrintClass. it also says firefox is MozillaUIWindowClass. i know nothing about Classes, so can i use whatever it says as the name of the Class?

73
Finished Programs / Re: IDEA: Gracefully close Firefox on PC exit
« on: December 16, 2010, 09:18 PM »
again restarting an old thread! but i'd like to ask a question: i have up to 8 windows of a picture viewer program open that i forget to close sometimes when i reboot. it remembers what picture it was on and the directory it was in if closed normally. they all have the program name in the window title: VuePrint - JPG File: [<name of file>]. if i just put Close | VuePrint once in Close2Quit, will it close each of them?

Pages: prev1 2 [3]