[ID CC-CC2022] Генерация QR-кода

  • Автор темы Автор темы AndriStad
  • Дата начала Дата начала
Статус
Закрыто для дальнейших ответов.

AndriStad

Участник
Топикстартер
Сообщения
5
Реакции
1
Кто нибудь генерировал QR-коды при помощи скриптов, если да то какие функции за это отвечают?
 
функций несколько
TextFrame.createVCardQRCode (firstName: string , lastName: string , jobTitle: string , cellPhone: string , phone: string , email: string , organisation: string , streetAddress: string , city: string , adrState: string , country: string , postalCode: string , website: string , qrCodeSwatch:varies, withProperties:Array of string )
Adobe InDesign CC 2015 (11.2) Object Model
Create Business Card QR Code on the page item or load on document's placegun
firstName: Data Type: string
QR code Business Card First Name (Optional)
lastName: Data Type: string
QR code Business Card Last Name (Optional)
jobTitle: Data Type: string
QR code Business Card Title (Optional)
cellPhone: Data Type: string
QR code Business Card Cell Phone Number (Optional)
phone: Data Type: string
QR code Business Card Phone Number (Optional)
email: Data Type: string
QR code Business Card Email Address (Optional)
organisation: Data Type: string
QR code Business Card Organisation (Optional)
streetAddress: Data Type: string
QR code Business Card Street Address (Optional)
city: Data Type: string
QR code Business Card City (Optional)
adrState: Data Type: string
QR code Business Card State (Optional)
country: Data Type: string
QR code Business Card Country (Optional)
postalCode: Data Type: string
QR code Business Card Postal Code (Optional)
website: Data Type: string
QR code Business Card URL (Optional)
qrCodeSwatch: Data Type: varies
Swatch to be applied on generated QR Code Graphic . Can accept: Swatch or String. (Optional)
withProperties: Data Type: Array of string
Initial values for properties of the new TextFrame. Above parameters can also be passed as properties (Optional)


TextFrame.createTextMsgQRCode (cellNumber: string , textMessage: string , qrCodeSwatch:varies, withProperties:Array of string )
Adobe InDesign CC 2015 (11.2) Object Model
Create Text Msg QR Code on the page item or document
cellNumber: Data Type: string
QR code Text Phone Number (Optional)
textMessage: Data Type: string
QR code Text Message (Optional)
qrCodeSwatch: Data Type: varies
Swatch to be applied on generated QR Code Graphic . Can accept: Swatch or String. (Optional)
withProperties: Data Type: Array of string
Initial values for properties of the new TextFrame. Above parameters can also be passed as properties (Optional)

TextFrame.createPlainTextQRCode (plainText: string , qrCodeSwatch:varies, withProperties:Array of string )
Adobe InDesign CC 2015 (11.2) Object Model
Create Plain Text QR Code on the page item
plainText: Data Type: string
QR code Plain Text (Optional)
qrCodeSwatch: Data Type: varies
Swatch to be applied on generated QR Code Graphic . Can accept: Swatch or String. (Optional)
withProperties: Data Type: Array of string
Initial values for properties of the new TextFrame. Above parameters can also be passed as properties (Optional)

TextFrame.createHyperlinkQRCode (urlLink: string , qrCodeSwatch:varies, withProperties:Array of string )
Adobe InDesign CC 2015 (11.2) Object Model
Create Hyperlink QR Code on the page item or document
urlLink: Data Type: string
QR code Hyperlink URL (Optional)
qrCodeSwatch: Data Type: varies
Swatch to be applied on generated QR Code Graphic . Can accept: Swatch or String. (Optional)
withProperties: Data Type: Array of string
Initial values for properties of the new TextFrame. Above parameters can also be passed as properties (Optional)


TextFrame.createEmailQRCode (emailAddress: string , subject: string , body: string , qrCodeSwatch:varies, withProperties:Array of string )
Adobe InDesign CC 2015 (11.2) Object Model
Create Email QR Code on the page item or document
emailAddress: Data Type: string
QR code Email Address (Optional)
subject: Data Type: string
QR code Email Subject (Optional)
body: Data Type: string
QR code Email Body Message (Optional)
qrCodeSwatch: Data Type: varies
Swatch to be applied on generated QR Code Graphic . Can accept: Swatch or String. (Optional)
withProperties: Data Type: Array of string
Initial values for properties of the new TextFrame. Above parameters can also be passed as properties (Optional)
 
  • Спасибо
Реакции: dumbm1 и AndriStad
функций несколько
TextFrame.createVCardQRCode (firstName: string , lastName: string , jobTitle: string , cellPhone: string , phone: string , email: string , organisation: string , streetAddress: string , city: string , adrState: string , country: string , postalCode: string , website: string , qrCodeSwatch:varies, withProperties:Array of string )
Adobe InDesign CC 2015 (11.2) Object Model
Create Business Card QR Code on the page item or load on document's placegun
firstName: Data Type: string
QR code Business Card First Name (Optional)
lastName: Data Type: string
QR code Business Card Last Name (Optional)
jobTitle: Data Type: string
QR code Business Card Title (Optional)
cellPhone: Data Type: string
QR code Business Card Cell Phone Number (Optional)
phone: Data Type: string
QR code Business Card Phone Number (Optional)
email: Data Type: string
QR code Business Card Email Address (Optional)
organisation: Data Type: string
QR code Business Card Organisation (Optional)
streetAddress: Data Type: string
QR code Business Card Street Address (Optional)
city: Data Type: string
QR code Business Card City (Optional)
adrState: Data Type: string
QR code Business Card State (Optional)
country: Data Type: string
QR code Business Card Country (Optional)
postalCode: Data Type: string
QR code Business Card Postal Code (Optional)
website: Data Type: string
QR code Business Card URL (Optional)
qrCodeSwatch: Data Type: varies
Swatch to be applied on generated QR Code Graphic . Can accept: Swatch or String. (Optional)
withProperties: Data Type: Array of string
Initial values for properties of the new TextFrame. Above parameters can also be passed as properties (Optional)


TextFrame.createTextMsgQRCode (cellNumber: string , textMessage: string , qrCodeSwatch:varies, withProperties:Array of string )
Adobe InDesign CC 2015 (11.2) Object Model
Create Text Msg QR Code on the page item or document
cellNumber: Data Type: string
QR code Text Phone Number (Optional)
textMessage: Data Type: string
QR code Text Message (Optional)
qrCodeSwatch: Data Type: varies
Swatch to be applied on generated QR Code Graphic . Can accept: Swatch or String. (Optional)
withProperties: Data Type: Array of string
Initial values for properties of the new TextFrame. Above parameters can also be passed as properties (Optional)

TextFrame.createPlainTextQRCode (plainText: string , qrCodeSwatch:varies, withProperties:Array of string )
Adobe InDesign CC 2015 (11.2) Object Model
Create Plain Text QR Code on the page item
plainText: Data Type: string
QR code Plain Text (Optional)
qrCodeSwatch: Data Type: varies
Swatch to be applied on generated QR Code Graphic . Can accept: Swatch or String. (Optional)
withProperties: Data Type: Array of string
Initial values for properties of the new TextFrame. Above parameters can also be passed as properties (Optional)

TextFrame.createHyperlinkQRCode (urlLink: string , qrCodeSwatch:varies, withProperties:Array of string )
Adobe InDesign CC 2015 (11.2) Object Model
Create Hyperlink QR Code on the page item or document
urlLink: Data Type: string
QR code Hyperlink URL (Optional)
qrCodeSwatch: Data Type: varies
Swatch to be applied on generated QR Code Graphic . Can accept: Swatch or String. (Optional)
withProperties: Data Type: Array of string
Initial values for properties of the new TextFrame. Above parameters can also be passed as properties (Optional)


TextFrame.createEmailQRCode (emailAddress: string , subject: string , body: string , qrCodeSwatch:varies, withProperties:Array of string )
Adobe InDesign CC 2015 (11.2) Object Model
Create Email QR Code on the page item or document
emailAddress: Data Type: string
QR code Email Address (Optional)
subject: Data Type: string
QR code Email Subject (Optional)
body: Data Type: string
QR code Email Body Message (Optional)
qrCodeSwatch: Data Type: varies
Swatch to be applied on generated QR Code Graphic . Can accept: Swatch or String. (Optional)
withProperties: Data Type: Array of string
Initial values for properties of the new TextFrame. Above parameters can also be passed as properties (Optional)
Вот спасибо, хорошо, пошел программить.)
 
Кому интересно:
Код:
var myPageItem=myPage.rectangles.add();
myPageItem.geometricBounds=[5,5,15,15];
myPageItem.createHyperlinkQRCode("мойсайт.ru","Magenta");
 
  • Спасибо
Реакции: Flame
Статус
Закрыто для дальнейших ответов.