Jump to content

How to change a windowname/caption


 Share

Recommended Posts

Hi all,

Maybe this is a newbie question but how to change the name of a window/caption of an external program like winzip or something else that isn't written in auto it.

thanks in advance

Lookup WinSetTitle in the help file.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

this doesn't work

It works for me, remember it will only work in active windows.

Show us what you tried.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

Hmm, I believe it will also work on windows that aren't necessarily active.

Here's some code that renames the Calculator window (it works!):

Run('Calc')
WinWait('Calculator')
WinSetTitle('Calculator', '', 'Klackulator')
Link to comment
Share on other sites

Hmm, I believe it will also work on windows that aren't necessarily active.

Here's some code that renames the Calculator window (it works!):

Run('Calc')
WinWait('Calculator')
WinSetTitle('Calculator', '', 'Klackulator')
By active I mean the program must be running. It cannot be renamed so that it will always start with a new title.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...