• 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: Store Script Madness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Store Script Madness


  • Subject: Re: Store Script Madness
  • From: Victor Yee <email@hidden>
  • Date: Tue, 20 Nov 2001 17:46:12 -0500

On Sat, 17 Nov 2001 03:58:48 -0500, vectormation wrote,

> I was tinkering with load & store a while back and found I could store a
> script into an existing file, but couldn't get it to store to a new file.
> I went so far as to write a mass of code to duplicate a dummy script,
> change it's name, and store over it. It worked but it felt skanky so I
> dropped the line of investigation... this was on 9.04

I've been tinkering as well with a few tests and it appears that a required
condition for a successful "store script" is that the target file has a resource
fork.

I've tried it with Tex-Edit and SimpleText text files with positive results.
However, Tex-Edit seems to remove the script resource if it makes changes to the
file (SimpleText left the script resource alone).

If you're creating a new file using "open for access", it won't have a resource
fork. Perhaps Akua could add one for you?

This is on MacOS 9.1

Victor


  • Prev by Date: Re: Type & Creator DB ?
  • Next by Date: Re: Store Script Madness
  • Previous by thread: Re: Store Script Madness
  • Next by thread: Re: Store Script Madness
  • Index(es):
    • Date
    • Thread