Jump to content

Add pop-up when removing attachment?


This topic is 6118 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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

Link to comment
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.

Link to comment
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.

Link to comment
Share on other sites

This topic is 6118 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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