December 30, 200817 yr I have a simple script adding messages via a dialog. The dialog has one input field, a global with a default value (e.g. "Enter text here...". Dialog offers the user the chance to: (1) enter their comment in the input field (global) (2) click one of three button choices: add comment as a note; add comment as an event, and cancel. The oddity is that after much testing, only the default button works. If the secondary button is clicked, the "inputted text" never takes, and I get a message with default text "Enter text here...". If I enter identical text and click the default button, works flawlessly. I have stepped through this with Script Debugger to ensure the branching was correct, and there is no problem there. Just simply seems that the text entered into the global dialog input field does not 'take/commit' when you click button 2. Is this a known bug by any chance? Seems I have to split my script into two 2-button varients... Thanks for your wisdom!
December 30, 200817 yr It's not a bug, but a known and documented behavior: in a custom dialog, only the default (rightmost) button will write information from the input fields to a file.
Create an account or sign in to comment