How to dynamically set the Application Title with AS Studio

Hi All!

I was wondering if anyone can help me out with this…

There are 2 stages I would like to accomplish with my app so I can finish it, but I haven’t been able to find much help on it …

STAGE ONE
I would like to first load a plain text file from my Resources folder (inside of my app) and place the text of the file directly into a variable. (No idea on how to do this! LOL)

STAGE TWO
I would like to use that variable to change the name of the Application at runtime. (It should also replace the old application name in the menus!)

Thanks very much in advance for any help you can throw my way!

-Mel

I’ve managed to get quite far! All I need to know now is:

how to change the name of the application (the bold text in the menu bar). I think it is being set from Xcode but am not sure how to change it at runtime … Any ideas?

Thanks !

-Mel

I am pretty sure this is not possible. Changing the name of an application is somewhat of
a process in itself.

You can localize your application name by adding a couple keys to your info.plist and localizing it…
http://developer.apple.com/documentation/MacOSX/Conceptual/BPInternational/Articles/LocalizingPathnames.html#//apple_ref/doc/uid/20002141-97582-BCIDCGHG

Thanks guys!