Skip navigation

need applescript studio older version

1244 Views 2 Replies Latest reply: Feb 9, 2011 8:04 PM by Boberino RSS
FCPeditor Level 2 Level 2 (150 points)
Currently Being Moderated
Feb 4, 2011 7:42 AM
I have been asked to program for a company. what I would like to do is go back to an older version of Applescript studio what actually uses Applescript so I can create on interface with drop down windows and that cool floating gray-ish window. I dont know Obj-C.

what version of AS would that be. thanks for the info.
MBP17, Mac OS X (10.6.5)
  • red_menace Level 6 Level 6 (14,275 points)
    Currently Being Moderated
    Feb 5, 2011 11:57 AM (in response to FCPeditor)
    AppleScript is a set of system components, so you can't just drop in an older set.

    AppleScriptObjC does use AppleScript, the main difference is in the way it accesses the Cocoa frameworks - AppleScript Studio essentially uses a bunch of terminology and handler wrappers around Cocoa methods that the Studio development team have gotten around to including, while ASOC can call Cocoa methods directly (a bit cleaner than Studio's call method kludge). You don't really need to know Objective C, but it does help a little when looking at the documentation - I know just enough to get an idea what some code snippet is doing, but don't ask me much more than that.

    Older AppleScript Studio projects can still be edited and compiled in Snow Leopard's Xcode, so the components are still in there. Since Apple wants everyone to start using the new framework, the older project templates have been removed, but they can also still be used. If you really need to develop a new Studio application, for example to use on older systems, you just need to do a couple of things.
    1) The AppleScript Studio palette can be enabled in Interface Builder by using
    defaults write com.apple.InterfaceBuilder3 IBEnableAppleScriptStudioSupport -bool YES

    2) You need to get a copy of an AppleScript Studio project template. If you have access to a Leopard system installation, the easiest way would be to make a copy of the desired template from the */Developer/Library/Xcode/Project Templates/Application* folder there, for example the *AppleScript Application* template (you can also download the old templates from my iDisk here). You probably shouldn't modify anything in the /Developer folder, but you can use custom project templates from your user's *~/Library/Application Support/Developer/Shared/Xcode/Project Templates/Application* folder, so copy your project template there (make intermediate folders as needed).


    Once the template is copied, you can select it when making a new project and use the old terminology as usual.
    MacBook Pro, Mac OS X (10.6.4), (and various older stuff keeping dust off the shelves)
  • Boberino Level 1 Level 1 (30 points)
    Currently Being Moderated
    Feb 9, 2011 8:04 PM (in response to red_menace)
    red_menace :

    I wasn't the one who originally asked for help here, but thanks! That was very useful. I appreciate your assistance.
    Quad-Core Intel Xeon with 2 - 3 GHz Processors (Mac Pro), Mac OS X (10.6.3)

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.