Upgrading
Note
If any included sample throws a script error on upgrading, always update
to the latest version from the Samples
button in the Configuration
Window. Only script authors need to read below.
Upgrading to 3.6.x from previous versions#
Scripts that made use of DrawColouredText
and DrawStyledText
in helpers.txt
will need to be updated as they have been removed.
DrawColouredText
can be replaced with the original gr.WriteText
which now has native
support for $rgb
. And DrawStyledText
can be replaced by gr.WriteText2
which has $font
and $rgb
support built in.
Upgrading to 3.4.x
from previous versions#
IJSGraphics
FillGradientRectangle
and FillGradientRectangle
have been removed. See
Gradients for their replacements.
window.CreateThemeManager
, window.IsThemed
and the IThemeManager
interface have
all been removed.
The want_stub
argument from IMetadbHandle
GetAlbumArtAsync
was removed. It was marked
as deprecated in 3.3.10
. See fb.GetAlbumArtStub.
A breaking change was made in 3.4.3
because of a bug that affected other components.
fb.AcquireSelectionHolder
and the ISelectionHolder
interface were replaced by
the 3 ISelectionHolder
methods being moved to window.
See how the included samples were updated here.
For JScript Panel
2.x
users#
Because of the massive changes, this component is named
JScript Panel 3 (foo_jscript_panel3.dll)
.
If you install a 32bit
version of JScript Panel 3
,
it will not override any previous installation. It will
install side by side.
There is no way to upgrade and scripts will require significant changes to be compatible. If you have complex scripts of your own, it probably isn't worth the effort.
The biggest change is the reworking of all graphics and image handling which are detailed here. That page also contains details of other methods that have been renamed and some have been removed.
JScript Panel v2
is still available for download here.