• 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: Lion compatibility question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lion compatibility question


  • Subject: Re: Lion compatibility question
  • From: Shane Stanley <email@hidden>
  • Date: Sun, 28 Aug 2011 11:49:20 +1000

On Aug 28, 2011, at 11:35 AM, Donald Hall wrote:
>
> I have been testing my application Script Timer for Lion compatibility. The actual background scheduling engine is an Applescript bundled application. It seems to work fine, but I noticed in the Console that when it launches the following message appears:
>
> STSchedEng: CFURLCreateWithString was passed this invalid URL string: '/System/Library/Frameworks/AppleScriptKit.framework' (a file system path instead of an URL string). The URL created will not work with most file URL functions. CFURLCreateWithFileSystemPath or CFURLCreateWithFileSystemPathRelativeToBase should be used instead.
>
> The script was compiled under OS X 10.6.7, ASE 2.3, and run through Script Bundle Tool. (Thanks, Luther!)
>
> Has anyone else noticed this? Should recompiling under Lion take care of it? It looks like a change in the call used to load the  ApplescriptKit framework. (I don't have my development stuff on my new Lion computer yet.)

Are you calling "system info" in your script? Something similar also happens with other script commands. IAC, there's nothing you can do about it; it's an AS bug in 10.7. Fortunately it doesn't seem to cause any problems.

--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>

 _______________________________________________
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

References: 
 >Lion compatibility question (From: Donald Hall <email@hidden>)

  • Prev by Date: Lion compatibility question
  • Next by Date: Fwd: Tex-Edit Plus For Lion Beta
  • Previous by thread: Lion compatibility question
  • Next by thread: Re: Lion compatibility question
  • Index(es):
    • Date
    • Thread