Hi William,
There's a work around for the problem of workflows, such as adding to
iTunes as a spoken track, no longer working in iTunes 10. The issue
is that Automator workflows may check the version of iTunes before
running workflow actions to make sure that features used are
supported. Because numbers in versions appear in alphabetical sort
order, version 10.0 of iTunes is being treated as a number that is
smaller (e.g. earlier) than version 9.0 of iTunes, and Automator is
rejecting the use of some workflow actions with the new version 10.0
of iTunes. The temporary fix is to edit the property list for the
workflow and either change the version string that is being checked
from "4.6" to "0" or to delete the lines that check the version
entirely.
Here's the link to the article in Mac OS X Hints:
http://hints.macworld.com/article.php?story=20100903004553923
(Get Automator working again in iTunes 10 by chrischram September 03,
2010)
<begin quote>
As has been already reported in Macworld, Automator actions that talk
to iTunes all broke upon the release of iTunes 10.0. This is because
each action specifies in a text string in its Info.plist file that it
requires iTunes version 4.6 or higher, and alphabetically, '10.0' is
smaller than '4.6.' I frequently use 'Add to iTunes as a Spoken
Track' (activated in System Preferences » Keyboard » Services). Here
is how I got it working again.
'Add to iTunes as a Spoken Track.workflow' is found in /System/Library/
Services. Navigate to that location and double-click the workflow
file. Don't Panic! We are not going to modify this file; we're just
looking for error messages when it's opened in Automator.
Automator complains that the actions 'Import Audio Files' and 'Add
Songs to Playlist' could not be loaded because the application iTunes
is the wrong version.
Navigate to /System/Library/Automator. WARNING: Do not modify files
found under /System! Copy 'Import Audio File.action' and 'Add Songs to
Playlist.action' to a convenient location in your User area. After
copying, right-click on one of those files and select 'Show Package
Contents.' Inside the package you will find a Contents folder within
which is an Info.plist file. Open this file in your favorite text
editor. Look for a section of text that looks something like this:
<array>
<dict>
<key>Display Name</key>
<string>iTunes</string>
<key>Resource</key>
<string>com.apple.iTunes</string>
<key>Type</key>
<string>application</string>
<key>Version</key>
<string>4.6</string>
</dict>
</array>
Delete the 'Version' line and the '4.6' line (the last two lines in
the dict entry). Save. Repeat this process for the other action file.
Launch Automator. Select File » Import Actions... and choose the
actions you just modified. These modified actions will be placed in ~/
Library/Automator. You may want to color-label them so that they can
be removed if/when Apple fixes this problem. You probably will want to
log out/log back in to get your workflow working.
This process should work for any iTunes-related Automator action that
broke when iTunes 10.0 was released.
<end quote>
Disclaimer: I haven't updated to iTunes 10, but to fix the 'Import
Audio Files.action' and 'Add Songs to Playlist.action' files based on
the above description, I'd probably try something like this:
1. To navigate to the /System/Library/Automator folder, in Finder,
press Command-Shift-G (for "Go to folder"), then either type or paste
in:
/System/Library/Automator/
into the text box of the dialog window and press return.
2. Navigate to the action you want to copy, e.g. VO-Right arrow to the
table of file actions and interact (VO-Shift-Down arrow), then press
"i m p" to go to "Import Audio File.action". (I'm usually using list
view for Finder here -- this option is Commmand-2).
3. Copy "Import Audio File.action" with Command-C. I'd simply open a
new Finder window with Command-N and navigate to the user location
folder I wanted to place these actions to work in and paste with
Command-V. Then I would use Command-accent to switch back to the
first Finder window set to the /System/Library/Automator/ folder and
navigate to "Add Songs to Playlist.action".
4. Copy "Add Songs to Playlist.action" with Command-C, switch to the
second Finder window with Command-accent, and paste the action into
the user folder of your choice with Command-V.
5. To modify the Info.plist files for each action, bring up the
context menu (VO-Shift-M), arrow down to "Show Package Contents", and
press return. Use VO-backslash to expand the Contents folder or, for
non-English input keyboards, press VO-H twice to bring up the commands
menu and arrow down to "Toggle Disclosure Triangle" and press return.
6. Navigate to the Info.plist file and use the context menu (VO-Shift-
M) to choose "Open with", return, and then select "TextEdit" from the
list of "Other" options.
7. Use Command-F to find, and type "resources", then return. The
version lines you want to delete are in the section for
"RequiredResources" and this will save you having to search past the
versions of the XML code at the start of the file when you next use
Command-F to type in "version" as your search term. Delete the line
that gives the key as "Version" and the next line which gives the
string as "6.4", then save the file.
8. Go through a similar procedure (steps 5-7) to edit the Info.plist
file for your second action (e.g., "Import Audio File.action" and "Add
Songs to Playlist.action").
9. Launch Automator, (e.g., from Finder use Command-Shift-A to go to
Applications, press "a u t" to go to Automator, and press Command-Down
arrow to open the app.) Press return in response to prompt to select a
starting point for a new workflow.
10. Navigate to the File menu (VO-M, press F), and select "Import
Actions…" (press "i" and return). In the dialog window that asks for
the location of the action, navigate to the location of the Info.plist
file(s) you have modified. (Do this for each modified action).
You might want to log out and log back in so that your workflows and
iTunes settings are ensured to start with your new values. According
to other articles, the same fix will work for any other iTunes
Automator actions that aren't working due to the upgrade to iTunes
10.0. The macfixit site lists a bunch of these:
http://reviews.cnet.com/8301-13727_7-20015540-263.html
(iTunes Automator workflows no longer working after iTunes 10)
HTH. Cheers,
Esther
On Sep 3, 2010, at 14:56, William Windels wrote:
Hello all,
i just have discovered that the function , add to itunes as a spoken
track, don't work anymore.
I have already done a permission repair but the problem isn't solved.
I think , but I am not shore, that the problem appears after the
upgrade to itunes 10.
This function is done with workflows and, both: the workflow
included by default from apple and the adapted workflow from www.universalaccess.it
aren't working both.
Is here someone that has this problem also?
If so, we can report to accessibility...
thanx for your answers,
best regards,
William
--
You received this message because you are subscribed to the Google Groups
"MacVisionaries" group.
To post to this group, send email to macvisionar...@googlegroups.com.
To unsubscribe from this group, send email to
macvisionaries+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/macvisionaries?hl=en.