Forum Replies Created
-
AuthorPosts
-
November 26, 2012 at 3:56 am in reply to: Pasting text to an empty document, can the default frame be made to fit my margins automatically? #63625
mac grunt
MemberG'day
If you import the text instead of pasting you will get the functionality you're looking for.
… or you could check the Primary Text Frame option when you first create the document.
and yes, a script could do it if either of those options doesn't suit.
m.
November 26, 2012 at 3:47 am in reply to: How can placed images automatically keep a certain distance to the wrapped text? #63624mac grunt
Member… and if you want the text wrap to be consistent for all your image frames — just set one up and save it as an object style, then apply that style to all your other frames.
m.
mac grunt
MemberG'day
If the script is Applescript try :
tell application id “com.adobe.InDesign”
tell active document
delete swatch “C=45 M=50 Y=30 K=30_2” replacing with swatch “C=45 M=50 Y=30 K=30”
end tell
end tell
m.
mac grunt
MemberG'day
By 'overrides' do you mean that a paragraph styles has been applied and then a change has been made to the text so that it no longer matches the original paragraph style?
If so, then you need my handy InDesign tip : #03.
Go to Find/Change
Make sure Find what and Change to are both blank
Set Find Format and Change Format to your paragraph style
(make sure you change your Search field if you don't want it to do the whole document)
Hit Change All
Hope that's what you're looking for
m.
mac grunt
MemberG'day
I don't have a printer to test this on but … I'm pretty sure :
This is what you would get if you print a portrait document with “short-edge binding” selected.
Similarly, if your document is landscape and you choose “long-edge binding” you'll have a similar problem.
Try choosing the other binding option and see what happens.
m.
mac grunt
MemberG'day Gobit
Have you updated your operating system too?
That first problem occured with CS5.5 too — once we updated to Lion.
I've also read where the same issue even occurs with CS4 on lion — https://forums.adobe.com/message/4070435
Lion is causing all sorts of issues — like crashing CS6 whenever a warning dialog is generated. Not Nice.
BTW : that particular issue has a workaround : https://helpx.adobe.com/indesig…..boxes.html
d.
mac grunt
MemberSorry — forgot to say…
Make sure you retype those quote marks (“) — sometimes they get copied as curly quotes and that will break the script.
m.
mac grunt
MemberG'day
Wouldn't that be cool? — I've not seen a way to do it
But… you could have a script do it for you
tell application “Adobe InDesign CS5.5”
tell layout window 1 of document 1
set theZoom to zoom percentage
zoom given show pasteboard
set zoom percentage to theZoom
end tell
end tellCopy that into Script Editor (Applications > Applescript)
Change first line to your version of InDesign
Save it as a script to Applications > InDesign > Scripts > Scripts Panel
Open Scripts Panel in InDesign (Window > Utilities)
Double click to run itIf you have nothing selected it will centre the page
If you DO have something selected, it will centre on thatYou could even assign a keyboard shortcut to run the script for you
m.
mac grunt
MemberG'day
I've not used it myself — only heard good things about it — but you might take a look at :https://www.typefi.com/index.php/products/typefi-autofit
See if that does what you're looking for.
m.
mac grunt
MemberG'day
I used script labels when I was automating the layout of 60+ calendars each year. For that sort of complex, repetitive work it's worth going to the trouble of labelling frames in templates so that you can have a script do all the monkey-work of placing those frames in the correct positions, etc. You can see the script in action in this video, which may give you an idea of how useful they can be. For that particular workflow, script labels were pretty much essential — but I haven't really used them in many other instances.
m.
mac grunt
MemberG'day
I've had no problems with FOGRA in Australia and China. Another good suggestion which has always worked for me is to export as PDF/X-1a (Acrobat 4 compatible) — this converts everything into pure CMYK, rather than embedding profiles and whatnot.
Crops, rego and page information is a good basic set of printer marks, irrespective of whether or not you've got bleed. Probably best to ask the printer what they prefer.
m.
May 7, 2012 at 9:22 pm in reply to: Can AppleScript or JavaScript access a file's saved PDF name? #62149mac grunt
MemberG'day
I've not found a way to do that, but if you're interested in automating stuff you might try a script to export your PDFs — which you can set to always use the filename. That will save you having to work out how to access the “internally saved name”.
You can find a scripting lesson about exporting PDFs using applescript here. You can also download a complete working script to tinker with.
Hope that helps.
m.
April 14, 2012 at 6:00 pm in reply to: Script to generate a UI box to resize a font in text selection #62003mac grunt
MemberSorry Sami, I've got no idea about javascript.
But there's a whole bunch of clever InDesign javascripters over at the Adobe Forums.
Give them a go.
m.
April 13, 2012 at 7:20 pm in reply to: Script to generate a UI box to resize a font in text selection #62000mac grunt
MemberG'day
These are the basic building blocks for an InDesign dialog :
tell application “Adobe InDesign CS4”
activate
set mgDialog to make dialog with properties {name:”The text at the top of the dialog”}
tell mgDialog
tell (make dialog column)
tell (make border panel)
tell (make dialog column)
make static text with properties {static label:”Text field instruction : “, min width:160}
end tell
tell (make dialog column)
set mgTextField to make text editbox with properties {edit contents:”Default Entry”, min width:200}
make static text with properties {static label:”Additional instructions maybe”}
end tell
end tell
tell (make border panel)
tell (make dialog column)
make static text with properties {static label:”Text next to buttons : “, min width:160}
end tell
tell (make dialog column)
set mgButtons to make radiobutton group
tell mgButtons
set mgButton1 to make radiobutton control with properties {static label:”Button1 Label”, checked state:true}
set mgButton2 to make radiobutton control with properties {static label:”Button2 Label”, min width:200}
set mgButton3 to make radiobutton control with properties {static label:”Button3 Label”}
end tell
end tell
end tell
tell (make border panel)
tell (make dialog column)
make static text with properties {static label:”Check box instruction : “, min width:160}
end tell
tell (make dialog column)
set myCheckbox1 to make checkbox control with properties {static label:”Checkbox1 label”, checked state:false, min width:200}
set myCheckbox2 to make checkbox control with properties {static label:”Checkbox2 label”, checked state:false}
set myCheckbox3 to make checkbox control with properties {static label:”Checkbox3 label”, checked state:true}end tell
end tell
end tell
end tellset mgResult to show mgDialog
if mgResult is true then
–gather the results for whatever purpose you have
destroy mgDialog
else
error number -128
destroy mgDialog
end if
end tellCopy this into Script Editor (Application > Applescript) and ensure the first line matches your version of Indesign.
This script just builds a dialog — you then need to capture the results.
You can find some other introductory stuff over at my scripting lessons 08 and 11
Hope that gets you started
m.
mac grunt
MemberYep, I use dialogs all the time and this is the format which works up until CS4 at least.
Only started using CS5 a couple of weeks ago — so I haven't had a chance to check with that version yet (sorry, but can't test that until Monday).
The only suggestion I have immediately is to ensure all the double-quotes are 'straight' quotes (ie. maybe retype them to ensure they are in the right format).
Also, check over at the Adobe Forums — there are some absolutely brilliant people over there who may well know exactly what that error message means.
m.
-
AuthorPosts
