Dr. Evil Posted June 9, 2006 Posted June 9, 2006 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!
IdealData Posted June 10, 2006 Posted June 10, 2006 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
Dr. Evil Posted June 10, 2006 Author Posted June 10, 2006 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.
Recommended Posts
This topic is 6743 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now