Jump to content
Sign in to follow this  

Add pop-up when removing attachment?

Recommended Posts


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.


Share this post

Link to post
Share on other sites

Just use a custom dialog in your remove attachment script to display your message. Allow the users to continue or cancel.

Share this post

Link to post
Share on other sites

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.

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Who Viewed the Topic

    1 member has viewed this topic:

Important Information

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