Custom Filter errors - RealWorld forums

Log-in or register.

Custom Filter errors

How do I get the "Document" example to work?
johan
on October 6th 2008

I'm trying to write a "Custom Operation" in RW Cursor Editor. I don't seem to get the JScript Document-object example to work:
http://wiki.rw-designer.com/JScript_Document

Similarly: http://wiki.rw-designer.com/JScript_Application also gives an error.

---------
RealWorld Cursor Editor
---------
An error occured during execution of an operation. To resolve it, check validity of current document and configuration of the attempted operation.
---------
OK
---------

I can use the RasterImage object. But only with no "Document." in front of it.

1. Can I use the Document object inside a Custom Operation?
2. If not, where can I?

(Working with Vista SP1, RWCE 2007.1)

Vlasta
on October 6th 2008

The released version of RW Cursor Editor (2007.1) does not have the latest scripting features (they will be available in next version of course).

If you just want to work with images, you can try the RW Photos beta, which has almost everything mentioned in the documentation, or RW Icon Editor 2008.1 (but that is not freeware).

In current version of cursor editor, you can use the RasterImage global object to work with images pixel by pixel and a couple of other objects to interact with user and clipboard.

johan
on October 6th 2008

Thanks for the info! Looking out to the next release then :-)

Page views: 1810       Posts: 3      
Vista & Win 7 icons
What about ICL files?
Select background