set SearchPatern to "<CMYK>.+</CMYK>"
select insertion point before character 1 of myDoc
set mySearch to «event R*chFind» SearchPatern given «class FnIn»:myDoc, «class SelM»:{true}, «class Opts»:{«class SMod»:«constant SmodGrep»}
if «class Fnd?» of mySearch is true then
set myBarve to «class MTxt» of mySearch
my trim_line(myBarve, "<CMYK>", 0)
set myBarve to result
my trim_line(myBarve, "</CMYK>", 1)
set myBarve to resultelse set myBarve to "true"end if
set SearchPatern to "<GRAD>.+</GRAD>"
select insertion point before character 1 of myDoc
set mySearch to «event R*chFind» SearchPatern given «class FnIn»:myDoc, «class SelM»:{true}, «class Opts»:{«class SMod»:«constant SmodGrep»}
if «class Fnd?» of mySearch is true then
set myGrad to «class MTxt» of mySearch
my trim_line(myGrad, "<GRAD>", 0)
set myGrad to result
my trim_line(myGrad, "</GRAD>", 1)
set myGrad to resultelse set myGrad to "false"end if set myPdf to result
set theDate to current date
set myLog to "PDF ni bil narejen
razlogi:
"
if myTemplate is "" or myPdf is "" then
if myTemplate is "" then
set myLog to myLog & "Template ni bil dolocen
"
end if
if myPdf is "" then
set myLog to myLog & "Ime PDF fila ni bilo doloceno
end if
myCreateLogFile()else set myTemplate to myTemplate & ".indt"
set myPdf to myPdf & day of theDate & month of theDate & year of theDate & time of theDate & ".pdf"
if listaBarv is not {} then
set stringDelimiter to ","
repeat with i from 1 to length of listaBarv
if item i of tipiBarv is "3" or item i of tipiBarv is "2" then
set item i of listaBarv to stringToList for item i of listaBarv from stringDelimiter end if
end repeat
end if
myCreatePdf(listaImen, listaBarv, tipiBarv, myGradientList, myTemplate, myfile, myPdf)
end if end myGetParameters
on myCreatePdf(listaImen, listaBarv, tipiBarv, myGradients, templ, myfile, pdfn)
tell application "InDesign CS"
activate
set myInDFile to "Users:albertpikus:Public:SkiEgo:Templates:" & templ
set myDoc to open file myInDFile
set myPage to «class page» 1 of myDoc
tell myDoc
tell «class pxiP»
set «class Xits» to false
set «class XMis» to «constant XeisXMmi»
end tell
«event K2XLXMLi» given «class from»:myfile
if listaImen is not {} then
repeat with i from 1 to length of listaBarv
if item i of tipiBarv is "3" then
set myNewColor to make color with properties {«class clvl»:item i of listaBarv, name:item i of listaImen}
else if item i of tipiBarv is "2" then
set myNewColor to make color with properties {«class
clsp»:«constant enXBcRGB», «class clvl»:item i of listaBarv, name:item i of listaImen}
--else if item i of tipiBarv is "S" then
--import Adobe swatchbook spot color name item i of listaBarv
end if
end repeat
end if
end tell
Good prepress includes managing of computer working environment, knowledge of graphical and printing technology and work done well and quickly.
I prepare graphic design for demanding printed matters such as books, magazines, catalogues and similar. For design and page layout I use most recent Adobe software. My advantages are reasonable prices, quality realization and quick response.
I write scripts and develop applications for automatization of graphical design process on MacOS platform. Scripts can acquire data from databases, what is convenient for graphic design for catalogs, or from tabulated texts, then process data and enter the results into InDesign or Illustrator documents. They can perform a series of operations, which are to much time consuming to be entered manually.
Some examples of custom scripts: automatic layout of entries in the head of a page in dictionary or lexicon; graphic design on the web, where customer enters text and pictures and chooses template, final result which executes immediately after receiving the data on the server is pdf file generated from Indesign; designing of visit cards from database in Illustrator on the base of template, placing visit cards in InDesign and designing print sheet, final result: pdf of separations.
Possibilities are so to say unlimited. If you want to facilitate your work, send me e-mail to determine the best resolution.
Prices for prepress:
Graphic Design € 25 per hour.
Automation € 45 per hour.
Address:
Albert Pikuš, Linhartova 49, 1000 Ljubljana, Slovenia
Telephone:
+3861 437 42 14, gsm: +386 41 939 120