Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting window size from a shell script 2

Status
Not open for further replies.

sampsonr

Programmer
May 22, 2002
75
US
What I want to do is determine the size (columns and rows) of the window a script is running in. xwininfo will tell me that but I have to either click in the window or know the window name/id before calling it.

Requiring a click isn't satisfactory in this script so is there a program that will print the name and/or id of the window in which it is executing so I can capture it and pass that to xwininfo?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top