Page 1 of 1

AllCode and Scratch.

Posted: Mon Nov 27, 2023 11:04 am
by Dan81
Hello,
I'm trying tou use Formula AllCode with Scratch (v2 offline)
I have downloaded resource : CP5894 - Formula Allcode Robotics course.pdf.

I run the helper (and the firmware is V2). The Formula is connected.
I launch Scratch2 and open "Formula AllCode Template".

But I don't see API commands in "my Blocks". In script area, special blocks are called "undefined" .
All files are in the same folder.

What am I doing wrong ?

Thanks

Dan

Re: AllCode and Scratch.

Posted: Mon Nov 27, 2023 12:59 pm
by Steve-Matrix
Hi Dan,

Scratch relies on software called “AIR” by Adobe and the latest version of this blocks any extensions being used with Scratch. In order for the Extensions to work on Scratch 2.0, an older version of Adobe AIR that includes the WebKit needs to be installed. Here are some instructions:
  • Uninstall Adobe AIR (In Windows, go to Applications, right click on Adobe Air -uninstall)
  • Uninstall Scratch 2.0
  • Go to https://airsdk.harman.com/runtime
    - scroll down to AIR runtime including WebKit - version 33.1.1.744
    - install the appropriate 33.1.1.744 version for your operating system
  • Install Scratch 2.0
Unfortunately the problem was not of our making and was due to Scratch using a later version of software that breaks the use of extensions.

Re: AllCode and Scratch.

Posted: Tue Nov 28, 2023 4:26 pm
by Dan81
Hello Steve

Thanks a lot.
Now it works .

Daniel