Created
June 7, 2024 11:39
-
-
Save bjoerntx/7d28a26b80e08d45e6fcee12a417e543 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function showPrintMessage() { | |
var response = app.alert({ | |
cMsg: 'Would you like to print this document?', | |
cTitle: 'Print Document', | |
nIcon: 2, | |
nType: 1 + 2 | |
}); | |
if (response == 4) { | |
this.print(); | |
} | |
} | |
showPrintMessage(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment