cterrell16 Posted August 6, 2015 Posted August 6, 2015 Is there a way to create some type of notification (Like a Popup box) after a script has printed something.
MonkeybreadSoftware Posted August 6, 2015 Posted August 6, 2015 The script could show a custom dialog via the script step in FileMaker. Or for Mac you can use User Notification functions in the MBS Plugin. http://mbsplugins.eu/component_UserNotification.shtml
dwdata Posted August 6, 2015 Posted August 6, 2015 Error trapping might be an option too - something like this:Allow User Abort [OFF]Set Error Capture [ON]Page Setup [restore]Print[]If [Get(LastError) <> 0] Show Message['There was a problem Printing']Else Show Message['Printing Successful']EndIf
cterrell16 Posted August 11, 2015 Author Posted August 11, 2015 Ok, I've got the custom dialog box to pop up. My current issue is that I would only like it to pop up if the field i'm using has something in it. If it's blank I do not need it to pop up. How would I do that. Using the if then i'm assuming.
dwdata Posted August 12, 2015 Posted August 12, 2015 YES!Allow User Abort [OFF]Set Error Capture [ON]Page Setup [restore]Print[]If[not IsEmpty(yourField)] If [Get(LastError) <> 0]] Show Message['There was a problem Printing'] Else Show Message['Printing Successful'] EndIfEndIf
Recommended Posts
This topic is 3390 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