June 9, 200619 yr Hello Fellow/Female Datamates, I am looking for some help on a print script, heres the idea… ——————— Go to layout, new window enter preview mode window adjust to fit pause script, indefinitely - User option CANCEL close window go to original layout enter edit mode window size to fit - User option PRINT print close window go to original layout enter edit mode window size to fit ——————— Basically, I'm looking for HOW-TO run script with IF option this do that, and IF option that do this. The two options I will need in this script is CANCEL or PRINT. Thank you for any help!
June 10, 200619 yr Check out the Get(lastMessageChoice) function. This allows you to determine the button selected by the user from a dialog choice. from there you can direct your script(s). Roughly speaking... If Get(LastMessageChoice) = 1 Perform script(PRINTSCRIPT) Else Perfrom script(CANCELSCRIPT) End
June 10, 200619 yr Author Hello IdealData, How would I give user the "choice" of PRINT or CANCEL? I want this to work like the (Allow User to Abort)on/off). e.i. if allow user to abort is on, then gives choice of CONTINUE or CANCEL. I believe I will be able to use your if(get last choice) once I understand how to give the user the choice. This just came to me as I am writing, Maybe I can use the (Allow User to Abort to detirmin the next script step. I will try this now. And if it works then, next question is… can i change what the text on choice, e.i. change CONTINUE to PRINT??? Thank you very much for your reply.
Create an account or sign in to comment