Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
AppleScript: To Open and execute Preset Script in illustrator.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="FrostfoxZa" data-source="post: 1740955" data-attributes="member: 386356"><p>Hi Guys</p><p></p><p>I really hope this hasn't been posted already and would like to ask some advice of those who know a lot about Adobe software as well as Applescript. </p><p></p><p>Dxf files from around the world get uploaded into a folder on dropbox, Would i be able to set Automator Folder Actions to watch this folder for any .dxf files (doesn't have to be extension strict) and execute a apple script?</p><p></p><p>So far i have written the java script to do what i need it to do to the file, and close illustrator, but i need to manually open illustrator and execute the script that has been placed in the illustrator preset script folder. </p><p></p><p>This is where applescript came to mind. If Automator detects a file has been added into "Folder Action Folder" it could execute an applescript to run illustrator? i then have it delay 3. then i want it to run a preset script. </p><p></p><p>Is this possible? </p><p></p><p><strong><u>My applescript code:</u></strong></p><p></p><p><em><strong>tell application "Adobe Illustrator"</strong></em></p><p><em><strong> activate</strong></em></p><p><em><strong> delay 3 </strong></em></p><p><em><strong> do script "MacintoshHD/Applications/Adobe Illustrator CS6/Presets/en_GB/Scripts/BatchY2M.jsx"</strong></em></p><p><em><strong>end tell</strong></em></p><p></p><p>I hope it doesn't seem daft but i know nothing about applescript, so if i was forgetting even 1 small symbol or part to the above i wouldnt notice. </p><p></p><p>Thank you kindly in advance. </p><p></p><p>Frostfox</p></blockquote><p></p>
[QUOTE="FrostfoxZa, post: 1740955, member: 386356"] Hi Guys I really hope this hasn't been posted already and would like to ask some advice of those who know a lot about Adobe software as well as Applescript. Dxf files from around the world get uploaded into a folder on dropbox, Would i be able to set Automator Folder Actions to watch this folder for any .dxf files (doesn't have to be extension strict) and execute a apple script? So far i have written the java script to do what i need it to do to the file, and close illustrator, but i need to manually open illustrator and execute the script that has been placed in the illustrator preset script folder. This is where applescript came to mind. If Automator detects a file has been added into "Folder Action Folder" it could execute an applescript to run illustrator? i then have it delay 3. then i want it to run a preset script. Is this possible? [B][U]My applescript code:[/U][/B] [I][B]tell application "Adobe Illustrator" activate delay 3 do script "MacintoshHD/Applications/Adobe Illustrator CS6/Presets/en_GB/Scripts/BatchY2M.jsx" end tell[/B][/I] I hope it doesn't seem daft but i know nothing about applescript, so if i was forgetting even 1 small symbol or part to the above i wouldnt notice. Thank you kindly in advance. Frostfox [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
Apple Computing Products:
macOS - Operating System
AppleScript: To Open and execute Preset Script in illustrator.
Top