• 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: (no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject)


  • Subject: Re: (no subject)
  • From: "email@hidden" <email@hidden>
  • Date: Wed, 22 Dec 2010 08:45:04 -0800

> so why does it demand i tell it where tvpi2crontab.app is?


Because "/DVR/scripts/tvpi2crontab.app" is not a full path. AppleScript does not assume a current directory.

>  does "compiled" mean something different in a/s?

Different than what? 'Compiled,' in appleScript, means the terms of the script have been synced with the underpinning appleEvent code, and that the script has no basic syntax errors. In the case of aliases, it used to mean that any direct references to aliases were resolved a compile time, but you can now compile without the item an alias references available.

'Compiled' has nothing to do with posix paths or any problem with the script you've posted here.

HTH,

ES


On Dec 22, 2010, at 8:27am, tom wible wrote:

> i have a script that includes code from another app:
>
> property tvpi2crontabP : "/DVR/scripts/tvpi2crontab.app"
> property tvpi2crontab : (load script POSIX file tvpi2crontabP)
>
> on open these_items
> 	set PpathList to {}
> 	repeat with f in these_items
> 		set end of PpathList to POSIX path of f
> 	end repeat
> 	tvpi2crontab's tvpi2email(PpathList)
> end open
>
> on run
> 	set these_files to choose file with multiple selections allowed
> 	open these_files
> end run
>
> and judging from the size of it, it's all there:
>
> tomw> ls -l tvpi2email.app/Contents/Resources/Scripts/
> -rw-r--r--   1 tomw  staff  401874 Dec 21 10:06 main.scpt
>
> so why does it demand i tell it where tvpi2crontab.app is? or does "compiled" mean something different in a/s?
> _______________________________________________
> 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

 _______________________________________________
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: compiled scripts
      • From: tom wible <email@hidden>
References: 
 >(no subject) (From: tom wible <email@hidden>)

  • Prev by Date: (no subject)
  • Next by Date: Re: compiled scripts
  • Previous by thread: (no subject)
  • Next by thread: Re: compiled scripts
  • Index(es):
    • Date
    • Thread