August 6, 201510 yr Is there a way to create some type of notification (Like a Popup box) after a script has printed something.
August 6, 201510 yr 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
August 6, 201510 yr 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
August 11, 201510 yr Author 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.
August 12, 201510 yr 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
Create an account or sign in to comment