• 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: Adding files to AppleScript Studio Application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding files to AppleScript Studio Application


  • Subject: Re: Adding files to AppleScript Studio Application
  • From: Graff <email@hidden>
  • Date: Mon, 01 Nov 2004 11:29:01 -0500

I'm assuming that you add files the same way you would for a regular XCode project (which I believe an AppleScript Studio project is).

Open your project, go to the "Groups & Files" list on the left-hand side of your project window. Select the folder Project Name->Scripts by single-clicking on it, go to the menu item Project->Add To Project or use the key stroke option-command-A. Navigate to the script you want to add, select it, and click the Add button. Another window will come up, check the box that says "Copy items into destination..."

Your script files will be automatically copied into your project. The final location of the script in the built application should be in Project Name.app:Contents:Resources:Scripts:

Browse around Apple's web site for more information, here's a good starting point:
<http://developer.apple.com/documentation/AppleScript/Conceptual/ StudioBuildingApps/index.html>


Here's a little more in-depth information:
<http://developer.apple.com/documentation/AppleScript/Conceptual/ StudioBuildingApps/chapter03/chapter_3_section_3.html#//apple_ref/doc/ uid/20001250/TPXREF136>


- Ken

On Nov 1, 2004, at 10:32 AM, Martha Espinosa wrote:

Hi,

Can someone point me to an example or a web page that has information on how to add files to an AS Studio application. I have a couple of perl/bash scripts that my application needs.

I think they go in the "Resources" folder but how do I point back to them or access that folder from my application?

Any help is appreciated.

_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Adding files to AppleScript Studio Application (From: Martha Espinosa <email@hidden>)

  • Prev by Date: Adding files to AppleScript Studio Application
  • Next by Date: Best practices- nested loops or handlers or both
  • Previous by thread: Adding files to AppleScript Studio Application
  • Next by thread: Best practices- nested loops or handlers or both
  • Index(es):
    • Date
    • Thread