seattleflo Posted July 19, 2007 Posted July 19, 2007 Hi, Is there a way to script a pop-up from a "Remove Attachment" button, alerting the user that they are about to remove it? This request might sound silly, but I have "user" concern that there will be instances where this button is unintentionally hit, followed by intense moment of freaking out... I would just like a pop-up to warn, "Are you sure you want to remove this attachment?" (= Thanks so much. Seattleflo
mr_vodka Posted July 19, 2007 Posted July 19, 2007 Just use a custom dialog in your remove attachment script to display your message. Allow the users to continue or cancel.
Vaughan Posted July 19, 2007 Posted July 19, 2007 Uses these steps in your script: Show Custom Dialog [] If [ Get( LastMessageChoice ) = 1 ] Else If [ Get( LastMessageChoice ) = 2 ] Else If [ Get( LastMessageChoice ) = 3 ] End If The astute reader (or as Raymond Chen calls them, "nitpickers") will notice that the last Else If expression is redundant: since there are only three buttons, it could be replaced by an unconditional Else step and still function correctly.
Recommended Posts
This topic is 6331 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