WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Publish "load message" and "load title" (https://forum.worldviz.com/showthread.php?t=2282)

pcatalano 09-24-2009 10:41 AM

Publish "load message" and "load title"
 
The documentation states that the load message and title ("Vizard launching, please wait...") seen when a published exe is run can be changed using a configuration option.

The options are listed as:
viz.publish.load_message
viz.publish.load_title

Attempting to set these options and running, however, produces the following error:
AttributeError: 'module' object has no attribute 'publish'

Is there another way to do this?

The documentation also states the icon can be changed through viz.window.icon but this doesn't seem to do anything.

farshizzo 09-24-2009 10:43 AM

You must use the viz.setOption command to set configuration options:
Code:

viz.setOption('viz.publish.load_message','My load message')
viz.setOption('viz.publish.load_title','My load title')
viz.setOption('viz.window.icon','myicon.ico')


pcatalano 09-24-2009 10:46 AM

Whoops
 
Oh, well, don't I feel silly. Thought I tried that and it didn't work but I must have typo'd it.

Thanks for the prompt reply!


All times are GMT -7. The time now is 10:38 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC