Re: Scripting Debugger's Palettes
Re: Scripting Debugger's Palettes
- Subject: Re: Scripting Debugger's Palettes
- From: "Arthur J Knapp" <email@hidden>
- Date: Mon, 05 Mar 2001 15:04:26 -0500
>
From: "Bourque, Jason" <email@hidden>
>
Subject: Scripting Debugger's Palettes
>
Date: Mon, 5 Mar 2001 10:56:03 -0500
>
How can you script the bounds of each of the palettes in Script Debugger?
A brief examination of the dictionary, along with some tests, would
seem to indicate that the palette windows of SD 2.0 are not accessable,
(of course, there are plenty of ways to work with the data that the
palettes are used to display).
It is an interesting omission from SD's very complete scripting model,
but I would imagine that implementing scriptable palletes would be quite
difficult. SD's palletes are Photoshop-ish, in that they contain tabs
that can be dragged around to either create a new pallete or to concatenate
two or more palletes into one.
The problem, then, would be in knowing how to reference a given pallete.
You couldn't say:
set ScriptsPallete to pallete "Scripts"
because the name of the pallete changes depending on which tab is frontmost.
I guess the scripting model could be designed to work something like this:
set ScriptPallete to pallete item "Scripts"
set PalleteWin to pallete window of ScriptPallete
set bounds of PalleteWin to [ whatever ]
Does anyone know of an application that allows for the scripting of
these kinds of palletes, (Photoshop-ish)?
Does anyone know of a better description for these kinds of palletes
other than Photoshop-ish? ;-)
Arthur J. Knapp
http://www.stellarvisions.com
mailto:email@hidden
Hey, check out:
http://www.AppleScriptSourceBook.com