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

Re: Inheritance dilemma


  • Subject: Re: Inheritance dilemma
  • From: matt neuburg <email@hidden>
  • Date: Wed, 23 Apr 2003 09:46:57 -0700

On 4/23/03 at roughly 8:57 AM, thus spake David Graham
<email@hidden>:

>On Wednesday, April 23, 2003, at 08:30 AM, matt neuburg wrote (in
>part):
>
>> That's the kind of thing you were trying to do. m.
>
>Matt,
>
>First, thank you for the level of detail in your explanation. I think I
>get what you are saying, but it doesn't really address my issue

Because I couldn't tell what it was; you were sort of rambling all over
the place. I answered all the questions I could find in that note, I
assure you.

>namely: how can you SET a property in a loaded script such that it
>sticks? I understand that the new SE beta doesn't allow for property
>persistence, but in my case this is an applet so the editor can't be a
>factor in the equation.

Okay, that's *another* issue. Well, I bet you created the script you're
loading with the Script Editor beta. You mustn't do that. This works for
me, but only if I create and save the original script (yoho.scpt) with SE
1.9 or with SD - *not* SE 2.0 beta. I think SE beta must really do some
damage to properties in files that it saves.

set f to "xxx:Users:mattneub:Desktop:yoho.scpt"
set yoho to load script file f
display dialog yoho's yoho
set yoho's yoho to yoho's yoho & "yoho"
store script yoho in file f replacing yes

m.

matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
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.

References: 
 >Re: Inheritance dilemma (From: David Graham <email@hidden>)

  • Prev by Date: Re: Inheritance dilemma
  • Next by Date: Re: Scripting Disk Utility in OS X
  • Previous by thread: Re: Inheritance dilemma
  • Next by thread: Safari and POST data
  • Index(es):
    • Date
    • Thread