• 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
Passing Variables to AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Passing Variables to AppleScript


  • Subject: Passing Variables to AppleScript
  • From: Pierce Freeman <email@hidden>
  • Date: Sat, 18 Oct 2008 13:05:33 -0700
  • Thread-topic: Passing Variables to AppleScript

Hi everyone.

I am attempting to create a little application that will take an application
name from the user, and then close it for them.  I am attempting do this by
getting the string in Cocoa, then passing this to AppleScript... But I don't
know if Cocoa can pass variables to AppleScript.  I imagine that there must
be some way, as this would be very useful, but if so there is not a lot of
documentation for it (at least using the phrases that I'm using).


Thanks for any help,

Pierce F.


_______________________________________________

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

  • Follow-Ups:
    • Re: Passing Variables to AppleScript
      • From: "Kyle Sluder" <email@hidden>
  • Prev by Date: Re: NSAlert?
  • Next by Date: Resize an image view
  • Previous by thread: Re: NSAlert?
  • Next by thread: Re: Passing Variables to AppleScript
  • Index(es):
    • Date
    • Thread