April 18, 200817 yr I have got a script that is sending me in circles! Basically the idea of the script is to search a stock file for a list of items. I give the user the option to select from three fields to search on using a 'Show Custom Dialog' box. Using the Script Debugger I have discovered that the only time that it writes data to the global field to be used in the next part of the script is when the default button is selected and not when either of the other buttons are selected by the user. Any thoughts?
April 18, 200817 yr My thoughts? It stinks! Here is what the help file says: "Button 1, the default or rightmost button, is the only button that will write information from the input fields to a file." Yes it's true, and yes it's bad.
April 18, 200817 yr If you want a more robust dialog, you may want to check out the Troi Dialog plug-in. Troi products are great.
May 21, 200817 yr Yes, this is REALLY bad. Does anyone know if it will be fixed in the next version??? Just wasted time figuring this out.... Atleast this post confirms my results. Thanks.
May 21, 200817 yr Something else to watch out for with the Show Custom Dialog is that if you press the 'ESC' key, it runs the default button, which must be the button to use if you want to use an input field. Which is the button that runs whatever functionality the user is trying to press the ESC to avoid. Ouch. This has been this way ever since the Custom Dialog existed. I never use it.
Create an account or sign in to comment