• 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
Re: AppleScript GUI creation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript GUI creation


  • Subject: Re: AppleScript GUI creation
  • From: Doug Adams <email@hidden>
  • Date: Wed, 11 Apr 2012 16:00:08 -0400

To be (hopefully) clearer:

You can write some very fine AppleScripts with very complex UIs
using the Cocoa Template in AppleScript Editor. Go to my site and search
for the "Cocoa-AppleScript" category to see screenshots of some of these
type of AppleScripts for iTunes.

You do have to "hand code" your UI, but this allows you to tap into Cocoa.
You can use NSTables, NSButtons, NSPopupButtons, NSMatrix, NSMutableArrays,
and all that stuff. These AppleScripts behave just like, uhm, AppleScripts. That is,
you can run them from the Script menu, they can be opened and editted by
anyone, and so on. There are some simple examples of these Cocoa-AppleScripts
(that Shane had a lot to do with) at Sal's site, which was mentioned previously.

OR, you can write Cocoa apps in Xcode using AppleScriptObj-C. These
are full-fledged Cocoa-apps. You *need* to know how Cocoa and
Objective-C work in order to write these. But you write them using an
AppleScript syntax.

It is these latter-types of apps that can be submitted to the MAS. As far as I
know, you cannot submit an AppleScript application (Cocoa-ApppleScript
included).

Doug
--
dougscripts.com







 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: AppleScript GUI creation
      • From: Shane Stanley <email@hidden>
    • Re: AppleScript GUI creation
      • From: Yuma Antoine Decaux <email@hidden>
  • Prev by Date: Re: AppleScript GUI creation
  • Next by Date: Re: AppleScript GUI creation
  • Previous by thread: Re: AppleScript GUI creation
  • Next by thread: Re: AppleScript GUI creation
  • Index(es):
    • Date
    • Thread