Re: Load a run only Script from handler problems
Re: Load a run only Script from handler problems
- Subject: Re: Load a run only Script from handler problems
- From: Jason Bourque <email@hidden>
- Date: Sat, 29 Jun 2002 11:23:54 -0400
Ok, I figured it out. The script I was loaded had a loaded script that was
saved a in Script Debugger mode. Once I changed that it worked fine.
Thanks for the help.
Jason Bourque
Co-Director Boston AppleScript Users Group
On 6/29/02 1:03 AM, "Benjamin S. Waldie" <email@hidden> wrote:
>
Jason,
>
>
On Friday, June 28, 2002, at 06:53 AM, Jason Bourque wrote:
>
>
> Can anyone confirm that loading a run only script from a handler return
>
> an
>
> error of "Couldn't complete last command because the script was saved as
>
> run-only (run-only scripts cannot be edited)"
>
>
---> I load "run-only" scripts in handlers all the time. I also have no
>
problems whatsoever calling handlers within the loaded "run-only"
>
scripts.
>
>
You should be able to simply say...
>
>
set myRunOnlyLoadedScript to load script file "Macintosh
>
HD:RunOnlyScript"
>
displayDialog() of myRunOnlyLoadedScript
>
>
-Ben
>
>
Benjamin S. Waldie
>
Write Track Media
>
(AppleScript GuRu)
>
>
AppleScript Web Site:
>
http://www.AppleScriptGuru.com
>
http://www.wtmedia.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.
_______________________________________________
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.