Automator hangs on simple iTunes-related script

Hi folks,
Automator (v2.0.2) seems to hang on some very simple scripts involving iTunes. For example:
Get Selected ITunes Items -> Copy Finder Items (to Desktop)
will hang in perpetuity on my system, even if a single, small mp3 file is the only selection in iTunes.
On the other hand, if I use "Ask For Songs" and manually select the same mp3 file, the script works properly.
Anyone have any ideas?
Mike

If you look in the description for the action, the input that the action is expecting and the result (output) of the action are listed. The output for the Get Selected iTunes Items is iTunes Items (an object that other iTunes actions can use), while the output for Ask for Songs is Files/Folders (an object that file handling actions can use). Automator 2 is pretty good at converting different object types, but not everything has a conversion action - apparently this is one of them.

Similar Messages

  • Collection of pacman- and package-related scripts.

    I have uploaded a small collection of simple package-related scripts that has been growing on my system. I have posted (variations of) most of them around the forum in response to different threads.
    Some examples:
    * detect incomplete packages (i.e. packages missing installed files)
    * recursively list unpackages files in a given directory (e.g. can be used to find leftover packages in /usr)
    * extract original version of file from package cache (e.g. to see what a configuration file was before you butchered it)
    * clean custom package cache while keeping a certain number of versions for each package
    etc.
    You can get them here: http://xyne.archlinux.ca/scripts/pkg/. If there is enough interest I will probably package these.
    There is now a package. You can find repo and AUR links here: http://xyne.archlinux.ca/projects/pkg_scripts/
    Last edited by Xyne (2013-11-10 21:46:46)

    Allan wrote:
    Xyne wrote:* detect incomplete packages (i.e. packages missing installed files)
    Um - you do know about "pacman -Qk"  (or -Qqk for less noise).
    Note, in the upcoming pacman-4.1 pacman will confirm file size, permissions, ownership, creation times, symlink targets.  Checksum checking needs additional libarchive support.
    As I said, these are scripts that have collected over time. I don't bother to delete them whenever Pacman catches up.
    But yeah, when I posted this thread, I didn't have that in mind.
    Last edited by Xyne (2013-02-06 12:20:35)

  • Itunes install hangs at "registering itunes automation server"

    Windows 8 - 64 bit
    Loaded latest Quick Time.
    uninstalled itunes ...rebooted...tried installing again but still hangs at "registering itunes automation server"
    When I click on "cancel" install...it starts to roll back and says "Files missing"
    Thanks

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    tt2

  • ITunes 10.5.3 Installation on Windows XP SP3: hanging on "Registering iTunes Automation Server"

    I have uninstalled successfully iTunes 10.5.1 from my notebook and reinstalled iTunes 10.5.3.3. Unfortunately, in reinstallation process, iTunes is hanging on "Registering iTunes Automation Server" for over 3 hours!!!!!!!! Quicktime, Safari, Bonjour, Apple Application Support, Apple Mobile Device Support, Apple Software Update are all reinstalled successfully!!! WHAT's the problem for my notebook? How to overcome this issue??? Please help me !!!!!!!!!!!!!!!!!!!!
    System:Windows XP SP3
    Apple iPhone 4S, iPad 2, iPod Classic

    Noboday has ideas about this issue???

  • I did everything lllaass suggested and removed most of the itunes related components, but when I tried to remove itunes, I got the message, "The feature you are trying to use is on a network resource that is unavailable" so I was not able to uninstall it.

    I did everything lllaass suggested and removed most of the itunes related components, but when I tried to remove itunes, I got the message, "The feature you are trying to use is on a network resource that is unavailable" so I was not able to uninstall it.

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page).
    http://majorgeeks.com/download.php?det=4459
    Here's a screenshot showing the particular links on the page that you should be clicking:
    After clicking one of the circled links, you should be taken to another page, and after a few seconds you should see a download dialog appear for the msicuu2.exe file. Here's a screenshot of what it looks like for me in Firefox:
    Choose to Save the file. If the dialog box does not appear for you, click the link on the page that says "CLICK HERE IF IT DOES NOT". Here's a screenshot of the page with the relevant link circled:
    When the dialog appears, choose to save the file.
    (2) Go to the Downloads area for your Web browser. Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • My question is Itunes related.  How do you prevent a playlist saved in Itunes from alphabetizing the song list created. I wanted to keep the original order, and somehow everything was alphabetized without requesting it.

    My question is Itunes related.  How do you prevent a playlist saved in Itunes from automatically alphabetizing the song list.   I had a specific order of songs that I wanted, and Itunes somehow automatically alphabetized them.  Is there a way to turn that feature off, and/or get them back to the original order?   I also noticed that once a playlist has been created, I cannot manually changed the order of the songs from my desktop..  Any suggestions?

    That's just the sort order. It's displaying the media alphabetically because you have clicked on the NAME column near the top of the iTunes window.
    Click on the little triangle above the column of numbers (usually on the far left side of the main iTunes window) and the media will sort in the order in which you added each item to the playlist.
    You can easily reorder songs within a playlist: Click and HOLD on the song you wish to move, then drag-and-drop it wherever you like.

  • HT4527 how to transfer info to a mac book pro from a pc i need to get my iTunes and other iTunes related items off of my old computer so i can sync my phone and get my music

    how to transfer info to a mac book pro from a pc i need to get my iTunes and other iTunes related items off of my old computer so i can sync my phone and get my music.
    I have already tranferd some info to an external hard drive i just need to get my itune items. also i have heard if you plug your phone to a differnt computer you lose of you information.
    i need help please.

    The tv is a extended display on your mac like a second moitor you want to mirror them (same thing on both)
    This should help you

  • ITunes hang due to iTunes Match

    My iTune hang every turn on iTunes Match.
    If I turn it on, I can't download/update large application or update all. I have to update one by one and only small one that's success (<100 MB).
    iTunes Match also not working on my MBP. If I download nothin but just turn on iTunes Match, after a while my iTunes will also hang. So, my songs are purchased from iTunes store via iDevices will also not be updated on my MBP.
    Right now I have to turn iTunes Match off then I can use iTunes normally. Download or any update are working fine.
    Error is below and I have no idea what to do. Actually the error show much longer than I paste it here If you have any suggestion, kindly tell me.
    Thank you very much
    =============================================================
    Date/Time:       2015-03-20 22:33:26 +0900
    OS Version:      10.10.2 (Build 14C1514)
    Architecture:    x86_64h
    Report Version:  21
    Command:         iTunes
    Path:            /Applications/iTunes.app/Contents/MacOS/iTunes
    Version:         12.1 (12.1.0.50)
    Build Version:   1
    Project Name:    iTunes
    Source Version:  1200012001000050
    Parent:          launchd [1]
    PID:             864
    Event:           hang
    Duration:        1.00s (process was unresponsive for 35 seconds before sampling)
    Steps:           11 (100ms sampling interval)
    Hardware model:  MacBookPro11,3
    Active cpus:     8
    Fan speed:       2159 rpm
    Timeline format: stacks are sorted chronologically
    Use -i and -heavy to re-report with count sorting
    Heaviest stack for the main thread of the target process:
      11  ??? (iTunes + 10548) [0x1087f9934]
      11  ??? (iTunes + 8074918) [0x108faa6a6]
      11  -[NSApplication run] + 594 (AppKit + 95635) [0x7fff91b71593]
      11  -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194 (AppKit + 145200) [0x7fff91b7d730]
      11  _DPSNextEvent + 964 (AppKit + 147329) [0x7fff91b7df81]
      11  _BlockUntilNextEventMatchingListInModeWithFilter + 71 (HIToolbox + 190123) [0x7fff98d8c6ab]
      11  ReceiveNextEventCommon + 431 (HIToolbox + 190570) [0x7fff98d8c86a]
      11  RunCurrentEventLoopInMode + 235 (HIToolbox + 191215) [0x7fff98d8caef]
      11  CFRunLoopRunSpecific + 296 (CoreFoundation + 464984) [0x7fff8c4ce858]
      11  __CFRunLoopRun + 927 (CoreFoundation + 466495) [0x7fff8c4cee3f]
      11  __CFRunLoopDoSources0 + 269 (CoreFoundation + 469005) [0x7fff8c4cf80d]
      11  __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 (CoreFoundation + 525953) [0x7fff8c4dd681]
      11  ??? (iTunes + 8800346) [0x10905b85a]
      11  ??? (iTunes + 8800148) [0x10905b794]
      11  ??? (iTunes + 8797140) [0x10905abd4]
      11  ??? (iTunes + 7130737) [0x108ec3e71]
      11  ??? (iTunes + 7171065) [0x108ecdbf9]
      11  ??? (iTunes + 7173238) [0x108ece476]
      11  ??? (iTunes + 7218926) [0x108ed96ee]
      11  ??? (iTunes + 7229095) [0x108edbea7]
      11  ??? (iTunes + 7220255) [0x108ed9c1f]
      11  ??? (iTunes + 7223076) [0x108eda724]
      11  ??? (iTunes + 7225008) [0x108edaeb0]
      11  ??? (iTunes + 14405745) [0x1095b4071]
      11  ??? (iTunes + 14405134) [0x1095b3e0e]
      11  ??? (iTunes + 14022490) [0x10955675a]
      11  ??? (iTunes + 14024146) [0x109556dd2]
      11  ??? (iTunes + 14053714) [0x10955e152]
      11  ??? (iTunes + 7965285) [0x108f8fa65]
      11  ??? (iTunes + 7964397) [0x108f8f6ed]
      11  ??? (iTunes + 3570058) [0x108b5e98a]
      11  FSDeleteObject + 24 (CarbonCore + 417815) [0x7fff8fa96017]
      11  PBRemoveObjectInternal(FSRefParam*, unsigned char) + 190 (CarbonCore + 429124) [0x7fff8fa98c44]
      11  BasicDelete(FSMount*, unsigned int, char const*, unsigned char, unsigned char) + 43 (CarbonCore + 342669) [0x7fff8fa83a8d]
      11  FSMount::remove(unsigned int, char const*, unsigned int) + 374 (CarbonCore + 829746) [0x7fff8fafa932]
      11  FileIDTreeBeginTransaction + 235 (CarbonCore + 222989) [0x7fff8fa6670d]
      11  FileIDTreeBeginTransactionBridge + 453 (CarbonCore + 218279) [0x7fff8fa654a7]
      11  usleep + 54 (libsystem_c.dylib + 519760) [0x7fff8e6c9e50]
      11  __semwait_signal + 10 (libsystem_kernel.dylib + 91274) [0x7fff90d5148a]
    *11  semaphore_wait_continue + 0 (kernel + 1373536) [0xffffff800034f560]
    =============================================================

    Hi judysings
    Thanks for your help.
    I tried to follow for each topic from your link. Actually it doesn't contain any topic about uploading issue.
    After I turn on my iTunes Match again, the same problem appears. My iTunes hang again after iTunes Match status bar updating in a while.
    Before I turned on, I've check and never seen any duplicated except from different albums.
    Actually, this problem happened since a few days ago that iTunes down for the whole world area. So, my iTunes database most likely the same even before and after it down. My one seems not fully recovered.
    Anyway. Thank you very much

  • Trying to update iTunes, the installer keeps freezing at 'Running iTunes Installer Scripts'.  i've tried several different versions of iTunes and can't install any of them.  I'm stuck with Version 4!!  Help!

    I'm trying to update iTunes on my mac (Power Mac G5 running tiger), but it always freezes at 'Running itunes installer script'.  I have tried a few different versions of iTunes, but I have the same problem with all of them.  I'm stuck on version 4 (which came with my os discs)!  Help?! 

    Ok, First this link should solve the windows scripting host error. I used "Download windows script host" in a google search and it was the first hyperlink.
    http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB -95A22B832CAA&displaylang=en
    I'm assuming you are trying to run the installer from apple. What I would suggest is you download the installer manually to your desktop then launch the installer. If try to run the installer over the intertubes you may run into a problem like you did.
    Then I would uninstall itunes 8 and any software associated with it like the apple update software, quicktime, apple mobile device support. However uninstalling itunes should remove any additional software it installs. Then clean out your temp folder:
    6. Clean out your temp folders,
    a. C:\windows\temp (if one exists)
    b. C:\Documents and Settings\{username}\Local Settings\Temp
    Sometimes installers will pick up old files or won’t delete their temporary files.
    Then with a newly download installer on your desktop try launching it. Let me know if that helps.
    Here is an apple doc that help.
    http://support.apple.com/kb/TS1331
    Message was edited by: CoJeff

  • How do I authorise computers and iPads to use iTunes related purchases

    how do I authorise computers and iPads to use iTunes related purchases

    You can authorise up to 5 computers via iTunes by signing in with your ID.
    On iPads you enter your iTunes/AppStore store ID in Settings if it's not configured or different to your iCloud ID (if you have one).  These do not count as computer authorisations.
    AC

  • Firefox 14.1 & 15 hangs on Google periodically (unresponsive script message) Adobe flash 11.4

    Ever since Adobe Flash 11.4 Ive been experiencing freezing issues on certain sites mainly Google though when ever it hangs I get a unresponsive script message now started around June I had a very similar problem to this one but it was fixed because from 2nd to 20th it didn't freeze once and during this time I was using Adobe Flash 11.3.300.271 and no time after this Flash update I started having problems again I mean I know it has to be the Flash update because if I was going to have any problems with the last version it would've happened within two weeks time how do I know it happens every few days give or take also I should mention I tried disabling to protection mode in Flash 11.4 it didn't help

    Well I'm pretty sure its the Flash Player although I had protection mode disabled and now that I look at the Java Script I see that it had an update recently on the 31 of August and that's when it froze up well before that it did freeze on the 23rd but was because of a conflict between Avast and Sandboxie which was quickly fixed by Sandboxie. Here Ill attach a screenshot of the error message I'm starting to believe its Java because when it did freeze before I didn't get any bad script message from FF it just would hang/freeze and now ever single time it freezes it gives me a script message.
    PS: If anyone else is having this same problem please feel free to leave a reply/comment and describe the problem thanks.

  • TS1368 I cannot access the iTunes store or anything iTunes related on my computer.  I've tried everything recommend here.  Can anyone help??

    I cannot access the iTunes store or anything else iTunes related on my computer.  I've tried everything I can find and nothing seems to work.  I've changed the firrewall settings, I've uploaded the latest version of Windows and iTunes.  I've ran the diagnostics..nothing.  If I hit the help button on the diagnostics page...I can't get iTunes help because I don't have connection!!!!!  Any help please!!!

    I'd try the following document: 
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • When i sync my iphone 3gs, my itunes hangs up after itunes sync the apps, so i can't pup music on my divice

    When i sync my iphone 3gs, my iTunes hangs up after iTunes sync the apps, so i can't put music or videos etc. on my divice...
    Why is that so

    Check the General -> Restrictions settings and see if perhaps the iTunes app is turned off there. If not, the app may have been inadvertently moved to another home screen or dropped into a folder. Do a search for the app or try resetting the Home screen layout: Choose General > Reset, then tap Reset Home Screen Layout.
    Regards.

  • Automator workflow hangs indefinitely after running Python script

    Hello,
    I have an Automator workflow set up to use a one-line shell script to launch a Python script. The Python script has a GUI and stays open for the user to interact with it. It launches fine, but I've noticed that my Automator workflow hangs and the spinning workflow cursor won't disappear from the menu bar unless I manually kill the workflow or quit the Python app. Not a huge deal to kill it manually, but annoying.
    I saw someone posted a way to kill an Automator workflow using an AppleScript or shell script embedded within the workflow, but adding that as a second step doesn't work for me—the Automator workflow never gets to that step, presumably because it's waiting for my Python app to close. Anyone know a way to make the Automator workflow kill itself after launching a Python script?

    By default, AppleScript (and, by extension, Automator) will wait for theshell process to exit before continuing the workflow (or exiting if the shell script action is the last step.
    This can be overcome by launching the shell process as a background process, which returns control to AppleScript/Automator, and allows your workflow to continue (or end).
    Just append:
    &> /dev/null
    after your shell command to launch it in the background, e.g.:
    /usr/bin/python /path/to/your.py &> /dev/null
    and you should get what you expect.

  • Automator hanging running sudo???

    I have an older server we just upgraded to 10.7.  I had some automator scripts I ran to change permissions.  I opened them to update them and it hangs on the Run Applescipts that have a sudo command in them.  They just hang and never stop.  I even created this simple script to run cd and it hangs.  Yesy in my actual script the password is correct.  Any ideas?
    Thanks,
    Scott
    on run {input, parameters}
              do shell script "sudo cd" password "test" with administrator privileges
              return input
    end run

    figured it out

Maybe you are looking for

  • Final Cut Pro issues in Lab environment

    Ok so this one has me completely buggered. I manage about 6 Mac Pros in a small TV Studio/Editing lab at a university. The Mac Pros are managed with an Xserve running server 10.6.2, using Open Directory for account management. All network accounts us

  • IPhone 4S 5.0.1 upgrade to 6.1.3 by on air. Is it possible?

    Good day! Exuse me for my fluent English-I am from Russia)) I have Bought a new iphone 4s 64 GB recently. It has 5.0.1 firmware. Today it offered me to update on air to 6.1.3. (it's strange,because ios 7 is actually now) Can I do it or my iphone will

  • BDC Session In Dynpro

    Hi,            Is it possible to use BDC session to update data for TC : PA40 using webdynpro application . ...If so could you provide some example how to achive this ... Thanks, Kumar

  • How do I prepare a graphic novel or text novel as an app download?

    How do I prepare a graphic novel or text novel or any sort of readable material as an app download thru the App Developer software? Or do I have to buy other electronic publishing software?

  • Not able to delete model column in ODI Designer

    When deleting a column from a data model I get an error "This object is referenced by another object". The column was used in the Target Datastore of two interfaces. I have opened both interfaces to the Diagram tab and unchecked the "Active Mapping"