Develop a Mac Application - 11/10/2016 03:20 EDT

Cerrado

I have 3 image jpg (750x1000 pixel) like below: (they placed in the same folder)

[url removed, login to view]+[url removed, login to view]

[url removed, login to view]+[url removed, login to view]

[url removed, login to view]+[url removed, login to view]

I want a script can open each jpg -> trace image with preset "jobtitle" -> expand it -> remove all black color (select black color, menu select -> same -> filter & stroke -> delete ) -> save like png (with the same name and 1500x2000px) -> close -> repeat with other jpg.

[url removed, login to view]%[url removed, login to view]

This is my code:

====================================================================

tell application "Finder"

set theFolder to alias (POSIX file "/Users/thaian/Downloads/Working/DOWNLOADED/png2")

set theFiles to every file of theFolder

end tell

tell application "Adobe Illustrator"

set doc to current document

repeat with aFile in theFiles

set placedRef to make new placed item in doc with properties {file path:aFile as string}

set traced to trace placed placedRef

tell traced

tell tracing

tell tracing options

load preset presetname "jobtitle"

end tell

#do script "BUOC 3" from "BaoNam"

#set traced to expand tracing

end tell

end tell

# set traced to expand tracing of traced of placedRef -- **** when I uncomment this line, AI is crashed and must be restart, I don't know why? ****

# do script "BUOC 3" from "BaoNam"

end repeat

export current document to file pathString as PNG24 with options {class:PNG24 export options, horizontal scaling:200.0, vertical scaling:200.0, saving as HTML:false}

#close current document saving no

end tell

==================================================================

Who can finish this? I will pay.

Thank you

Habilidades: Applescript, Illustrator, SO Mac

Ver más: develop application mac, make graphical application mac, tuneup application mac, best kiosk application mac, free freelance work application mac, graph application mac, converting application mac, stock application mac, create application mac, facebook application quiz develop, best stock application mac, server error application mac, bluetooth application mac, punnett square application mac, real time stock application mac

ID de proyecto: #11755708

3 los freelancers están ofertando un promedio de $234 para este trabajo.

triadb

Hello, I am a 2d-3d developer/ graphic designer and I have a degree in computer programming. These last five years I only write scripts for Photoshop and Adobe Products, you can visit a few projects I've done on freel Más

$370 USD en 3 días
(8 comentarios)
4.8
$222 USD en 10 días
(0 comentarios)
0.0
minhluu0907

Cho mình bản requirement tiếng Việt đi bạn :D ............................................................................... ...............................................................................

$111 USD en 3 días
(0 comentarios)
0.0