jsui sketch.default2d(); question
I've moved a patcher onto a windows xp machine from a Mac and am having problems with the jsui object not working properly. On my mac, it works to give "course" and "fine" movement to a knob. When I open the patcher on the Windows machine, the jsui is blank. If I double-click the js file, I get the following error message:
'sketch' is undefined
and a reference to the line in my script that has:
sketch.default2d();
Is this a Windows/Mac thing? I'm not a javascript guru, so any tips or help would be greatly appreciated.
Thanks.
I think my previous post may have been a bit of a red herring. In the Max window, I am getting the following lines
qtimage_open: quicktime is not installed
sketch_image: knobmaster.png error -1 opening file
Quicktime not installed
The file "knobmaster.png" does exist in the search path and it is a png file.
I'm specifically using png files to prevent the user from having to install quicktime. Does sketch require Quicktime? Is there a way around this? Thanks.
Installing quicktime is listed as a requirement for Max5 on Windows. There might be no way around. When I was developing something for Windows that didn't run properly, support told me to instruct users to install quicktime.
Hmm...
As I read the System requirements on the C74 site, it sounds like QuickTime is only required on Windows if you are using Jitter. In this case, I'm not using Jitter.
I can load the knobmaster.png "stitched" image file just fine into a [pictctrl] object in windows, but when I try to use it in [jsui], it won't work. The image works fine in both instances on my Mac, just not my PC.
Can someone confirm that QuickTime is required to use sketch_image in the jsui object on a PC. I've tried all the examples I can find where an image is called by sketch (even png images which are supposedly supported on the PC without QT), but I can't get any of them to work on the PC. The Max window always references a Quicktime error. My issue is that I want to use jsui with an image in a standalone, but don't want to force the user to install QuickTime if at all possible. Thanks.
jvkr, you were absolutely right. I contacted tech support about this as well, and the told me the same thing. When I pointed out the system requirements on the c74 website says QT is only needed to use jitter, they admitted that needed to be changed.