Jump to content
Sign in to follow this  
seattleflo

Add pop-up when removing attachment?

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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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