Copy link to clipboard
Copied
Hola! Me gustaría saber como puedo crea un código qr y vincularlo a una imagen con indesign o Illustrator Crearlo lo he conseguido pero no se como al escasear el código hacer que me lleve a la imagen que quiero.
Hi,
Try these below list of script to add QR code to any of your objects:
//============================================
var myDoc = app.documents[0];
//============================================
var myRectangle = myDoc.pages[0].rectangles[0];
// Creating Email QR Code
myRectangle.createEmailQRCode("test123@gmail.com", "Test Subject", "Test Msg");
//============================================
var myRectangle1 = myDoc.pages[0].rectangles[1];
// Creating Hyperlink QR Code
myRectangle1.createHyp
...
Copy link to clipboard
Copied
Hi,
Try these below list of script to add QR code to any of your objects:
//============================================
var myDoc = app.documents[0];
//============================================
var myRectangle = myDoc.pages[0].rectangles[0];
// Creating Email QR Code
myRectangle.createEmailQRCode("test123@gmail.com", "Test Subject", "Test Msg");
//============================================
var myRectangle1 = myDoc.pages[0].rectangles[1];
// Creating Hyperlink QR Code
myRectangle1.createHyperlinkQRCode("www.google.com");
//============================================
var myRectangle2 = myDoc.pages[0].rectangles[2];
// Creating Plain Text QR Code
myRectangle2.createPlainTextQRCode("Hi This is Plain Text QR Msg");
//============================================
var myRectangle3 = myDoc.pages[0].rectangles[3];
// Creating Text Msg QR Code
myRectangle3.createTextMsgQRCode("9899889988", "Test Msg");
//============================================
var myRectangle4 = myDoc.pages[0].rectangles[4];
// Creating createVCard QR Code
myRectangle3.createVCardQRCode("FirstName", "LastName");
//============================================
Visit this link for more information == > https://www.indesignjs.de/extendscriptAPI/indesign-latest/#TextFrame.html#d1e524670__d1e527385
Best
Sunil