• 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: Saving handler-defined scripts without source code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Saving handler-defined scripts without source code


  • Subject: Re: Saving handler-defined scripts without source code
  • From: Andy Wylie <email@hidden>
  • Date: Sat, 11 Jan 2003 15:41:34 +1300

on Fri, 10 Jan 2003 17:23:27 -0500 Arthur J. Knapp wrote:

>
> The great Richard 23, in a rare on-list appearance last year, showed us
>how to do this very thing:
>
> <http://lists.apple.com/mhonarc/applescript-users/msg31751.html>
>
>>> script
>>> property parent : AppleScript
>>> script
>>> property icon : the clipboard
>>> return my icon
>>> end script
>>> end script
>>> run script result
>>>
>>> store script result in file "Private:icon data"
>>>
it was nice to see r23 is alive, I was distracted from this gem by errors in
another script he posted at the time and forgot to investigate this thanks!
generic quickie...

script _store
property parent : AppleScript
on _itsit(x)
script
property data : x
my data
end script
end _itsit
end script
_store's _itsit({"abc", {123}, {abc:123}, {application "Finder"'s
selection}})
store script result in file ((path to "desk") & "abc r23" as string)
replacing yes
run script alias ((path to "desk") & "abc r23" as string)

--> {"abc", {123}, {abc:123}, {{file "abc r23"}}}

_____________________________ Andy
_______________________________________________
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.

  • Prev by Date: Re: niaga irafas (safari again)
  • Next by Date: Re: Saving handler-defined scripts without source code
  • Previous by thread: Re: Saving handler-defined scripts without source code
  • Next by thread: Re: Saving handler-defined scripts without source code
  • Index(es):
    • Date
    • Thread