Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Basic Print Script w/ User Options

Featured Replies

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!

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

  • 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

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.