Re: run script not setting script property
Re: run script not setting script property
- Subject: Re: run script not setting script property
- From: John Delacour <email@hidden>
- Date: Sun, 7 Sep 2003 22:01:04 +0100
- Mac-eudora-version: 6.1a2
At 5:02 am -0400 7/9/03, Ken Tozier wrote:
[ snip much irrelevant stuff]
this runs fine in script editor, but if run using "run script", no
dice. "lastSearchInfo" isn't updated at the "PM get resource" call.
Does "run script" not allow setting of non-empty properties?
Does your problem boil down to the fact that x does not change to 101 ?
property x : 42
run script "set x to 101"
x
--> 42
If so, why do you expect a homeless script to change the properties
of another ?
Contrast...
property x : 42
run a
script a
set x to 101
end script
x
--> 101
run script "property x : 42
run a
script a
set my x to 101
end script
x"
--> 101
_______________________________________________
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.