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

Этот проект получил 3 заявок от фрилансеров со средней стоимостью заявки в размере $234 USD.

Получить бесплатно ценовые предложения для подобного проекта
Бюджет проекта
$30 - $250 USD
Всего заявок
Описание проекта

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

Хотите заработать немного денег?

  • Укажите свой бюджет и срок
  • Опишите свое предложение
  • Получите оплату за свою работу

Нанять фрилансеров, которые также подали заявку в этот проект

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online