Font variable problem in Illustrator CC
Font variable problem in Illustrator CC
- Subject: Font variable problem in Illustrator CC
- From: Brian Christmas <email@hidden>
- Date: Sat, 13 Feb 2016 16:36:46 +1100
G’day scripters
While it’s possible to use a variable to represent a font, using Illustrator CC and InDesign CC, in vanilla Applescript code, the same code fails in ASObjC. I cannot find a way to use a variable to represent a font at all. In Acrobat, and GraphicConverter, variable named fonts are OK.
Does anyone know of a method, please. Perhaps something I’ve overlooked?
Regards
Santa
# The top three don't work, in Illustrator.
#set barCodeFont to text font "IDAutomationHC39M" # set the text font of text range of text frame "AreaTextThree" of document 1 to text font barCodeFont # set the text font of text range of text frame "AreaTextThree" of document 1 to barCodeFont # # This direct use does! Bit of a bummer.
set the text font of text range of text frame "AreaTextThree" of document 1 to text font "IDAutomationHC39M"
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden