App to put Xojo version in IDE window title

Just in case you missed it in the other thread here’s a little program that will inject the Xojo verion into the title bar of the window to help when working with multiple version of the IDE, I made this as <https://xojo.com/issue/47408> has been waiting for over a year now and I had a little brain wave when it was mentioned again.

https://www.dropbox.com/s/0xnaoxzkqawm7nc/XojoVersionTweak.xojo_binary_project?dl=1


or

If you build it and run it, it will sit on the tray, right click it to exit.

Leave it running and it will check the Xojo titles and add the version from the path as long as it can extract the version, if you change folder names etc. it will probably break but you should be able to tweak it to your preference.

It runs on a 1 second timer as the title of the window changes when you type, save etc, so we can keep setting it back to the way we want.

I might tweak it a bit to reduce the amount of enumeration but it works well for a quick hack and the enumerations will be cached anyway. No error checking, ugly code, no tray icon use at your own risk etc. etc. :wink:

If you look at the bottom of EnumProc you can comment out either SetWindowText if you want the version at the start or end.

The advantage of doing it this way is that it works for older versions of the IDE without a re-release. It might need a code tweak if title formats changes going back through older version of the IDE as I’ve not tested before 2016r3.

Sorry macOS & Linux, this is Windows only.

:frowning:

Do we need to ask Christian for a version that runs on macOS?

Want a mac edition? :slight_smile:

I’m sure one of the mac guru’s here can provide the calls and #if it in (if its possible).

Get a pokey stick out :wink:

poke poke