• 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
Build Development versus Deployment changes results of simple Applescript lines
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Build Development versus Deployment changes results of simple Applescript lines


  • Subject: Build Development versus Deployment changes results of simple Applescript lines
  • From: "Sean P. Kane" <email@hidden>
  • Date: Sun, 12 Mar 2006 06:22:38 -0800

This line of code:

set vProgramLoc to (path to me as string) & "Contents:Resources:Scripting Additions:My App.app" as string

works fine for me when I build my code as a "Development" build and vProgramLoc is set to something like this:

"MacBook HD:Users:spkane:svn:working:Hijack_iTunes:build:Development:Hijack iT!.app:Contents:Resources:Scripting Additions:Extra Suites.app

however when I change it to a "Deployment" this get serious broken and instead returns this:

"MacBook HD:Users:spkane:svn:working:Hijack_iTunes:build:Deployment:Hijack iTunes.app:Contents:MacOS:Hijack iTunesContents:Resources:Scripting Additions:Extra Suites.app"

It is returning:

 "MacBook HD:Users:spkane:svn:working:Hijack_iTunes:build:Deployment:Hijack iTunes.app:Contents:MacOS:Hijack iTunes" 

as the (path to me) under Deployment, but:

 "MacBook HD:Users:spkane:svn:working:Hijack_iTunes:build:Development:Hijack iT!.app"

as the (path to me) under Development.

Is this expected for some reason? Any ideas what I can do to get this to not change behavior?

Thanks,
Sean

-------------------------------------------------------------------------------------------------------------
Sean P. Kane                                                                                email@hidden
-------------------------------------------------------------------------------------------------------------
"When we destroy something man has created we call it vandalism......
 When we destroy something that Mother Nature has created we call it progress."


 _______________________________________________
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

  • Follow-Ups:
    • Re: Build Development versus Deployment changes results of simple Applescript lines
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: Re: Minimize work, but Maximizing Applications doesn't work
  • Next by Date: Re: Itunes - persistent ids not unique (or, managing double integers)
  • Previous by thread: Re: iCal: How to retrieve a list of events in chronological order?
  • Next by thread: Re: Build Development versus Deployment changes results of simple Applescript lines
  • Index(es):
    • Date
    • Thread