• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
problems with installing appscript as a substitute for NSAppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problems with installing appscript as a substitute for NSAppleScript


  • Subject: problems with installing appscript as a substitute for NSAppleScript
  • From: John Love <email@hidden>
  • Date: Mon, 13 Oct 2008 08:01:20 -0400

I've got a almost complete Cocoa document-based app done. The "almost" centers just on my need for Thread-friendly AppleScript, which NSAppleScript is not .. so, enter appscript.

Dug around and found ASTranslate which handily generates appscript code based on my input AppleScript code.

Then in http://appscript.sourceforge.net/objc-appscript/install.html I found:

svn checkout http://appscript.svn.sourceforge.net/svnroot/appscript/objc-appscript objc-appscript
svn checkout http://appscript.svn.sourceforge.net/svnroot/appscript/py-appscript/trunk py-appscript
svn checkout http://appscript.svn.sourceforge.net/svnroot/appscript/py-osaterminology/trunk py-osaterminology


Downloaded each folder and the above automatically placed them at the top-level of my /users/myname folder.

So far, so good, but this is where it ends ..

Found the unix executible file = osaglue buried in each of the above folders .. double-clicked on osaglue and Terminal returned:

===
Sorry, py-appscript 0.18.1 or later is required to use osaglue.
Please see the following page for more information:

    http://appscript.sourceforge.net/py-appscript/install.html

Please install py-appscript and run this command again.
===

In http://appscript.sourceforge.net/py-appscript/install.html I found:

   sudo easy_install appscript

where the web page states "To download and install py-appscript via setuptools, run the following command in Terminal:"

But in Terminal, I got such warnings as:

In file included from Modules/CarbonX/_OSAmodule.c:33:
Modules/CarbonX/GetASFormatting.c: In function ‘ParseStyle’:
Modules/CarbonX/GetASFormatting.c:33: warning: ‘FMGetFontFamilyName’ is deprecated (declared at /System/Library/Frameworks/ ApplicationServices.framework/Frameworks/QD.framework/Headers/Fonts.h: 832)


.. and way down at the very end:

zip_safe flag not set; analyzing archive contents...
No eggs found in /tmp/easy_install-f-y69D/appscript-0.18.1/egg-dist- tmp--JzIjp (setup script problem?)


I then copied osaglue to my usr/local/bin/, double-clicked on the copied osaglue and got:

===
Sorry, py-appscript 0.19.0+ and py-osaterminology 0.12.0+
are required to use osaglue.
Please see the following page for more information:

    http://appscript.sourceforge.net/objc-appscript/install.html

Please install these modules and run this command again.
===

Of course, this is due to easy_install not working!

What am I missing or doing wrong?

John

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: NSCollectionView - getting notified of selection change?
  • Next by Date: textDidChange: for several NSTextFields
  • Previous by thread: right-click on a title-bar of borderless-window
  • Next by thread: textDidChange: for several NSTextFields
  • Index(es):
    • Date
    • Thread