Contacts Applescript dictionary broken in Mavericks?

So this script works fine in Mountain Lion, but is broken in Mavericks.  Apperntly, Applescript no longer knows the class "person" anymore, even though it's still listed in the Contacts dictionary.
tell application "Contacts"
                    repeat with theName in every person
                              set theName2 to the name of theName as string
display dialog theName2
          end repeat
end tell
When I open this script under Mavericks, the person class has been replaced by  «class azf4»
When I try to replace that with "person" again and compile, I get "Expected class name but found identifier".
Running 10.9.2.  Anyone else see this?????

This question came up in this thread. The solution is to rebuild the launch services database. Run the following command in terminal:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.fram ework/Support/lsregister -kill -r -domain local -domain system -domain user
then quit and relaunch the Finder.

Similar Messages

  • PDF copy to clipboard is broken in Mavericks 10.9.5

    PDF copy is broken in Mavericks 10.9.5 on my MacBook Pro 17 (mid 2009). I cannot screen capture to the clipboard (ctrl-shift-cmnd-4) or between applications when the copy format is PDF. I can, however, save as a pdf file during screen capture (shoft-cmnd-4). Other formats (pict, jpeg etc) work fine. Only pdf is broken. The error shows up as an empty clipboard and as Preview being unable to create a new file from the clipboard. Have reinstalled OSX 10.9.5 (combo update). Have created a new user and logged in as the new user (no menu bar extensions,  etc) and the problem persists. Have booted up in safe mode and the problem persists.
    Is this a combination of an old MacBook Pro (17 inch, mid 2009) and Mavericks or have others experienced this problem with different configurations?
    Message was edited by: acarruthers

    Please report to Apple Feedback. This is not a forum for reporting bugs.

  • AutoFS/automountd broken in Mavericks?

    Priot to upgradignto Mavericks (I was on Mountain Lion) I had AutoFS setup to mount two AFP volumes under /Volumes. Post upgrade this no longer works and in fact I cannot get any aspect of AutoFS/automountd to work.  Is this just me or is this completely broken in Mavericks?

    How do you have AutoFS set up, exactly? Have you specified auto mounts in directory utility under Mounts, or did you edit /etc/auto_master? Either way, it would appear that Mavericks no longer allows you to specify auto mounts that mount underneath /Volumes. Here is a relevant discussion:
    https://discussions.apple.com/message/23537689
    Two solutions.
    1. Specify a local mount point that consists of any path not underneath /Volumes. Example: /nas.
    2. Mount the volume through the finder, and once it shows up on your desktop, open up System Preferences -> Users & Groups -> Self -> Login Items, and drag and drop the resulting mounted volume icon in there. It will re-mount on login.

  • QuickTime Applescript Dictionary property for luminance on current frame

    Anyone know if there is a way to reference the luminance of the current frame via the Applescript dictionary?
    Or know of a scope application that applescript can use to get the luminance?

    I can't figure out how to capture the current frame of the flash movie sprite.
    You were almost there. Try either of these:
    put sprite("flash").currentFrame
    -- or
    put sprite("flash").frame

  • Problems to print contacts with specific fields under Maverick.

    I am unable to print contacts with specific, selected fields like `firm´ or `position´under Mavericks. The selected fields will not show up in the printing preview and not be printed at all. Any ideas?

    Thanks, John! It seems you guessed correct, partly at least. I turned some of the problamatic fields off and on again an these are showing up now and I can print them. Great!
    However, I can see the field "firma" (German = company in English) in the previewed sample card but not in the pull down menu "Add Field". That means, I am unable to turn it off/on. The intersting thing: The field is visible and selectable even in the printer dialog were you can select the fields you would like to print but it remains unprintable.
    Again, many thanks, John! 

  • AppleScript support broken in CS5!

    Following the 'Changes to Photoshop CS5 and Applescript' thread. I'd like to emphasis that AppleScript support is way broken in CS5.
    We have compiled scripts which fail to execute properly. Once this happens, every AppleScript command then fails including trying to compile new commands using the script editor.
    This breaks our application which was working great for years on CS3 and CS4.
    What can be done?

    To reproduce the issue :
    1. Place an "image.tif" on your desktop
    2. Open another image in Photoshop
    3. Run the following script
    tell application "Adobe Photoshop CS5"
    activate
    set masterDocument to current document
    open file ((path to home folder as string) & "Desktop:image.tif")
    height of masterDocument
    end tell

  • Groups within groups broken in Mavericks Mail?

    In Mavericks 10.9, it appears there's a problem if a Contacts group contains other Contacts groups.
    Example:
    Within Contacts, create Small Group with three contacts.
    Within Contacts, create Big Group with six contacts.
    Within Contacts, create Huge Group.
    Drag Small Group and Big Group to Huge Group.
    In Contacts, click on Huge Group. It appears to contain Small Group and Big Group.
    Click on either Small Group or Big Group and Contacts reports "No Cards".
    Open Mail.
    Make a New Message.
    In the To: field type "Huge Group".
    No addresses appear.
    In Contacts, a control-click on Huge Group shows a pop-up menu with command Send Email to "Huge Group" dimmed.
    Is this happening to others?
    mm

    What does it say in the "charset=" header
    charset="iso-8859-1"
    But another mail has nothing there, only "Content-Type: text/html";
    The important thing is not whether this charset is correct or not. The important thing is that Apple has made my mail experience worse by this "upgrade", for no good reason!
    Earlier, I could change encoding of mails (perhaps a badly encoded mail), but Apple has taken away that posibility for no good reason. It only affects old mails, before UTF became common. It is typical of Apple not to care about history, but for me, old mails constitute valuable history.
    Rather than taking away an option to change the encoding (or interpretation of an encoding) of a mail, I think Apple should have enhanced the feature: Sometimes, it happens that only the subject line is erronously interpretated (mime endoding of non-us-ascii characters), and I would like to fix that. It has never been possible. (This problem can even happen today with some new mails auto-generated by machines, such as auto-replies.)

  • RigKontrol3 output broken in Mavericks

    Hi, I'm using RigKontrol3 as an audio device. That worked great until I updated from Snow Leopard to Mavericks.
    Latest Driver from NI is installed. But now every sound plays an echo of the last or some other sound before it starts. For example, if I start a flash video, before the sound starts I hear the last error sound, or, if an error occurs, that sound will be played twice. This can be tried in sound settings, where every sound I chose start with the last sound or at least a part of it, then the correct one plays.

    Just to be sure when you look at the Contacts entry in the dictonary it looks like this:
    And if you do a Get Info on the app in the /Applications folder the names and version numbers match.

  • I lost al my documents, photo's, contact person after upgrade to mavericks. How can i get them back

    i lost al my documents, photo's, contact's and more after upgradeto mavericks. how can i get them back

    First if you haven't done so already click on the Apple Logout > and make sure you don't have more than one user account...  If you don't log back in and see if your files came back.  Try this: 
    press command + space keys > Search for terminal then hit enter. 
    from command line > type: cd ~/Documents (or Desktop or Pictures just depends where you had your files)
    then type: ls -a (this will list all files even hidden ones let me know if you see your files or not)
    *Note: Be sure to read the instructions carefuly and ask questions if you don't understand something.

  • Korean language broken in Mavericks mail

    Hi there!
    I used both English and Korean language.
    Sometimes, mail contents in Korean are broken when I receive email from Korean friends.
    I tried to view message in raw source....no improvement.
    Someone suggested text encoding...but I do not know how to change text encoding in Mavericks.
    Jay

    What does it say in the "charset=" header
    charset="iso-8859-1"
    But another mail has nothing there, only "Content-Type: text/html";
    The important thing is not whether this charset is correct or not. The important thing is that Apple has made my mail experience worse by this "upgrade", for no good reason!
    Earlier, I could change encoding of mails (perhaps a badly encoded mail), but Apple has taken away that posibility for no good reason. It only affects old mails, before UTF became common. It is typical of Apple not to care about history, but for me, old mails constitute valuable history.
    Rather than taking away an option to change the encoding (or interpretation of an encoding) of a mail, I think Apple should have enhanced the feature: Sometimes, it happens that only the subject line is erronously interpretated (mime endoding of non-us-ascii characters), and I would like to fix that. It has never been possible. (This problem can even happen today with some new mails auto-generated by machines, such as auto-replies.)

  • Back gesture broken in Mavericks

    Even since upgrading to Mavericks I have had problems with the back gesture.  I've held off on posting thinking this had to be wide spread and would be patched but over a month and no fix.  If I two finger swipe back in an application (Safari and iTunes for sure, probably others) it will hang the app.  In Safari I can close that tab and be OK but iTunes I have to kill the full app and start over.  Anyway seen this?  Any ideas on how to fix?
    Thanks!

    I am sorry to tell you but you definetely sat on your device and in that case it won't be covered by warranty.You can contact xperia care though:
    http://www.sonymobile.com/global-en/support/contact-us/
    All we have to decide is what to do with the time that is given to us - J.R.R. Tolkien

  • Help with a ridiculous half-broken Yosemite/Mavericks install?

    Hello all,
    I hate Yosemite. It's the Windows 8 of OS X...with broken DNS to boot.
    I was troubleshooting some video issues, and decided to try and see if the problem persisted in Yosemite.
    I downloaded the installer from the App Store and begun the install process for an installation on a flash drive.
    After the install completed, my iMac rebooted, and to my horror everything was Yosemite-y. I shut down and unplugged the flash drive.
    My suspicions were true, Yosemite had gunked up my Mavericks installation pretty bad. The boot logo was Yosemite, and my mac booted to a Yosemite installer at startup. I tried using the "kind of mac bootloader" that is invoked with the option-key, but my Mavericks install didn't show up. Luckily my Mavericks Recovery Partition was bootable, and after 2 hours of trying different ways to find and mount my Mavericks partition, I was in. The reason that this took so long was because at every step of the way, Yosemite tried its hardest to hide my Mavericks partition. (A process resembling the acts of Malware). My Mavericks partition boots, but when I startup my mac, I am greeted with the Yosemite apple logo, and Yosemite option-key bootloader, and then my Mavericks login screen.
    How did this Frankenstein of an OS even become of existence? I checked, and yes, Yosemite installed onto my flash drive, NOT my SSD, but it still shoved all the boot crap onto my Mavericks install.
    Is this even fixable, or should I restore from Time Machine? I'd rather not have to reinstall, but will if needed.

    Do a backup, preferably 2 seperate ones.
    Revert to a Previous OS X
    Revert Yosemite to Mavericks
    If you do revert, I'd use Setup Assistant to restore your data. This process takes a while, so do it when you won't need the computer for several hours, based on my experience.

  • Getting contact info off broken iphone 3g

    Does anyone know if it is possible to regain contact numbers off a broken iphone 3g that will not turn on so cannot be synced to macbook?? Some people have said that the contacts should be saved on ur mac from last time you sync it, but i cannot find them. Can anybody help???

    Contacts are included in your iphone backup. Use this to extract them, however in the future sync them to Address Book so you don't have to go through this:
    http://supercrazyawesome.com/

  • Contacts canot be modified in Maverick

    Hi, I am trying to work out why contacts stopped responding. I have removed app preference files in the user library/ application support to see if it makes a difference but it does not. I loged i as a different user and the contact app works fine. As different user I added the contact filesa from the initial user and they work there as well. I reinstalled Maverick today but no change. The problem is that if I edit anything in Contacts the rainbow wheel starts and it does not stop spinning.
    I also tried to stop and start Icloud in the preferences to see if that would make a difference, but Icloud starts hanging in system prefs as well, so there is either another problem or it is the same issue. When iCloud hangs my keyboard stops responding until force quit system preferences - pretty buggy stuff - has anyone got a bright idea as to what might be happening here? Any suggestions would be appreciated.
    Thanks
    btw I am running a macbook pro 10.2 with 8gb of ram and 2.4 Ghz i7

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Java broken on Mavericks

    Followed the various bits of advice - latest Java installed.
    Java is not working - period - in any browser.
    Yet another update that has broken what was working.
    Absolutely stuck.
    Any suggestions, anyone, please?
    Cheers,
    Mike

    Hi thanks for that - yep, I realise Mavericks is sans java.  I had installed the java as recommended on these forums.
    Actually,  I had tried installing the latest incarnation from the java site.
    Restarting the machine and checking gave me:
    Verified Java Version
    Congratulations!
    You have the recommended Java installed (Version 7 Update 45).
    This is before your kind response.
    And, after trying to get java too work for a good few days - it now does.
    Thanks, anyway.
    Mike

Maybe you are looking for