
Re: How do I do this on Win...
SandmanSubject | Re: How do I do this on Windows? |
From | Sandman |
Date | 04/24/2004 20:36 (04/24/2004 20:36) |
Message-ID | <mr-76F5BD.20360124042004@news.fu-berlin.de> |
Client | |
Newsgroups | comp.sys.mac.advocacy |
Follows | Jeffery Priddy |
Followups | Jeffery Priddy (4d, 7h & 31m) |
In article <c6e5k7$tq1$1@gargoyle.oit.duke.edu>, Jeffery Priddy <jpriddy@spambegone.mail.duke.edu>wrote:
Jeffery PriddyYes, finally! :)
Let's see.
The current song thing: I'm not sure about WMP; I use Winamp. If I were rolling my own, I'd use tlist (like ps) to get Winamp's title bar text, which would include the current song. Just parse out the playlist number and the Winamp title. It wouldn't surprise me if there were little applets or plugins to export this info from Winmap or WMP, but I haven't looked.
Prompting yourself for what you're currently doing would be easy. It's not hard to ask Windows what task currently has focus, so you could automate a variation of that, naming the app you currently have forward.
As for logon status, I have a freebie from sysinternals called psloggedon which shows who's logged on locally and who's accessing files or pipes through the network. There are a lot of other ways to do this, but this is what I would use.
The idle time: Well, I had an elaborate scheme cooked up to do this, based on the Task Scheduler, and it's ability to start any task after x minutes of idle time (usefull, eh?). But then my curiosity got the best of me, and I peeked thru Google to see if I could find anything better. I found a COM object for use with WSH that returns idle time straight up, so all my machinations seemed overly complicated. I could describe it, if you were curious, but now I'd just use this add-on.
Finally, someone answered your question... :-)
Thanks a lot. "tlist" is built in, right? It wouldn't be able to do things like fetch genr? and stuff like that, right? The other utilities were addons, correct?
-- Sandman[.net]
Jeffery Priddy (4d, 7h & 31m)
Thread
-
How do I do this on Windows? Sandman 04/21/2004 18:54
-
Re: How do I do this on Windows? §¼¡Ý 04/21/2004 20:28
-
Sandman 04/21/2004 20:30
-
§¼¡Ý 04/21/2004 20:41
-
Harri Mellin 04/21/2004 21:46
-
Sandman 04/21/2004 22:30
-
Harri Mellin 04/21/2004 23:47
-
-
-
-
Duke Robillard 04/21/2004 22:30
-
Sandman 04/21/2004 22:49
-
Harri Mellin 04/21/2004 23:42
-
-
Tim Smith 04/23/2004 01:05
-
§¼¡Ý 04/23/2004 01:36
-
John 04/23/2004 02:07
-
Tim Adams 04/23/2004 02:47
-
George Graves 04/23/2004 03:15
-
John 04/23/2004 03:34
-
Mayor of R'lyeh 04/23/2004 03:44
-
Sandman 04/23/2004 08:14
-
Jim Polaski 04/23/2004 12:45
-
Jim Polaski 04/24/2004 02:32
-
-
Tim Adams 04/23/2004 04:10
-
John 04/23/2004 04:27
-
Alan Baker 04/23/2004 05:31
-
John 04/23/2004 05:59
-
Alan Baker 04/23/2004 06:16
-
George Graves 04/23/2004 09:21
-
Jim Polaski 04/23/2004 12:51
-
Jeffery Priddy 04/24/2004 18:46
-
Nash*ton 04/25/2004 01:10
-
§¼¡Ý 04/25/2004 01:16
-
Jim Polaski 04/26/2004 07:43
-
Jeffery Priddy 04/29/2004 04:07
-
-
-
Jim Polaski 04/25/2004 05:19
-
Nash*ton 04/25/2004 08:29
-
-
-
-
-
Mayor of R'lyeh 04/23/2004 18:04
-
-
Tim Adams 04/23/2004 06:43
-
George Graves 04/23/2004 09:20
-
Jim Polaski 04/23/2004 12:42
-
-
George Graves 04/23/2004 09:19
-
-
George Graves 04/23/2004 09:19
-
Jim Polaski 04/23/2004 12:41
-
GreyCloud 04/24/2004 01:00
-
George Graves 04/24/2004 07:50
-
GreyCloud 04/24/2004 18:42
-
-
-
-
-
§¼¡Ý 04/23/2004 05:18
-
-
-
-
-
zurg 04/21/2004 23:39
-
Nash*ton 04/22/2004 00:17
-
Tim Smith 04/23/2004 01:07
-
Jeffery Priddy 04/24/2004 18:45
-
Sandman 04/24/2004 20:36
-
Jeffery Priddy 04/29/2004 04:07
-
-
-
-
§¼¡Ý 04/25/2004 01:28