karl
My feedback
5 results found
-
9 votes
karl
supported this idea
·
-
13 votes
We're still working on a fix for this issue.
Thanks for your patience while we work on resolving it.
--
Adobe InDesign team
karl
supported this idea
·
-
110 votes
An error occurred while saving the comment -
139 votes
Hi All, thanks for this feature suggestion.
If I understand this correctly the idea here is that you need a faster way to be able to apply Master Pages to the various pages in the document. One use case is that you want to apply a particular master page to Even and Odd pages.
Are there other such scenarios too, where you need more support. It would be helpful if you can mention other such scenarios.
Thanks
An error occurred while saving the comment
karl
commented
Yeah it is a much needed feature and amazed Adobe cant understand why we want it. So I scripted it for Indesign 2025 here, just change 2025 to 2026 for newer versions now. This is pure AppleScript that only selects the pages ODD or EVEN in pages panel, then you have to apply master pages, I do a lot of NCR work and work with common backs so use this a lot.
"tell application "Adobe InDesign 2025" -- Adjust to your InDesign version
display dialog "Please Choose ODD or EVEN pages to select " buttons {"ODD", "EVEN", "Cancel"} default button 3
set the button_pressed to the button returned of the result
if the button_pressed is "ODD" then
-- action for 1st button goes here
set mystartpage to 1 as integer
else if the button_pressed is "EVEN" then
-- action for 2nd button goes here
set mystartpage to 2 as integer
else
-- action for 3rd button goes here
end if
tell application "Adobe InDesign 2025"
set myDocument to active document
tell active document
set pageCount to count of pages
-- Clear any existing selection
set selection to nothing
-- Loop through pages and select every other one
repeat with i from mystartpage to pageCount by 2
-- Selects odd-numbered pages (1, 3, 5...)
set currentPage to page i
select currentPage existing selection add to
--this code following applies A master page to selection (set applied master of currentPage to master spread "A-Parent")
--![Transform page.]
--Given a document with four pages (1, 2, 3, 4)...
--Rotate a page around its center point.
my myTransform(item 1 of currentPage, myRotateMatrix)
set myRotateMatrix to make transformation matrix with properties {counterclockwise rotation angle:180}
transform currentPage in pasteboard coordinates from center anchor with matrix myTransformationMatrix
end repeat
-- To select even-numbered pages (2, 4, 6...), change the repeat loop:
-- repeat with i from 2 to pageCount by 2
-- set currentPage to page i
-- select currentPage add to current selection
-- end repeat
end tell
end tell
end tell--![Transform page - functions.]
on myTransform(myPage, myTransformationMatrix)
tell application "Adobe InDesign 2025"
transform myPage in pasteboard coordinates from center anchor with matrix myTransformationMatrix
end tell
end myTransform"
its got some stuff from another script but its junk but if you want to transform the matrix is in there too
karl
supported this idea
·
-
34 votes
An error occurred while saving the comment
karl
commented
when scripted the working logic is as follows, place first page, set this first page as a variable, now place all pages until you place first page variable twice, exit the loop and delete last page. This logic in AppleScript works with no 3rd party software needed. If you look at the multiple page import script you can see this logic in it.
"tell mypage
set pdfPageNum to page number of PDF attributes of item 1 of all graphics
if myCounter = 1 then
set myFirstPage to pdfPageNum
else if pdfPageNum = myFirstPage then
delete mypage
exit repeat"like this above
ah waves, I made a script to do exactly this and the Bézier curves was the hardest and don't want to do this again. Look for wave generator on GitHub for my script, too long to paste here. IT is free and does square, since and saw waves, dialogue will ask frequency, amplitude and cycles and will generate the wave as line work