• 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: Read-Only Flag
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Read-Only Flag


  • Subject: Re: Read-Only Flag
  • From: Emmanuel <email@hidden>
  • Date: Sat, 2 Jun 2001 11:08:07 +0200

At 0:42 +0200 1/06/01, Rob Jorgensen wrote:

>That's all well and good if I have a version of each to compare, but
>this usually isn't the case. I just want to create a droplet that
>indicates which type of script it is, without the need to open it
>with an editor.

You can have Smile do that. If the user has Smile installed (and enough RAM
to have it run) the droplet could launch it in the background and have it
try to coerce the script into text:

-------------------- tested
try
set s to (load resource 128 type "scpt" from f) as text
-- readable script
on error number -1700
-- run-only (most probably)
end
-------------------- tested

Watch the parenthesis.

Emmanuel


  • Follow-Ups:
    • Re: Read-Only Flag
      • From: Rob Jorgensen <email@hidden>
  • Prev by Date: Re: Re: Record quirk - or bug?
  • Next by Date: Run applet from browser
  • Previous by thread: Re: Two things I noticed in a simple Finder script
  • Next by thread: Re: Read-Only Flag
  • Index(es):
    • Date
    • Thread