"Don't show this again" checkbox in prompt?

All,
So I have a few scripts that are designed to act on the currently open document.
Some of them by nature are pretty destructive to the document because they're designed to do some crazy stuff.
So, when the user runs the script, I'm currently presenting them with a "confirm" dialog with a blurb explaining that they should make sure to save the document before running the script (so they can always return to the previous state).
Anyway, one of my co-workers was complaining about have to see this dialog every time they run the script, as well as some other alerts I use when there are errors.
So, there's basically 3 dialogs the user will see:
1. Confirm (Did you save your stuff, first?)
2. Script Parameters (ScriptUI controls to adjust the various script settings)
3. Success/Error messages
Is there a way to add a "don't show this again" checkbox to the confirm modal dialog so that it would only show the first time the script is run (per session)?
I can probably hide the Success/Error alerts by just adding a checkbox in the ScriptUI dialog, which would obviously set a variable, but in order to keep the confirm prompt from showing the next time they run the script, I would imagine I'd have to store a "cookie" type object on the users local drive? Is that possible?

You don't need a cookie… A plain text file somewhere should do you… If you were to write in the Folder.temp directory it should be flushed at computer restart… ( or so I think not checked that )

Similar Messages

  • Creating a "Don't show this again" checkbox

    Hi all,
    I'm working on a mini-site and I have this welcome page at the beginning that allows you to continue to the homepage with a 'continue' button. I'd like to add a checkbox enabling a "don't show this again" option when checked. I have been trying to do it using the checkbox component but I'm not sure exactly how to go about it, only a vague idea. I've converted the checkbox component on the stage into a movieclip, with 2 keyframes in the timeline one labeled 'checked' and the other 'unchecked'. I have also set the movieclip so that it's exported for actionscript in the properties. What is the next step?
    Many thanks!
    Su

    Hey, thanks for that. I've been looking at the google posts for that but the posts seem to be a bit too complicated for me I will keep googling for something simpler but in the meantime I'm open to suggestions.
    Thanks again!

  • Every time i open firefox, i get message: "shockwave has stopped responding; fix, ignore, don't show this again," and it's driving me nuts; I must wait and wait

    for it to go away (sometimes 30 seconds) and I've tried clicking "don't show this again," and "ignore" and the other (all possibilities.) Its driving me nuts, and I'm thinking of switching to Opera instead of Firefox. Can you help? Thanks. MM2

    Hello,
    Some problems with Flash video playback can be resolved by disabling hardware acceleration in your Flash Player settings. (See [[Flash Plugin - Keep it up to date and troubleshoot problems|this article]] for more information on using the Flash plugin in Firefox).
    To disable hardware acceleration in Flash Player:
    #Go to this [http://helpx.adobe.com/flash-player/kb/video-playback-issues.html#main_Solve_video_playback_issues Adobe Flash Player Help page].
    #Right-click on the Flash Player logo on that page.
    #Click on '''Settings''' in the context menu. The Adobe Flash Player Settings screen will open.
    # Click on the icon at the bottom-left of the Adobe Flash Player Settings window to open the Display panel. <br/> <br/>[[Image:fpSettings1.PNG]] <br/>
    # Remove the check mark from '''Enable hardware acceleration'''.
    # Click '''Close''' to close the Adobe Flash Player Settings Window.
    # Restart Firefox.
    This [http://www.macromedia.com/support/documentation/en/flashplayer/help/help01.html Flash Player Help - Display Settings page] has more information on Flash Player hardware acceleration, if you're interested.
    Does this solve the problem? Let us know.

  • The "about:tabs" message always appears. The close button appears inactive so checking the "don't show this again" option doesn't work.

    I am running Firefox 3.6.13 under windows/xp. All of a sudden, when opening a new tab the "about:tabs" message comes up all the time. I checked the box labeled "do not show this message again" but the "close" box seems to be inactive. Pressing it has no affect so apparently the option to suppress the message is not set. The new tab must be closed manually.

    I lost several App Icons after install of 3.0 upgrade. Facebook, Tweetie, Birdhouse and a few others are no longer on the home screen, but they do sync through iTunes and I can access them if I move the home screen to the right (to show the spotlight search screen) and I can open them, the icons just won't show up. It is very inconvenient, hope Apple creates a fix for this soon.

  • Every time I start firefox 4, I get a popup asking me questions about Yahoo. Checking "don't show this again" doesn't work. How do I stop it?

    See question...

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * [[Troubleshooting extensions and themes]]
    * http://kb.mozillazine.org/Preferences_not_saved

  • If you check the don't show this again box when closing multiple tabs, how do you get it to warn you when closing multiple tabs, or to save previous tabs? Checking the warn me when closing multiple tabs box under tools/tabs does not work to solve this?

    I accidentally checked the do not ask me again box when closing multiple tabs. Now I no longer get a warning when closing multiple tabs, and it saves my previous session. I have tried checking and un-checking the warn me box under tools which has not worked. If I open a second window and try to close multiple tabs it will warn me but not on the first window.

    You can reset the warn prefs on the about:config page via the right-click context menu.
    browser.tabs.warnOnClose , see http://kb.mozillazine.org/About%3Aconfig_entries
    browser.warnOnQuit , see http://kb.mozillazine.org/browser.warnOnQuit
    browser.warnOnRestart , see http://kb.mozillazine.org/browser.warnOnRestart
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />

  • Run Time Errors (Don't show this dialog again...)

    We often create some long TestStand (TS 4.0) sequences and run them overnight or weekend.  Occasionally, for one reason or another, we may see the "Run Time Error" messagebox pop up, stopping the test sequence.
    If you then select the checkbox in the Run Time Error window "Don't show this dialog again for this execution", the sequence will continue.
    Is there a way to set up TestStand to ALWAYS ignore the Run Time Errors and just generate a failure error instead?
         Setup for TestStand as a confuguration?
    or
         Setup as a command in our Custom Steps?
    Mikef

    Hi Mikef,
    One solution would be to use the SequenceFilePostStepRuntimeError callback sequence. Have a look at the example ErrorHandlerExample.seq in the TestStand\Examples\Callbacks\PostStepRuntimeErrorCallback folder.
    Obviously you wont what a dialog to appear, but using the callback, you can reset the Step.Result.Error, maybe set the status and record that an error did occur in the Steps ReportText.
    Hope this helps.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • How to get back box : "Don't show this message again".

    At some point, I have clicked "yes" on a box that said "Don't show this message again". It was by deleting tracks from iTunes library.
    Now I want "my box" back. How can I fix that?
    Dell 8400   Windows XP  

    hi Bevers!
    what used to work for this was rebuilding the itunes preference files.
    although the user tip is on a different topic, the technique for doing this is outlined here:
    Scott P: My source list is missing
    ... my dear The Mimico Kid is my authority on this topic: if you're around, would you mind stopping by to confirm or deny if this is still what Bevers should try?
    love, b

  • HT4539 There was an option, provided by itunes, while updating ios, saying 'download and update', 'download only', 'cancel'. I accidentaly checked 'don't show this message again'. and now i want to change my preference. How to get it back please?

    There was an option, provided by itunes, while updating ios, saying 'download and update', 'download only', 'cancel'. I accidentaly checked 'don't show this message again'. and now i want to change my preference. How to get it back please?

    hello , i did exactly the same thing , and my app store icon look like this :
    http://i.imgur.com/FIrph.png
    so can you tell me how did your friend send the app store for you? please

  • How to get "don't show this message" back?

    I have Sony Xperia Z2.After Charging my phone a messege popped up(something about waterproofing) and accidentally clicked "don't show this message again".Is there any way for getting the message back?

    Sorry,we are not aware of how to bring back mobile data message for now. The only way is to factory settings reset.
    All we have to decide is what to do with the time that is given to us - J.R.R. Tolkien

  • I accidently erased all of my calendar events.  Is there a way to undo or retrieve them?  Is there a way to disable this option so I don't do this again?

    I accidently erased all of my calendar events.  Is there a way to undo or retrieve them?  Is there a way to disable this option so I don't do this again?

    No u don't think so but what model phone do you have? Smartphones you can sync calendar events online but not basic phones that I know of

  • How do I get Firefox to display the information bar when a pop up is blocked I accidentally clicked on "Don't show this message when pop-ups are blocked" when a pop up was blocked. How do I get this message to reappear again when a pop up is blocked?

    I just updated Firefox but can't get it to display the message when a pop-up is blocked. Most times I want them blocked but sometimes I need them enabled.

    You can see a pop-up block icon in the right corner of the Status Bar if you have chosen to hide the information bar at the top.
    You can left-click that pop-up block icon on the Status Bar and remove the check mark from "Don't show info message when pop-ups are blocked"
    You can look at these prefs on the '''about:config''' page and reset them via the right-click context menu:
    Status bar icon: browser.popups.showPopupBlocker
    Info bar at the top: privacy.popups.showBrowserMessage
    To open the ''about:config'' page, type '''about:config''' in the location (address) bar and press the Enter key, just like you type the url of a website to open a website.
    If you see a warning then you can confirm that you want to access that page.

  • When working in iPhoto I kept getting a dialog box that asked if I wanted to delete the photo.  I checked the little box that said do not show this again.  Well, I want to get this warning box back but I don't know where to find it.

    Hi I was organizing pictures in iphoto.  I am new at this.  I was deleting a bunch of duplicate pictures and I kept getting a 'warning box" that kept asking "are you sure you want to delete?"  I knew I wanted to delete all these pics so I checked the box that said "check box if you dont want to see this warning."  So checked the box.  Now I want to get that warning box back.  Any ideas?  I can't find anything on the internet or manuals.  thanks

    Try trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder.
    (On 10.7: Hold the option (or alt) key while clicking on the Go menu in Finder to access the User Library)
    (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    What's the plist file?
    For new users: Every application on your Mac has an accompanying plist file. It records certain User choices. For instance, in your favourite Word Processor it remembers your choice of Default Font, on your Web Browser is remembers things like your choice of Home Page. It even recalls what windows you had open last if your app allows you to pick up from where you left off last. The iPhoto plist file remembers things like the location of the Library, your choice of background colour, whether you are running a Referenced or Managed Library, what preferences you have for autosplitting events and so on. Trashing the plist file forces the app to generate a new one on the next launch, and this restores things to the Factory Defaults. Hence, if you've changed any of these things you'll need to reset them. If you haven't, then no bother. Trashing the plist file is Mac troubleshooting 101.

  • AppleScriptObjc - "Don't show this message anymore"

    Hello everybody,
    I'm trying to add in my app a caution sheet before doing a thing, something like "Are you sure?" with a checkbox to not show that message anymore, just like the picture below.
    How can i do that?
    Thanks in advance!

    Yes, something like that (I am guessing that the "string" at the beginning was supposed to be "script"), only don't forget to read your preferences/defaults after registering them, and write the defaults when your application ends:
         on readDefaults() -- read current values from preferences file if it exists
              tell standardUserDefaults() of current application's NSUserDefaults -- overwrite the registered items if previously saved
                    set suppressionCheckBox to integerForKey_("suppressionCheckBox") as integer
              end tell
         end readDefaults
         on checkBox_(sender) -- update the checkbox property
              set suppressionCheckBox to sender's intValue as integer
         end checkBox_ 
         on writeDefaults() -- write new values to preferences file
              tell standardUserDefaults() of current application's NSUserDefaults
                     setInteger_forKey_(suppressionCheckBox, "suppressionCheckBox")
              end tell
         end writeDefaults

  • I accidently checked the don't ask me again button when closing firefox, how do i uncheck it?

    I accidentally checked the box that says don't ask me again when it prompted if i wanted to save and quit. However, i need it to ask me this so how do i un-check the box?

    First check the following setting. In the Tools menu select Options. In the Options dialog go to the General panel and make sure the setting "When Firefox Starts" is not set to "Show my windows and tabs from last time", you can set it to either of the other 2 choices.
    Now reset the 3 preferences that relate to warning when closing Firefox.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Find the following 3 preferences, right-click on them and choose '''Reset''' (if reset is not available they will already be at their default value)
    ## browser.tabs.warnOnClose
    ## browser.warnOnQuit
    ## browser.warnOnRestart

Maybe you are looking for

  • Data usage when streaming from iTunes library to Apple TV?

    I'm trying to manage my GB data usage through my ISP and was curious if, while streaming between my iTunes library and Apple TV television shows I have previously downloaded, is that using any data whatsoever? I know I used data to actually download

  • Help required in Development of Dynamic forms

    Hi all, I want to design dynamic form (using forms 6i), in which the end user will display the screen according to his own requirement i.e on the run-time screen user want to display particular field or not. In this we have to re-arrange the position

  • Unpairing remote on mavericks osx

    Help! I have my Mac mini that acts as a file server for my Apple TV, however when I control my Apple TV using my Apple remote, it also controls my iTunes. I have opened up system preferences as all the forums say, gone into security and privacy in th

  • Putaway strategy sequence

    Dear Experts, Please suggest me for the following scenario. I have material master with storage types N00 and D00, In which i have assigned the Placement strategy For  D00   = R10 - R10 -D00 For N00 = N00 If the case is like that, then how the system

  • Latest Security Patch for Oracle DB 10.2.0.4 on 11.5.10.2 environment

    We have SUNOS 5.10 with database 10.2.0.4 on 11.5.10.2 environment. The requirement is to patch latest security patch. last patch was done 17-FEB-2009 ( retrived from registry$history). So, i would like to apply the latest security patch. Please some