cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Count Pro/E sessions and change background colour accordingly

David_M
5-Regular Member

Count Pro/E sessions and change background colour accordingly

I'm trying to work out how to get Pro/E to change the background colour on start-up based on how many sessions are running (possibly by enumerating xtop.exe). I thought someone here might be able to provide a good starting point.

Reason being I like to have a visual indicator of which windows belong to each session. I do this using mapkeys to change the background colours. Nice and easy, but I'd prefer to have seemless automation of this feature and I think it may be handy for others too.


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
1 REPLY 1
dschenken
21-Topaz I
(To:David_M)

Think about a change to the .bat/scripting file in terms of looking at a file with a counter value in it and copying in a color file based on that counter. If the counter > number of color configs, then reset, otherwise add one and save the counter.

Top Tags