• 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: FADE DEAD
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FADE DEAD


  • Subject: Re: FADE DEAD
  • From: JJ <email@hidden>
  • Date: Fri, 15 Mar 2002 10:43:29 +0100

> At 2:03 PM +0000 3/14/02, Giuliano Gavazzi wrote:
>> Are you sure?
>
> Dang. That invalid script id error threw me off. It looks like you can embed
> the FADEDEAD in a script after all. Darn, and I thought it was pretty cool.
>
> Ah well, more time wasted. ;)
>
No wasted. It answered my question

> Oh yeah, the other thing the beginning tag does is tell the generic component
> which script component should be used to run the script.
>
Yes, just opened a javascript OSA script and seems that javascript code is
stored as is within scpt.

Then, another question relative to storage. Why does it store full paths
when you make a reference to a file or when using a tell block.

Ie

tell app "Finder" to...

will be stored as

MACS (creator flag) Finder (app name) JJ:System Folder:Finder (full path
within MY DISK)
Is this the reason because the typhical question "where is located app xxx"
when running the script in other computer?

And about storing properties... An example:

property x : read (":file.txt" as alias)
-- "file.txt" contains word "HELLO"
display dialog x

Obviously, when I delete the "file.txt", the script runs as normally, and
displayes dialog "HELLO".
So, embedding commands into properties only work at compile time?
Let's supposse that "file.txt" was the "Neverending Story". If I want mail
the script it could be an amount of many minutes sending many MB... :-).
Then, what's the difference between

property x : read (":file.txt" as alias)

&

property x : "HELLO"

Me wasted time!

JJ

> Jon
>
> Oh bother. -- Whiny the Pugh
:-)
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: FADE DEAD
      • From: Christopher Nebel <email@hidden>
    • Re: FADE DEAD
      • From: Jon Pugh <email@hidden>
  • Prev by Date: Re: Scripting a command to unix with sudo fun
  • Next by Date: Re: AS: Compiled or interpreted?
  • Previous by thread: Re: FADE DEAD
  • Next by thread: Re: FADE DEAD
  • Index(es):
    • Date
    • Thread