Skip to main content
Eaglescience
Participant
February 15, 2023
質問

ExtendScript: Generate QR-Code Vector from input string

  • February 15, 2023
  • 返信数 1.
  • 3327 ビュー

Hey all,

I am currently trying to generate a QR code that we can then place in an extendscript document.
Google did not provide usable answers except for existing plugins, but it needs to be implemented by ourselves.

 

I did find this script, and was wondering if this was importable, and able to use the functions to generate the QR vector to use in my script: https://www.illustratorscripts.com/scripts/qr-generator/

Kind regards

返信数 1

Inspiring
February 16, 2023

Works here. Run it via File > Scripts > Other Script… and choose QR.jsx. It’ll pop up a simple dialog for you to enter the data and size. Takes a second or two to run and creates a new file when done.

 

If you want the JSX script to appear permanently in the Scripts menu, put it in Illustrator’s Scripts folder and restart AI. Finding this folder is an exercise in itself and modifying will likely require admin permissions, e.g. on Mac it’ll be something like:

 

/Applications/Adobe Illustrator 2023/Presets/en_GB/Scripts