Re: (no subject)
Re: (no subject)
> 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