The action "Run AppleScript" encountered an error.

Hey,
I'm using EOS utility to tether my camera to my computer and take photos.  I'm then using the "linked software" option in eos utility preferences to send it my Automator action.  Eos utility is pretending that my automator script is an application.
The goal is that automator sends it to photoshop to run a specific action on it and then save it to a folder where I display the photos on a monitor. 
However everytime I take a photo I get this error message:
"The action “Run AppleScript” encountered an error.  Check the actionʼs properties and try running the workflow again."
Once I click "ok" then the script will continue running and everything works fine. 
This is my run applescript that I'm using in Automator:
"on run {input, parameters}
          set input to input as text
          tell application "Adobe Photoshop CS5"
  open file input
                    do action "GDaction" from "GDset"
          end tell
end run"
I assume there is an issue in the run applescript.  Can anyone help me revise it to avoid getting this error message everytime?

Sorry, I guess I wasn't clear. I don't think you need to cast the file reference to a text string.
Try this:
on run {input, parameters}
          tell application "Adobe Photoshop CS5"
                 open file input
                 do action "GDaction" from "GDset"
          end tell
end run
or
on run {input, parameters}
          tell application "Adobe Photoshop CS5"
                 open alias input
                 do action "GDaction" from "GDset"
          end tell
end run
I'm not sure what is being passed and what photoshop is expecting.

Similar Messages

  • In running the Software Updater, I encountered an error: "System Extension cannot be used" ... System/Library/Extensions/AppleUSBEthernetHost.kext was installed improperly and cannot be used.

    While running the Software Updater, I encountered an error: "System Extension cannot be used" ... System/Library/Extensions/AppleUSBEthernetHost.kext was installed improperly and cannot be used. Can somebody help me resolve this error message. Would this error affect my ability to run FaceTime ?

    Seems pretty clear to me. Here's what you can try:
    Open Terminal in your Utilities folder. Paste the following at the prompt:
         sudo chown -R root:wheel /System/Library/Extensions/AppleUSBEthernetHost.kext
    Press RETURN. Enter admin password when prompted. It will not be echoed so type carefully. Press RETURN again.
    Restart the computer.

  • AnyConnect Secure Mobility Client v3.1.04066 "The VPN client driver encountered an error"

    Hello, I am a software engineer and have been trying to connect to my client's VPN using the AnyConnect Secure Mobility Client (version 3.1.04066) and keep receiving the error "The VPN client driver encountered an error. Please try again or restart your system."
    I am on a Windows 7 system with an intel i7-2670QM cpu. My computer model is an HP Pavilion dv7.
    I have tried uninstalling the software, re-installing it. I've tried restarting my system multiple times through the process. I've checked the registry and made sure the name was setup correctly. I have checked and made sure that the correct services are not enabled. I have also tried what was suggested on the support page and checked the integrity of catroot2 as well as renaming it and regenerating the folder. None of these have been able to fix my problem.
    For information, this is the message history when I try to connect:
    [12/8/2014 8:55:49 AM] Ready to connect.
    [12/8/2014 9:27:19 AM] Contacting vpn.[hostaddressremoved].com.
    [12/8/2014 9:27:22 AM] Please enter your username and password.
    [12/8/2014 9:27:29 AM] User credentials entered.
    [12/8/2014 9:27:30 AM] Please respond to banner.
    [12/8/2014 9:27:31 AM] User accepted banner.
    [12/8/2014 9:27:31 AM] Establishing VPN session...
    [12/8/2014 9:27:32 AM] Checking for profile updates...
    [12/8/2014 9:27:32 AM] Checking for product updates...
    [12/8/2014 9:27:32 AM] Checking for customization updates...
    [12/8/2014 9:27:32 AM] Performing any required updates...
    [12/8/2014 9:27:32 AM] Establishing VPN session...
    [12/8/2014 9:27:32 AM] Establishing VPN - Initiating connection...
    [12/8/2014 9:27:33 AM] Establishing VPN - Examining system...
    [12/8/2014 9:27:33 AM] Establishing VPN - Activating VPN adapter...
    [12/8/2014 9:27:33 AM] Establishing VPN - Attempting to repair VPN adapter...
    [12/8/2014 9:27:33 AM] Disconnect in progress, please wait...
    [12/8/2014 9:28:22 AM] Connection attempt has failed.
    [12/8/2014 9:28:24 AM] Ready to connect.
    I have tried every kind of search I can think of to find any other solutions to try, and I cannot find anything else. Does anyone have any other recommendations of what to try in order to be able to connect to my client?
    -TheJayDude

    Yes, I am sorry to say that several people have seen the same issue.  It seems like the issue is specific to Yosemite and Anyconnect. My very technical staff and I have tried many things.  The default route is missing and the file /var/run/resolv.conf is also missing which means that both the route and DNS server are messed up.  We re-added the default route manually which allows us to ping the servers and even access them via the IP address
    Run the command below before starting the VPN to get the default route
    netstat -nr | grep default
    Then run the following to re-add the default route.
    route add default xxx.xxx.xxx.xxx
    BUT there is no way that I can find to fix the DNS entry. 
    We tried re-adding the DNS entries in the /var/run/resolv.conf  and then restarting the DNS service
    $ sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist                                                                              
    Password:
    $ sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist 
    BUT THIS DOES NOT WORK!
    If anyone can help us solve the DNS issue, at least we have a work-around for our technical people until Cisco and/or Apple can resolve it.
    Here is a link to the same issue at Cisco.
    https://supportforums.cisco.com/discussion/12334071/cisco-anyconnect-secure-mobi lity-client-os-x-yosemite-vpn-not-working-if-mac

  • Solution: The installation process has encountered an error while installing Shared Technologies

    I purchased an upgrade to Elements 11 and Premiere 11 for Windows a couple of days ago. When I tried to install, I received the following error message:
    "The installation process has encountered an error while installing Shared Technologies. Please restart your system and try again."
    There was an invitation to Troubleshoot using a button that downloaded Adobe Support Advisor. No joy, it didn't find any issues.
    I restarted and tried to install again. Same error message. The solutions here didn`t help so I started up a chat with Adobe Support.
    The TSR asked me to run  Set-Up.exe in Adobe Photoshop Elements 11 Install\PSE 11\ElementsSTIInstaller. That returned an error about the path being too long. He had me try some other ideas, none worked.
    The TSR then asked to do a remote session. After realizing that it would not work from  the install on our server, he copied the PSE11 directory locally. He again ran Set-up.exe from the PSE 11\ElementsSTIInstaller directory. This time it completed!
    After that, he ran Setup.exe in the PSE11 directory. This time, the setup completed and I was able to open Elements 11!
    Hope this helps someone else who gets this error message!
    Best,
    John

    Welcome to the forum.
    Take a look at this thread: http://forums.adobe.com/message/5200642#5200642
    That OP found that the problem with their installation was due to Norton running, during the installation, but there are other links, with maybe other solutions.
    Good luck,
    Hunt

  • The event logging service encountered an error while processing an incoming event published from Microsoft-Windows-Security-Auditing.

    Last night, some of our systems installed updates released on 11/13/2014.  
    KB3021674
    KB2901983
    KB3023266
    KB3014029
    KB3022777
    KB3020388
    KB890830
    Today, all of the servers running Windows Server 2008 R2 started logging the following error in the Security log over and over:
    Log Name:      Security
    Source:        Microsoft-Windows-Eventlog
    Date:          1/15/2015 11:12:39 AM
    Event ID:      1108
    Task Category: Event processing
    Level:         Error
    Keywords:      Audit Success
    User:          N/A
    Description:
    The event logging service encountered an error while processing an incoming event published from Microsoft-Windows-Security-Auditing.
    Servers running Windows Server 2008 that also installed the updates are not experiencing the problem.  It looks like one of the updates may have introduced this problem with Server 2008 R2.

    ...Did you for sure confirm that:
    https://technet.microsoft.com/library/security/MS15-001
    is the cause?
    I did.  I had a VM that was not experiencing the problem.  I took a snapshot and tested the patches one by one.  Installing only KB3023266 immediately caused the issue to occur (after reboot).  A similar process was used to confirm that
    installing KB2675611 resolved the problem.
    Note that I found the installation of KB2675611 is usually quick, but it took several hours hours to install on some of our systems.  We had installed this patch a few months ago on a couple of servers and it was always quick to install.  But,
    it seems like installing it on a symptomatic system can cause it to take a long time.

  • "The instillation process has encountered an error while installing shared technologies."

    Basically, when ever I attempt download Adobe Premiere Elements 11 on my Windows Vista computer, half way through a message pops up saying "The instillation process has encountered an error while installing shared technologies. Please restart your system and try again."
    Each time I insert the disc, I select trial version, in case I download the full version and it no longer lets me use my serial code.
    Some one said the destination folder couldn't contain more then 250 characters, so I changed its location from 'C:\Program Files\Adobe\' to 'C:\' but it still came up with the same message!
    I have downloaded the new Adobe Reader 10, but this makes no difference to the process.. no matter what I've tried it always comes up with the same message.
    I also turn of my anti-virus software when installing Adobe Premiere Elements. Still this doesn't do the trick. And I've restarted my computer and tried downloading it and un-downloading it multiple times!
    Every time the same message comes up, and I have no idea how to fix it... Its defiantly not my memory that is a problem, as I currently have 50GB free on my OS C:\ drive.
    I also have QuickTime version 7.6.9, which is apparently needed?
    If you know something I haven't tried that may work, or the problem causing this and a solution to the problem, please can you notify me, Thanks!

    Refer to this:
    Troubleshoot installation | Photoshop Elements, Premiere Elements | Windows
    Mylenium

  • With the following warning "ligheroom encountered an error when reading form its preview cache and n

    with the following warning "ligheroom encountered an error when reading form its preview cache and needs to quit.  lightroom will attempt to fix this problem the next time it lanuchse "
    ligheroom progrem 5.4 64-bit is stopped
    i can't use the Lightroom Progrem
    and want to solve the problem As soon as possible

    Delete preview cache - that should solve the problem.
    It's the .lrdata folder in with your catalog, named something like "My Catalog Previews.lrdata".
    Delete entire .lrdata folder, making sure you get the one in the same folder as the catalog you're opening. Do not delete anything else, and if you have something like "My Catalog Smart Previews.lrdata" - that's not it.
    http://helpx.adobe.com/lightroom/kb/preference-file-locations-lightroom-41.html
    When Lr comes up, consider initiating whole-catalog building of standard previews (Library -> Previews menu), lest you be "forever" greeted by temporarily gray thumbnails and "loupe loading" indicator in the future..

  • The event logging service encountered an error (res=5) ...

    Hi,
    I have promoted a new server to be a third DC.
    All seems ok, replication, dns, etc are working properly but after the boot in the system event log I see those errors:
    Log Name: System
    Source: Microsoft-Windows-Eventlog
    Date: 25.5.2012 14:32:15
    Event ID: 23
    Task Category: Service startup
    Level: Error
    Keywords: Service availability
    User: LOCAL SERVICE
    Computer: dc3.x.x
    Description:
    The event logging service encountered an error (res=5) while initializing logging resources for channel Microsoft-Windows-API-Tracing/Operational.
    and then for about 40 Microsoft channels:
    The event logging service encountered an error (res=5) while initializing logging resources for channel Microsoft-Windows-AppID/Operational.
    The event logging service encountered an error (res=5) while initializing logging resources for channel Microsoft-Windows-AppLocker/EXE and DLL.
    The event logging service encountered an error (res=5) while initializing logging resources for channel Microsoft-Windows-AppLocker/MSI and Script.
    The event logging service encountered an error (res=5) while initializing logging resources for channel Microsoft-Windows-Audio/CaptureMonitor.
    The event logging service encountered an error (res=5) while initializing logging resources for channel Microsoft-Windows-Security-Configuration-Wizard/Operational.
    etc...
    There is no error event before those event id 23
    Any idea?
    Thank you

    Have you checked the path of the System event log? Something similar happened to me once, turned out the log file was corrupted. I updated the path and created a new evt which solved the issue for me.
    Hopefully this helps:
    http://technet.microsoft.com/en-us/library/dd315662(v=ws.10).aspx

  • After loading the internet using Firefox AND then selecting NEWS and a delay the Error "The MSN toolbar has encountered an error. etc" occurs. Also, when browsing some searches are "REDIRECTED"!

    After loading the internet using Firefox AND then selecting NEWS and a delay the Error "The MSN toolbar has encountered an error. etc" occurs. Also, when browsing some searches are "REDIRECTED"!
    == This happened ==
    Every time Firefox opened
    == Hard to say but have been trying to diagnose for at least a week.

    Original message wouldnt post with attachments - trying again....
    Attachments:
    secondclickheredialog.jpg ‏40 KB
    FirstDialog.jpg ‏19 KB
    Firstclickheredialog.jpg ‏16 KB

  • Anyconnect 3.1.0.1065 "the client agent has encountered an error"

    Hi there.
    I trying to resolve a problem with VPN connection. We use ASA 5540, anyconnect ver. 3.1.0.1065 which works fine for almost every workstations. But some of them after successful authentication crash with error attached below:
    "the client agent has encountered an error"
    Operation system is Win 7 64bit.  Has anybody sow sth like that?
    thanks.

    Hi Ad,
    Could you please disable any FW / AV and try?
    How did you install 3.1? Did you upgrade it from a previous version?
    What if you uninstall it and install it again?
    What does the DART bundle reveal?
    Thanks.
    Portu.
    Please rate any helpful posts

  • How to prevent PS from skipping steps in action sequence after encountering an error while batching

    Hi guys,
    Would really appreciate help. I've spent several days working on this.
    What I am trying to do is a long story, but the latest problem I've encountered is that when batch running an action sequence, and when PS encounters an error in a step in that sequence (e.g. a layer X is not available), it does not process the subsequent steps in that sequence.
    My action sequence involves auto aligning layers from 2 image files, one a PNG file and another a JPG file.
    I am batch running the action sequence on a folder of image files. The PNG and JPG files are arranged like this:
    1.jpg
    1-1.png
    2.jpg
    2-2.png
    Some steps in the action sequence apply to the first image file, by virtue of the fact that the default layer in a jpg file is named "background", while some steps in the action sequence apply to the second image file by virtue of the fact that the default layer in a png file is named "layer 0".
    When I run the action sequence manually, I will just click "continue" when an error message pops up, and PS will continue processing the subsequent steps in the action sequence. i.e. the sequence works exactly as I need it to.
    But when I run the action sequence through the Automate> Batch command, with the setting "Errors: log errors to file", I find that PS ignores the subsequent steps in the action sequence if an error message is encountered on a step, and moves on to the next image.
    This is a screenshot of my action seq:
    Is there a way to get around this? I am not proficient in scripting, hence I am here seeking the expertise of this community.
    Thanks,
    Jay

    Use sc command to put Windows Module Installer to disabled in your script after Enabling Hyper-v Role. When the system completely restarts, change it to Manual or Automatic.
    Note: I have not tested it, it is just my thought, if it does not work or something unexpected happens, it means your issue cannot be fixed this way.
    Juke Chou
    TechNet Community Support

  • Running Applescript Gives Adobe Error

    Hello.
    Not sure where to post this but here goes.
    When I try to run an .sh file that calls an applescript script i get the following error:
    Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(....)
    I tried the fix here on the adobe site: http://kb2.adobe.com/cps/516/cpsid_51615.html
    but I still get the error.
    My script does not have anything to do with Adobe products so why is applescript calling some Adobe stuff?
    I also tried running "osacript arch -i386 myscript.sh" but I still see the error.

    +Not sure where to post this but here goes.+
    Scripting goes to either the Unix or AppleScript forums under OS X Technologies. Adobe Unit Types queries go to Adobe's website.

  • I keep getting "The MSN Toolbar has encountered an error. Please close all browser windows and start the browser again(Error code: 400)"

    This error pops ups after I have mozilla loaded for a few minutes.

    I tried installing (again) Premier Elements this morning after starting up my Win 7 PC. I did install some Windows (optional) updates and deleted several files suggested in "troubleshoot" when I got the same error mesage. The files/folders I deleteed before trying the install again are Cache, PDAppFlex.swf, and PDAppFlex-app.xml.
    This lastest installation attempt resulted in the name error message I have gotten a dozen times, "The installation has encountered an error while installing. Please restart system and try again". The hangup always occurrs around the same spot while installing shared technologies. Maybe this info helps?

  • The Manager Requests competitors encountered an error during the execution

    Hi
    Once i try to execute the conucrrent program i got this error , can u plz help what is this error in log file also i did not get any error message.
    How to check where is this error is occured in program.
    Thank's

    Hi
    Now also it is working to day 50 percent programs got errored and remaining 50 percents got completed normal and just now i checkcode also
    in the code it self they worte one insert program to insert the data from requisitin headers table with approved data.in this created by column is selected requisition created by column,my doubut in the error it is showing requisition header_id,i query based on this requisition header id i got created by as value.but it is showing error.
    Thank's

  • Ipod can only sync about 10th of the songs and then encounter unknown error

    A bit of a back story:
    So the problem started when my ipod classic 160gb started going funny on me, jumping songs and skipping others when i used it. so i decided to restore it. however, since then whenever i try and sync songs back into it, it will freeze- every time on a different song- and say that it could not sync the songs, giving a variety of different issues and errors:
    "Itunes could not sync (name of song) to the ipod (ipod name) because the file cannot be read or written". alternatively, "...because an unknown error has occured (-50)".
    "windows was unable to save all the dad for the file F:, the data has been lost. this error may be caused by a failure of your computer hardware or network connection. please try to save this file elsewhere"
    and "The specified I/O operation on \Device\harddisk1\DR9\ was not completed before the time out period expired.",
    "The Ipod (name of ipod) could not be synced. a duplicate filename was specified" and a few other varieties of these messages
    I tried resetting the ipod,using different usb ports and plugs, restoring the ipod several times and reinstalling itunes but non helped..
    I tried this solution:
    http://support.apple.com/kb/TS1539 and the error-checking tool for windows
    but also of no help
    I then tried to add songs manually in chunks of about 100 and it worked until about 750 songs ish (out of 3,000), and then whatever song you try to add doesnt work....
    I also tried to add photos and movies but it looks like its all a matter of size, as in if any more then the music equvelent of movies or videos will be uploaded it wont work but any less it would
    any ideas?

    I also used the diagnostic mode to check the hard disc situations, as explained here:
    http://discussions.apple.com/thread.jspa?threadID=2623917&tstart=0
    and got the folllowing results:
    retracts:1
    reallocs: 5704
    pending sectors: 576
    powerOn hours: 55
    Start/Stops: 3976
    temp current: 25C
    Temp Min: 13C
    Temp Max: 53C
    so i think that means the hard drive is stuffed, which may explain the issue
    is there anything i can still do?

Maybe you are looking for

  • One iAS for two Portal DBs with the same URL

    We are looking at using a single iAS install but having two different Portal Databases at the back-end (E.g. one for employees, the other for customers). The initial URL would be the same. Is this possible. Has it been tried ? (Also see my alternate

  • Error Message while assigning resource to work orders

    Hi All, We have the MRS tool integration with service work orders for scheduling. When we assign the resources with 9 hours as duration there is no error. When we allocate more than 9 hours for some resources, not all, we receive the error message as

  • Ibook G3 upgrade to Tiger (Airport no longer works)

    I have had my Ibook G3(384 MB ram, 20 GB HD, 600mhz, dual USB 2.0, 1 firewire, OS X 10.2, Airport)for over 2-1/2 years without any problem. I also have been using Netgear wireless router with 2 laptop pcs and 2 Apple computers (Imac G5 2Ghz, 2Gb ram,

  • No icon for Cover Flow in Finder

    I have recently upgraded my ibook G4 to Leopard. The cover flow option with quick look in the finder is wonderful. Unfortunately, I seem to be missing the little eyeball icon in the Finder window toolbar. I can access Quick Look by hitting the space

  • Plant Specific Authorization of  VA42,VA02,VF03

    Hi, I have to provide authorization for Change or Display of Contract Orders,Sale Orders, Billing docs for the Users of the plant in which they were created and for other Plant users i need to restrict. For example, If a billing doc was created in Pl