Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Aug 5th, 2005, 6:25 AM   #1
MegaArcon
Programmer
 
MegaArcon's Avatar
 
Join Date: Aug 2005
Posts: 66
Rep Power: 0 MegaArcon is an unknown quantity at this point
Question A way to open an app with a specific name/id?

Hi all,

I was wondering if anybody out there knew how to open an application with a specific window name or id. To be specific, I'm writing a set of scripts that play various media files though mplayer, and I want mplayer open with either a specific window name, or an id. Or even someway to get the window id on startup. That would be a great help!

From looking myself...the closest I've come to finding a solution is the x11 command "xwininfo," which returns a great deal of info about the window including it's id...but I need the name of the window for that to work...and since there will be multiple mplayers open at one time, it would be most helpful if I had a way to either set a name to mplayer on startup, or get/set it's id on startup.

Thanks for all the help!
MegaArcon is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:34 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC