Applescript prompting user to save only on some computers

I have an applescript that does some workflow on some images. One some computers, the script completes just fine (opens a RAW file and saves a JPG), on others, Photoshop is prompting the user w/ the Save dialog box instead of just saving and closing the document. Is there a preference I'm missing that forces that save dialog box to always show instead of just proceeding with the script?
Save script snippet
open thePhoto as Camera RAW with options {class:Camera RAW open options, bits per channel:eight}
set myJPGPath to dropLocation & nameWithoutExtension & ".jpg"
set myOptions to {class:JPEG save options, embed color profile:true, format options:progressive, quality:12, scans:3}
save current document in file myJPGPath as JPEG with options myOptions appending no extension without copying
close document 1 saving no

Have a look in the dictionnary for preferences (script preference): "user interaction level.
You can check on each station for this property and be sure it's the source of the problem.
I had this problem because i had some script that was setting it to "never interact" (in a batch, you dont want to handle "link missing dialog by exemple) but was not setting it back to "interact with all" (wich can be a problem depending of the scenario you are handling).

Similar Messages

  • Prompt user to save change before abnormally closing the application

    Hi,
    I've some trouble prompting user to save change before abnormally closing the application (logging off, shutdownding machine...). I tried to use Runtime.getRuntime().addShutdownHook() and it doesn't seem to work. Here's part of my code. Help please!!!
    program print out "1" and stays in a "dead-lock" mode...
    private void shutdown() {
    boolean saveConfig = true;
    if (saveConfig) {
    System.out.println("1 ");
    int answer = JOptionPane.showConfirmDialog(null,
    "Configuration has been changed. Do you want to save
    configuration before exit?",
    "Save Config"
    JOptionPane.
    YES_NO_CANCEL_OPTION);
    JOptionPane.showMessageDialog(this, "Can't connect to unit. Error in Heal unit!", "Error", JOptionPane.INFORMATION_MESSAGE);
    System.out.println("2 ");
    if (answer == 0) {
    savefileButton_actionPerformed();
    jMenuFileExit_actionPerformed();
    else if (answer == 1) {
    jMenuFileExit_actionPerformed();
    else {
    return;
    else {
    int answer = JOptionPane.showConfirmDialog(itself,
    "Are you sure you want to exit? ",
    "Exit",
    JOptionPane.YES_NO_OPTION);
    if (answer == 0) {
    jMenuFileExit_actionPerformed();
    else {
    return;
    private class MyShutdownHook extends Thread {
    public void run() {
    shutdown();
    // add shutdown hook
    MyShutdownHook shutdownHook = new MyShutdownHook();
    Runtime.getRuntime().addShutdownHook(shutdownHook);

    doesn't much matter. shutdown hooks are not guaranteed to run or be able to finish.

  • Prompting user to save changes before leaving jsp

    Folks,
    I want to be able to prompt the user to save changes on the page that he's on, before he navigates to a different one. one idea i explored is using the body onUnload event. the problem is that my page is split into multiple jsps with tiles, and the body tag is in a common tile that i can't really access.
    Any other ideas on how to do this?
    Thanks,
    Nilesh

    nthali wrote:
    well, onbeforeunload seems to be an IE specific event. we have some customers using firefox etc.It works in at least IE 5.0, FF 1.5 and Safari 1.3. Only not in Opera yet, because it very strictly follows the w3 standards. It doesn't support the onunload either though, which was also invented by Microsoft and adopted by FF and Safari, only a bit earlier than the onbeforeunload.
    And as I already said, the onunload is already too late. The browser will (already) be closed regardless of the (outcome of the) warning message.

  • ARD 3 not prompting user to save changes on restart

    Hello! I have ARD 3 and when I send out a restart command and select the radio option "Users can save changes or cancel restart" it acts as if I didn't select this, and instead selected "Users lose unsaved changes".
    This has never worked for me. If working properly, it SHOULD actually show up on the affected computer a dialog popup of some sort providing the user just those option: to save changes or cancel restart.
    What is wrong/going on, and how do I fix it?
    Thanks ahead of time,
    Sam M.

    nthali wrote:
    well, onbeforeunload seems to be an IE specific event. we have some customers using firefox etc.It works in at least IE 5.0, FF 1.5 and Safari 1.3. Only not in Opera yet, because it very strictly follows the w3 standards. It doesn't support the onunload either though, which was also invented by Microsoft and adopted by FF and Safari, only a bit earlier than the onbeforeunload.
    And as I already said, the onunload is already too late. The browser will (already) be closed regardless of the (outcome of the) warning message.

  • ARD 3 not prompting user to save changes even when told to

    Hello! I have ARD 3 and when I send out a restart command and select the radio option "Users can save changes or cancel restart" it acts as if I didn't select this, and instead selected "Users lose unsaved changes".
    This has never worked for me. If working properly, it SHOULD actually show up on the affected computer a dialog popup of some sort providing the user just those option: to save changes or cancel restart.
    What is wrong/going on, and how do I fix it?
    Thanks ahead of time,
    Sam Marcus

    Slava Natapov wrote:
    Samita wrote:
    Whenever a user changes some items in Block_1 and presses save button, the values from non_db items get copied to the db_items (based on view) and commit_form is called. Try to copy values to the db_items not in save button, but in WHEN-VALIDATE_ITEM of non_db items.- I created the non-db items becoz, it was asking me 'Do you want to save changes', even when I only queried data from the view (becoz i was doing some computations while displaying the items. and the form assumed that the DB items were begin changed ). Inorder to get rid of that problem, i used mirror_items (non-db) for all the db items.
    So under this scenario, when i copy values to the db_items in WHEN-VALIDATE_ITEM trigger of non_db items, the form considers the db_items are changed and asks 'Do you want to save changes' even when the user has not made any changes and only queried data.
    Edited by: Samita on Dec 9, 2009 10:12 AM

  • How to prompt users to save changes to layouts

    Hi,
    I am using WAD to develop planning layouts for BIIP.
    I am curious as how to prompt the user to save the changes thay made to the data on the layout if they decide to navigate away from the page.
    Any suggestions?
    thank you
    Message was edited by:
            AG

    They can use Acrobat to save the form.
    If they only have Adobe Reader, they need to Reader extend the form, to enable Adobe Reader to save the form with data.
    Jasmin

  • Prompting users to save

    Is there a way to implement an iView that can detect when a user has entered data into controls, and then navigates to another page without having saved the data by clicking the save button?  Requirement is to stop the page navigation and prompt the user to save.  I'm curious to know if any of the Java, BSP/ABAP, or .NET development tools could help in this regard.  Any help would be greatly appreciated.

    Hi Brian,
    this is (should be, didn't install it yet) a feature from EP6 SP3 on. You have to use the EPCF (within this, the so called work protect feature) to set the dirty-flag; with SP2, when the dirty flag has been set and the user wants to navigate, another window opened (so that the not saved data won't get lost). SAP had implemented your disired behaviour for it's own special cases, but from SP3 on, this should be a standard feature; also see https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/enterprise portal client.pdf and http://help.sap.com/saphelp_nw04/helpdata/en/37/50fb5066f9db43b3b5d5fc8de0c051/content.htm.
    Hope it helps
    Detlev

  • How to prompt users to save changes?

    Hi,
    I am using WAD to develop planning layouts for BIIP.
    I am curious as how to prompt the user to save the changes thay made to the data on the layout if they decide to navigate away from the page.
    Any suggestions?
    thank you

    Hi AG
    Did you find the place choosing the options? I didn't remenber them all, you can try to search these options.If you want to change the default value of this option, you can go to System Administration --> System Configuration --> Service Configuration --> Applications --> com.sap.portal.epcf.loader --> services --> epcfloader. Set the value of Workprotect.mode.default, which default is 1, and other three options are related to 2, 3, 4.
    Best regards.

  • HELP! Flash header cutting off, but only on some computers

    http://www.omsstrategicadvisors.com/
    Our site has been up for approx 9 months and there's been no problem. Now all of a sudden, on SOME computers that were perfectly fine, the flash header is getting cut off.   Well, I guess magnified is a better description...
      I have not been able to recreate the issue on my screen. All the "guilty" computers have ie8, while I am stubbornly still on ie7, which is why I was thinking ie8 might be the culprit. However my bus. partner has multiple systems running and it looks perfectly fine on ie8, chrome, and firefox. Even problem computers have moments of clarity, for instance it happened on my husband’s pc then I refreshed the images and it corrected itself.  Then at the customer site, I opened the url on one of the “offending” computers, it was cut off again until I logged in…then it corrected itself immediately.  But when I tried that on the computer I am testing today, it did not work.  Then I was checking the Compatibility View Settings within ie8, I unchecked the box regarding Intranets, and it worked.  Thinking I’d found something, I went back in and re-checked it, and the problem was back, ok….now I really thought I was getting somewhere.  But when I went in again and un-check the box….nothing…still wrong.  Over the past 2 days, I’ve updated their Flash Players,  made sure all the images were the same size, deleted and re-uploaded the pix and xml files, contacted the skin author, anything I could think of.  The author also checked all the CSS and site setting, everything looked in order.  Also tried using the Compatibility View feature, setting that site to only be shown in IE 7, it did not work, which makes me think maybe it’s not the browser. I just attempted to back the computer down to an earlier version of Flash Player (9 as opposed to 10.1).  Also did not work.
    Of course, the client is freaking thinking about the big client that is due to check them out this week.  I’ve been searching every support/community forum looking for someone else with this problem…if you have any answers or know of any better places for me to look, please let me know.
    Any help is truly appreciated.

    Hi, I just checked your site and it looked good to me, headers changing nicely and no glitches. The header and the body of the site filled my 19" monitor which I use with my work computer. XP/SP3/IE6 with Flash Player 10.1.82.76. Yes that is IE6:-) In your screen shot, there are extra wide margins(empty space) on the left and the right side. And it blocks the text. That did not appear when I went to the site. However there was extra space on the left and right sides both, but not so much that the entire text could not be seen. On www.bing.com the site comes much closer to the scroll bar. 
    Your Tech experience is way above my head as I am not into what you do. However I do pretty well at researching so I'll see what I can find that might point you into the right direction.
    My only observation is that this happened "all of a sudden". Some kind of change must have happened. Could a user have made a change on the computers that are having this issue? Some Anti-Virus update?
    I don't really think it is Flash Player related and for this reason: It is not consistent. Most all of the time some program with certain add ons into the browser, especially Anti-Virus add ons are what affects the Flash Player ActiveX Control that is in the browser. Flash Player is a browser plugin so any add on in the browser is a negative or a positive.
    You may want to use the Adobe SEARCH field or the SEARCH at the top for Forums. You would know what key words would work best. The Forum SEARCH may be better to use since it covers all Adobe Product Forums.
    Thanks,
    eidnolb
    Message was edited by: eidnolb   correct spelling

  • Word 2010 - Extra Space Around Checkbox Content Controls - only on some computers

    I am experiencing a problem with Word 2010 adding extra above/below spacing on content control checkboxes, but only on some of our computers. We have a template we use that is the same file for our network. On some of the computers in our office however,
    we get extra spacing what can not be removed.  
    I am at a lose to fix this and have been trying for about 3 weeks. The settings are the same on all the computers. The user can switch to another computer and the form will open correctly, but if they move back to their workstation and try to reopen it there
    the double spacing returns - again only for the checkbox content controls. 
    Attached are two images - Correct formatting, and then what happens on some of the computers. Any assistance would be greatly appreciated. 
    Can't post links due to account not verified
    Correct Formating Image - https://drive.google.com/file/d/0BzORWKV0f6tjWjdaTGxTd0tWeUk/view?usp=sharing
    Extra Space Added on Some Comptuers Image - https://drive.google.com/file/d/0BzORWKV0f6tjOU8wYXp0d1ZZVDA/view?usp=sharing

    Some issues worth noting:
    1. Word uses information returned by the active printer driver to manage a document's layout. This can result in line spacing, text-wrapping, and so on varying from one PC to the next - or even on the same PC when switching to a printer that uses a different
    driver.
    2. Differences in font versions (or the use of a font that is available on one PC and not another) can result in line spacing, text-wrapping, and so on varying from one PC to the next.
    3. Differences in Word version (or even update state) may result in line spacing, text-wrapping, and so on varying from one PC to the next.
    4. Your document that displays the extra spacing has Word's formatting display switched on - even that can change the appearance if the document contains hidden content.
    5. Various Word options can also affect line spacing, text-wrapping, and so on. These include having Word configured to 'optimize character positioning for layout rather than readability', 'scale content for A4 or 8.5x11" paper sizes' and, perhaps,
    the use of draft print quality.
    Obviously, there are multiple possibilities to work through, ensuring all PCs & printer configurations are the same. That said, your use of tables allows you the option of setting the row heights to 'exact' measurements, so they won't expand as they
    evidently now can. You can also try setting the paragraph line spacings and before/after spacings to precise numbers of points, for example, so they don't auto-adjust.
    Cheers
    Paul Edstein
    [MS MVP - Word]

  • JavaScript to prompt user to save as PDF

    I am making changes with code to the file. I want the user to be prompted to save as a .ai file first. I have that down. Now I am wanting to have the user immediately be prompted to save as a pdf with only the optimize for fast web view option selected. I believe it is an adobe preset of Smallest File Size.
    The reason for wanting the prompt is because I want to save the files in 2 different locations.
    Here is my code so far.....
    var doc = app.activeDocument;
    // Save as .ai file 
    var fileName = doc.fullName; 
    var thisFile = new File(fileName);
    var saveFile = thisFile.saveDlg();
    doc.saveAs (saveFile);
    // Save as .pdf file
    var pdfSaveOptions = new PDFSaveOptions(); 
    pdfSaveOptions.pDFXStandard=PDFXStandard.PDFXNONE; 
    pdfSaveOptions.compatibility = PDFCompatibility.ACROBAT5; 
    pdfSaveOptions.preserveEditability = false; 
    var pdfFile = new File(fileName); 
    doc.saveAs(pdfFile, pdfSaveOptions);
    AI CS4 Windows 7 64bit

    is the folder structure existing already?
    if so, things are simple.
    if the job number and name are in the file the you could pull that from the doc rather then manual entry at the prompts.
    (please note this has no testing to check folders exist etc...)
    var job = prompt("Enter Job Name");
    var num = prompt("Enter Job Number");
    aiFile = "D:\\"+job+"\\"+num+"\\AI\\Schematic.ai"
    pdfFile = "D:\\"+job+"\\"+num+"\\PDF\\Schematic.pdf"
    var newaiFile = new File(aiFile);
    var doc = app.activeDocument;
    doc.saveAs (newaiFile);
    var pdfOpts = new PDFSaveOptions();   
    pdfOpts.pDFXStandard=PDFXStandard.PDFXNONE;
    pdfOpts.compatibility = PDFCompatibility.ACROBAT5;   
    pdfOpts.preserveEditability = false;
    var newpdfFile = new File(pdfFile);   
    doc.saveAs(newpdfFile, pdfOpts);
    if you want the script to create the folders then its a little harder.
    Javascript will not do this and you need some other work around.
    something like this...
    if (Folder(qfolder).exists){
    app.activeDocument.saveAs( saveName, saveOpts );
    }else{
               //alert("about to try bat");
               batpath= 'call "C:\\Adobe Scripts\\MakeDirectory.bat"';
                battemp = new File("C:\\Adobe Scripts\\tempBAT.bat");
                battemp.open("w");
                battemp.writeln(batpath + " " + qfolder);
                battemp.close();
                battemp.execute();
             //alert("Had to Create Folder, Please press OK to continue...");
                $.setTimeout = function(func, time) {
                        $.sleep(time);
                        func();
             $.setTimeout(function(){ app.activeDocument.saveAs( saveName, saveOpts )},200);
    the MakeDirectory.bat is just:
    ECHO OFF
    CLS
    IF %1=="" GOTO BLANK
    SET savepath=%*
    MKDIR %savepath%
    GOTO FINISH
    :Blank
    ECHO No Folder provided
    GOTO FINISH
    :FINISH
    the tempBat.bat is used to call the MakeDirectory.bat with the folder name as an argument.

  • Allow users to save only to server, not locally?

    Hi there,
    I'm pretty new to Mac OS Server and before I jump in and look at setting my business up with a Mac server I'd like to find out how I can achieve one key requirement.
    Essentially, I want my users to be able to access, open, modify and save documents ONLY on the server. For security and confidentiality reasons, I don't want anyone to be able to save documents from the server onto their Macs.
    Is there a straight forward way to achieve this?
    Cheers,
    Pete

    Hi,
    Agree with Willard Martin, there is no way to prevent users from saving mail with attachment in the Drafts folder.
    Best regards,
    Belinda Ma
    TechNet Community Support

  • Why can i see the Flash animation that I have embedded in a Director movie only on some computers?

    The SWF file is linked and plays on my computer and on one of the intended computers but not the others even though they are similarly configured (my computer is completely different and I also have the entire Adobe Master Suite along with Director the other machines essentially just have M$ Office). The Director movie has a SWF with the following asset properties:
    Media: Linked, Yes; Preload, Yes
    Playback: Image, Yes; Paused/Sound/Loop/Direct to Stage, all No
    Quality: High
    Scale Mode: Auto-Size
    Rate: Normal
    Scale: 100%
    The SWF file is located in the same folder as the projector.
    I'm using Director 11.5. The end users are on several corporate laptops that are all configured the same to begin with. They are all running Windows XP and of course do not have Director installed on them. I know the file works as it is intended to on the one computer but the rest all fail in a similar way (not including mine obviously which works fine). This to me says that it was published and created correctly but something is missing or setup wrong on those computers which is keeping it from displaying properly.
    Here's the part that is really killing me, I had some extra time one day and sat down for several hours trying different things (installing Flash players, Shockwave players, basically taking shots in the dark with the thought that the computers were missing some plugin, etc) trying to get it to run appropriately and... I figured it out!! Unfortunately I didn't have the time or permissions to repeat the process on the other laptops and now (7-8 weeks later) I can't figure out what I did to make the first one work. I know it's possible and I know it works on that laptop, but when I try using the exact same files/folder on the other laptops it gets to the frame where the animation is supposed to play and it just shows a little repeating elipses (...) animation in the corner. At first I took this to mean it was loading so I waited and waited but it never loads anything. The laptop that works shows the animation immediately and perfectly.

    Hi,
    sorry for my English
    I think Your Local Path Stored in Member ex:"D:\\...." In Client machine that path is not available so
    Use Script
    member("xx").filename = _movie.path&"Foldername/filename.swf"
    or
    Import swf in local cast
    or
    If you are not use Projector.Use Shockwave html then use DSWMEDIA folder to store swf file.
    member("xx").filename = _movie.path&"DSWMEDIA/filename.swf"

  • IWeb site displaying text only on some computers

    I just created a site in iWeb (latest version).  When I upload the site to server, it works fine for some people but not others; test on an iWeb page is viewable by some but not all users.  I used a web-safe font.  Can't figure it out.  Help!!!!!

    That ain't right! What you need to do is use web-safe fonts...
    http://www.iwebformusicians.com/iWeb/Fonts-Colors.html
    ... and a few other tricks to cope with IE...
    http://www.iwebformusicians.com/iWeb/iWeb-Internet-Explorer.html
    http://www.iwebformusicians.com/iWeb/Browser-Compatibility.html

  • Record Mic using SampleDataEvent works only on some computers.

    I made a swf that records your mic and allows you to play it back.  I load the soundBytes into a float and play the float back.  It works fine on the computer I developed it on (in IE, Chrome and Firefox) .  It does not work on my second laptop.  And a few people in some forums have said it is not working either.
    Here is the file.  http://www.buttonbeats.com/images/MicCapture.html
    Here is the code.  Do I need certain plugins besides the flash player?
    micRec.addEventListener(MouseEvent.CLICK,recordMic);
    function recordMic(event:MouseEvent){
    micRec.x = -250;
    stopRecord.x = 0;
    const DELAY_LENGTH:int = 4000;
    var mic:Microphone = Microphone.getMicrophone();
    mic.setSilenceLevel(0, DELAY_LENGTH);
    mic.gain = 80;
    mic.rate = 40;
    mic.addEventListener(SampleDataEvent.SAMPLE_DATA, micSampleDataHandler);
    stopRecord.addEventListener(MouseEvent.CLICK,SREC);
    var soundBytes:ByteArray = new ByteArray();
    function micSampleDataHandler(event:SampleDataEvent):void
        while(event.data.bytesAvailable)
            var sample:Number = event.data.readFloat();
            soundBytes.writeFloat(sample);
    function SREC(event:MouseEvent):void
    stopRecord.x = -250;
        mic.removeEventListener(SampleDataEvent.SAMPLE_DATA, micSampleDataHandler);
        soundBytes.position = 0;
        var sound:Sound = new Sound();
        sound.addEventListener(SampleDataEvent.SAMPLE_DATA, playbackSampleHandler);
    soundPlay.addEventListener(MouseEvent.CLICK,SP1);
    function SP1(event:MouseEvent){
      soundBytes.position = 0;
        sound.play();
    function playbackSampleHandler(event:SampleDataEvent):void
        for (var i:int = 0; i < 8192 && soundBytes.bytesAvailable > 0; i++)
            var sample:Number = soundBytes.readFloat();
            event.data.writeFloat(sample);
            event.data.writeFloat(sample);

    you need fp 10.  what's the problematic player version?

Maybe you are looking for

  • HP 4050tn and OS 10.4.5

    Once I upgraded my OS to 10.4.5 I am no longer able to pull paper from tray 3 or 4 on my HP 4050tn printer. Even though I select tray 3 or 4 the paper is always pulled from tray 2. I have tried the 'Reset Printing System' and adding the printer again

  • Lens correction profile for Sigma 24mm f/1.4 Art ?

    The new Sigma 24 1.4 art lens will arrive soon, and even though it is as good as its competitors, it should produce heavy vignetting. Does anyone know when the Lightroom correction profiles will be released. Regards Lars

  • My location in weather disappeared - how do i get it back?

    I'm not sure what happened but my current location disappeared from the weather app.  How do I get it back and get rid of NY and Cupertino?

  • Text messages over 160 chars long are being converted to MMS

    Hi, Just found out from EE that text messages over 160 chars long are being converted to MMS which are not included in my mobile plan. I have an iPhone5 on IOS 6.1.3 - Anyone know if Apple intend to fix this?

  • Need help with post-installation

    Hello, I just installed APEX 3.0 over Oracle 10g on windows. Do I need to install http server and configure the port etc or can I just enable the embedded plsql gateway by running apex_epg_config11? any help is appreciated.