Re: Stumped - How to call subscript?
Re: Stumped - How to call subscript?
- Subject: Re: Stumped - How to call subscript?
- From: Timothy Bates <email@hidden>
- Date: Wed, 17 Jul 2002 18:19:06 +1000
>
how do you controll scripts with scripts?
>
in particular, how do you load a script object in a script?
>
failed guesses include
>
tell x to run script clearProps
>
set y to load script x
>
tell y to clearProps
Oh so close and yet ...
script clearProps
property pMyProp : ""
to check_init(what)
if what = 0 then
set pMyProp to ""
return "initialization complete"
else
set pMyProp to what
return "set it to your new value"
end if
end check_init
end script
set myClearProp to clearProps
set feedback to myClearProp's check_init(0)
_______________________________________________
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.