• 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
Smile/Satimage: 'load resource'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Smile/Satimage: 'load resource'


  • Subject: Smile/Satimage: 'load resource'
  • From: Gary Lists <email@hidden>
  • Date: Wed, 09 Jul 2003 06:26:48 -0400

I haven't gotten much further trying to access information returned as raw
data (treating it like a text string), and so I am now trying to achieve
something similar using Smile's "load resource".

I admit that I am wading in the muck up to my navel and not seeing terra
firma nearby.

Guidance much appreciated...web, here, direct, whatever.

I tried various things for "type class", as the dictionary entry didn't get
me very far. (Perhaps my lack of this sort of terminology, rather than a
comment on the dictionary.)

It says...

load resource small integer -- index of the desired resource
type type class -- type of the desired resource
from file specification -- file to read from
[as type class] -- an AppleScript type for the returned result

I have tried...

load resource x of type "TEXT" from mj as text
--><<data ctxt596F7572...3742E0D>>

But that didn't get me very far to actually getting the text, but gave me
the idea to try:

load resource 8001 type <<class ctxt>> from mj as text
--> compiles to: load resource x type text from mj as text
--> Error: a resource wasn't found


Next step?

Thanks,
--
Gary

MacOS 9.1 / "9 is Fine"
_______________________________________________
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: Smile/Satimage: 'load resource'
      • From: John Delacour <email@hidden>
  • Prev by Date: Re: applescript url
  • Next by Date: Illustrator Matrix help needed!
  • Previous by thread: Script Editor 2.0 Services problem
  • Next by thread: Re: Smile/Satimage: 'load resource'
  • Index(es):
    • Date
    • Thread