Renaming Window
Posted:
Thu Feb 11, 2016 12:24 pm
by Oakbridge
I've got a script step that occurs on startup but after I run the Upon Opening. This renames the window to include the name of the company and the name of the user.
However when I go to the calendar, DayBack complains.
Can I rename the window or does it have to rename as the DayBack name?
Re: Renaming Window
Posted:
Thu Feb 11, 2016 3:38 pm
by DanW
Thanks for reaching out to us on this!
Toward the top of DayBack's "Upon Opening" script, there are script steps which set the window title, and then store that window title in a global variable.
Since you are changing the name of the window after DayBack's opening script runs, you'll want to change the name before the opening script instead, and disable the Set Window Title step in "Upon Opening". Or, you could use the Set Window Title step in the Upon Opening script to set the window title instead of the downstream script step. In the end, DayBack needs to know the title of the main window that the calendar should run in, which is stored in the variable $$sc_SolutionWindowName.
I hope this helps! Keep me posted if you have any other questions.
Re: Renaming Window
Posted:
Mon Feb 15, 2016 12:39 pm
by Oakbridge
That suggestion solved the trick. Thanks