Description:
Enable or disable the debug mode for log messages.
If enabled, debug messages are shown.
Description:
If the application executing this script is a console application, this function returns true.
If it is an UI (User Interface) application, it returns false.
Description:
Returns a new _pythonGenericUI class.
Description:
Returns a new _rrPython_CrossBatch class.
Parameters:
logLvL rrLog_level |
Log levels, see help section Enumeration logLvl |
PyObject* message |
The message itself. message can be string, unicode, integer or float |
Description:
Writes an message to the RR log file/log window.
Parameters:
logLvL rrLog_level |
Log levels, see help section Enumeration logLvl |
PyObject* message |
The message itself. message can be string, unicode, integer or float |
PyObject* location |
- not used any more - kept for compability |
Description:
Writes an information to the RR log file/window.
Parameters:
logLvL rrLog_level |
Log levels, see help section Enumeration logLvl info will display a question dialog and progress and default dialog. debug will display a message box no matter if the application is running is debug mode or not |
PyObject* msg |
error_msg can be string, unicode, integer or float |
PyObject* btn1 |
Label on the first button. (string, unicode, integer or float) |
PyObject* btn2 |
Optional: Label on the second button. If an empty string is set, the button is not shown. (string, unicode, integer or float) |
bool showCancel |
If true, the message box displays a cancel button. And it is able to return -1. |
int waitTime |
Countdown how long the message box should be displayed. An artist who left the workstation should not always be responsible that the script cannot continue. |
Description:
Displays a message box for the user. (rrClient and rrServer will not display any message box)
It also writes the text into the RR log file/window.
Return Value:
1 |
Button 1 was clicked. |
0 |
•showCancel true: Button 2 was clicked. •showCancel false: Button 2 was clicked OR dialog was closed. |
-1 |
showCancel true: "cancel" was clicked or dialog was closed. |
Part of the progress bar.
Description:
Shows/Hides the progress dialog.
Part of the progress bar.
Description:
Hides the first/second progress bar.
If you assign a value to the progress bar, it is shown again.
Part of the progress bar.
Return Value:
If the cancel button was pressed, then this function returns true.
NOTE: The cancel status is kept for all jobs executed during a perJob script execution.
Part of the progress bar.
Description:
Resets the CancelPressed status to False.
Part of the progress bar.
Description:
Show/hide the cancel button.
Part of the progress bar.
Parameters:
text The text to be shown (string, unicode, integer or float)
Description:
Shows an information label on the dialog.
Part of the progress bar.
Parameters:
maxValue the new maximum value
Description:
Sets the maximum value for the first/second progress bar.
Part of the progress bar.
Parameters:
value The current value of the progress
Description:
Sets the current value for the first/second progress bar.
Part of the progress bar.
Parameters:
value |
The current value of the progress |
label |
The text to be shown (string, unicode, integer or float) |
Description:
Sets the current value for the first/second progress bar.
As well as a text inside the progress bar.
Description:
While python functions are running, the process (rrControl, rrSubmitter) is not able to refresh the UI ( The main ui as well as e.g. the python progress bar).
You probably know this from freezed applications, they do not redraw the UI.
And after some time windows reports that the application might have freezed.
Calling this function gives the UI some time to redraw if necessary.
Description:
Returns the [RR]/bin/os/ path for the current OS.
Description:
Returns the root path of the share RR folder.
Description:
Returns the rrServer name or IP.
Can be used for TCP connections to the rrServer