Jump to content

Recommended Posts

Posted

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

Posted

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

Posted

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

Posted

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')
Posted

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

Posted

By active I mean the program must be running. It cannot be renamed so that it will always start with a new title.

Thank you all , When I implented the winwait part it worked! B)

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
×
×
  • Create New...