Autor |
Nachricht |
tunehead
Dabei seit: 24.11.2006
Ort: RGB
Alter: 47
Geschlecht:
|
Verfasst Di 22.01.2008 11:43
Titel
|
|
|
meinst du layoutanpassung?
|
|
|
|
|
type1
Dabei seit: 19.11.2004
Ort: -
Alter: 44
Geschlecht:
|
Verfasst Di 22.01.2008 11:43
Titel
|
|
|
tunehead hat geschrieben: | meinst du layoutanpassung? |
das wirds wohl gewesen sein
danke!!
|
|
|
|
|
Anzeige
|
|
|
MarcelS
Threadersteller
Dabei seit: 04.03.2002
Ort: Marl
Alter: 45
Geschlecht:
|
Verfasst Di 22.01.2008 12:13
Titel
|
|
|
Hi,
super, vielen Dank!
Wenn ich die Layoutanpassung aktiviere, funktioniert es so, wie ich es möchte.
Vielen Dank für die Antworten!
MfG, MarcelS
|
|
|
|
|
sheck
Dabei seit: 25.03.2002
Ort: Luxemburg
Alter: 45
Geschlecht:
|
Verfasst Di 22.01.2008 12:42
Titel
|
|
|
Hallo,
Mit diesem Applescript kann man das Dokument z.B. nach rechts hun
vergrößern oder verkleinern:
Code: |
tell application "Adobe InDesign CS2"
set aDoc to active document
set crntXSize to page width of document preferences of aDoc
set crntYSize to page height of document preferences of aDoc
set myDialog to make dialog with properties {name:"Seitengröße ändern"}
tell myDialog
make dialog column
tell the result
make static text with properties {static label:"Pagewidth:"}
make static text with properties {static label:"Pageheight:"}
end tell
make dialog column
tell the result
set nuXSizeField to make real editbox with properties {edit value:crntXSize}
set nuYSizeField to make real editbox with properties {edit value:crntYSize}
end tell
end tell
set nu to show myDialog
if nu is true then
set nuXSize to edit value of nuXSizeField
set nuYSize to edit value of nuYSizeField
set moveByX to (crntXSize - nuXSize) / 2
set moveByY to (crntYSize - nuYSize) / 2
-- destroy dialog
else
destroy myDialog
return
end if
set enable layout adjustment of layout adjustment preferences of aDoc to false
set page width of document preferences of aDoc to nuXSize
set page height of document preferences of aDoc to nuYSize
set allPage to every page of aDoc
repeat with aPage in allPage
if side of aPage is right hand then
move every page item of aPage by {0, moveByY}
else if side of aPage is left hand then
move every page item of aPage by {2 * moveByX, moveByY}
else if side of aPage is single sided then
move every page item of aPage by {moveByX, moveByY}
end if
set allGuides to every guide of aPage
repeat with aGuide in allGuides
if orientation of aGuide is horizontal then
set location of aGuide to ((location of aGuide) + moveByY)
else
if side of aPage is right hand then
else if side of aPage is left hand then
set location of aGuide to ((location of aGuide) + (2 * moveByX))
else if side of aPage is single sided then
set location of aGuide to ((location of aGuide) + moveByX)
end if
end if
end repeat
end repeat
set allMSpreads to every master spread of aDoc
repeat with aMSpread in allMSpreads
set allMPages to every page of aMSpread
repeat with aPage in allMPages
if side of aPage is right hand then
move every page item of aPage by {0, moveByY}
else if side of aPage is left hand then
move every page item of aPage by {2 * moveByX, moveByY}
else if side of aPage is single sided then
move every page item of aPage by {moveByX, moveByY}
end if
set allGuides to every guide of aPage
repeat with aGuide in allGuides
if orientation of aGuide is horizontal then
set location of aGuide to ((location of aGuide) + moveByY)
else
if side of aPage is right hand then
else if side of aPage is left hand then
set location of aGuide to ((location of aGuide) + (2 * moveByX))
else if side of aPage is single sided then
set location of aGuide to ((location of aGuide) + moveByX)
end if
end if
end repeat
end repeat
end repeat
end tell |
Gruß,
Sacha
|
|
|
|
|
type1
Dabei seit: 19.11.2004
Ort: -
Alter: 44
Geschlecht:
|
Verfasst Di 22.01.2008 12:46
Titel
|
|
|
nettes script. aber hier gings um die höhe
aber für den fall (den ich selbst noch nie erlebt hab) etwas von rechts zu ändern nützt es vielleicht dem ein oder anderen.
|
|
|
|
|
sheck
Dabei seit: 25.03.2002
Ort: Luxemburg
Alter: 45
Geschlecht:
|
Verfasst Di 22.01.2008 13:32
Titel
|
|
|
Zitat: | nettes script. aber hier gings um die höhe |
Zitat: | dass er das Dokumentformat nur von unten her gekürzt hat, d.h. wenn ich von 300mm auf 200 verkleinern wollte, hat er unten das Dokumentformat um 100mm gekürzt. |
Genau das funktioniert auch mit dem Script.
Gruß,
Sacha
|
|
|
|
|
type1
Dabei seit: 19.11.2004
Ort: -
Alter: 44
Geschlecht:
|
Verfasst Di 22.01.2008 13:39
Titel
|
|
|
sheck hat geschrieben: | Zitat: | nettes script. aber hier gings um die höhe |
Zitat: | dass er das Dokumentformat nur von unten her gekürzt hat, d.h. wenn ich von 300mm auf 200 verkleinern wollte, hat er unten das Dokumentformat um 100mm gekürzt. |
Genau das funktioniert auch mit dem Script.
Gruß,
Sacha |
ach so.
weil du von rechts geschrieben hast
|
|
|
|
|
sheck
Dabei seit: 25.03.2002
Ort: Luxemburg
Alter: 45
Geschlecht:
|
Verfasst Di 22.01.2008 13:59
Titel
|
|
|
Hallo,
Zitat: | weil du von rechts geschrieben hast |
Das Skript verhält sich halt so dass das Dokument immer
von oben links aus vergrößert oder verkleinert wird, was
dann der angesprochenen X-Press Arbeitsweise gleich
kommt. Probier's doch einfach mal aus.
Gruß,
Sacha
|
|
|
|
|
|
|
|
Ähnliche Themen |
Illustrator CS4 - Dokumentgröße in nur eine Richtung ändern
Dokumentgröße ändern | Indesign
Indesign CS5: Anschnitt und Dokumentgröße
Indesign CS4 - Dokumentgröße im Infobereich ausgeben
Indesign CS6 nachträglich die Dokumentgröße verkleinern
InDesign - Dokument vergrößern in eine Richtung
|
|