How can I get my Indesign script to apply to all pages in the document?
My script (java) shown below will only apply to the first page of the document. How can i get it to apply to all pages of my document? What am I missing? Thanks.
scirpt:
myDocument = app.activeDocument
with (myDocument.pages.item(0).marginPreferences){
columnCount = 1;
//columnGutter can be a number or a measurement string.
columnGutter = "0";
bottom = "0"
//When document.documentPreferences.facingPages == true,
//"left" means inside; "right" means outside.
left = "0"
right = "0"
top = "0"
inside = "0"
Hi,
You have to iterate through all pages.marginPreferences:
var
myDocument = app.activeDocument,
allPagesMaPref = myDocument.pages.everyItem().marginPreferences,
curPageMaPref;
while ( curPageMaPref = allPagesMaPref.pop() )
with (curPageMaPref) {
columnCount = 1;
//columnGutter can be a number or a measurement string.
columnGutter = "0";
bottom = "0"
//When document.documentPreferences.facingPages == true,
//"left" means inside; "right" means outside.
left = "40"
right = "0"
top = "0"
inside = "0"
Jarek
Similar Messages
-
How can I get a indesign debug version?
How can I get a indesign debug version? is it free?
Anyone could give me a download link?
thanksI know this is available to solution providers, if you are registered as such at partners.adobe.com. I don't know what level of membership is required, but that is one place the debug version is available from.
Thanks,
Max
Max Dunn
Silicon Publishing
www.siliconpublishing.com -
How do I get to Indesign scripting page. Thank you
How do I get to Indesign scripting page. Thank you
Here you go for the Scripting Forum for InDesign:
InDesign Scripting
Uwe -
On my Mac Pro how can I get voiceover to start reading at a specific point in a document, and then continue on to the next paragraph and so on? Thank you. Ed
Welcome to the Apple family!!!!
How can I cause the VO cursor(box) show-up/start?
Press Control-Option and F5. The F5 key is located on the top row of keys 6th key over. This is a toggling "Keyboard Shortcut" for turning VoiceOver on and off.
How can I move the VO cursor to various sentences or paragraphs of an article and have it start reading ... and perhaps even continue reading on to the next paragraph(s) ... even to the end of the article?
How to read a website with VoiceOver
Step 1: Go to the Website
A quick keyboard shortcut is Command-L. This will jump you up to the address bar. Start typing where you want to go. i.e "www.thewebsite.com"
Step 2: Working with Webpage
VoiceOver will automatically start reading the website. You can pause the speech by hitting the 'Control Button'.
If VoiceOver does not being reading the webpage, then you might have to "Interact" with it. If VoiceOver say "HTML Content" then press Control-Option-Space-Down Arrow to interact with the webpage.
Use Control-Option-Right Arrow to move throught the website. This will speak "EVERYTHING" on the page.
Most website that I've found have their articles labeled as 'Heading'. You can jump from heading to heading, by pressing Control-Option-Shift-H.
If you'd like an itemized alphabetical listing of the site, press Control-Option-I
Press Control-Option-Space on the link or article you want to view.
Step 3. Reading from Top to Bottom
Once you found and clicked on the the article/link, use the same 'Heading' command, Control-Option-Shift-H to find the title.
After finding the title, press Control-Option-A will start reading from the title on.
Note: If there are any other items (ads, pictures, etc) it will read those too.
Tip: You might be able to activate a feature called the 'Reader'. The Reader isolates the article and elimanates the ads The keyboard command is Shift-Command-R. You can also find it in the Menu Bar (Command-Option-M) under the word 'View' then 'Show Reader'.
I am using a MACPro with OSX, probably Mavericks 10.9 (where would I look to see if that is the correct information?)
You can find this information under the 'Apple menu' in the Menu Bar. To access the Menu Bar, press Control-Option-M.
Go to Apple Menu > About This Mac. This will open up another window. Use Control-Option-Right Arrow until you hear 'Version'. If you purchased it brand new from Apple within the last six month, more than likely you have Mavericks.
Recommanded Articles.
AppleVis- Commonly used Keyboard Commands
Chapter 2: Learning VoiceOver Basics
Chapter 6: Browsing the internet
Apple Accessibility Resource Page
The 'Commands Help' Voiceover Menu. Control-Option-H-H. (hit H twice) is my best friend. It's a searchable VoiceOver Menu with most of the VoiceOver command. Example: You are looking for the 'Read Current Paragraph' keyboard command. Press Control-Option-H-H and then type Paragraph. It will then bring up all the commands with the word paragraph. I believe there are three.
As from the Trackpad Commands, I've copied and pasted below from Appendix A: Commands and Gestures
VoiceOver standard gestures
If you’re using a Multi-Touch trackpad, you can use VoiceOver gestures. VoiceOver provides a set of standard gestures for navigating and interacting with items on the screen. You can’t modify this set of gestures.
NOTE:Gestures that don’t mention a specific number of fingers are single-finger gestures.
General
Enable the Trackpad Commander and VoiceOver gestures
VO-Two-finger rotate clockwise
Disable the Trackpad Commander and VoiceOver gestures
VO-Two-finger rotate counterclockwise
Turn the screen curtain on or off
Three-finger triple-tap
Mute or unmute VoiceOver
Three-finger double-tap
Navigation
Force the VoiceOver cursor into a horizontal or vertical line when you drag a finger across the trackpad
Hold down the Shift key and drag a finger horizontally or vertically
Move the VoiceOver cursor to the next item
Flick right
Move the VoiceOver cursor to the previous item
Flick left
Move content or the scroll bar (depending on the Trackpad Commander setting)
Three-finger flick in any direction
Go to the Dock
This gesture moves the VoiceOver cursor to the Dock wherever it’s positioned on the screen
Two-finger double-tap near the bottom of the trackpad
Go to the menu bar
Two-finger double-tap near the top of the trackpad
Open the Application Chooser
Two-finger double-tap on the left side of the trackpad
Open the Window Chooser
Two-finger double-tap on the right side of the trackpad
Jump to another area of the current application
Press Control while touching a finger on the trackpad
Interaction
Speak the item in the VoiceOver cursor or, if there isn’t an item, play a sound effect to indicate a blank area
Touch (includes tap or dragging)
Select an item
Double-tap anywhere on the trackpad
You can also split-tap (touch one finger and then tap with a second finger on the trackpad)
Start interacting with the item in the VoiceOver cursor
Two-finger flick right
Stop interacting with the item in the VoiceOver cursor
Two-finger flick left
Scroll one page up or down
Three-finger flick up or down
Escape (close a menu without making a selection)
Two-finger scrub back and forth
Increase or decrease the value of a slider, splitter, stepper, or other control
Flick up (increase) or flick down (decrease)
Text
Read the current page, starting at the top
Two-finger flick up
Read from the VoiceOver cursor to the end of the current page
Two-finger flick down
Pause or resume speaking
Two-finger tap
Describe what’s in the VoiceOver cursor
Three-finger tap
Change how VoiceOver reads text (by word, line, sentence, or paragraph)
Press the Command key while touching a finger on the trackpad
Rotor
Change the rotor settings
Two-finger rotate
Move to the previous item based on the rotor setting
Flick up
Move to the next item based on the rotor setting
Flick down
To customize other gestures by assigning VoiceOver commands to them, use the Trackpad Commander.
Assigning VoiceOver commands to gestures
If you need a reminder about what a gesture does, press VO-K to start keyboard help, and then use the gesture on the trackpad and listen to the description.
Learning about keys, keyboard shortcuts, and gestures
Sorry lots of information. Enjoy. You -
How can I get a pdf. to open in Safari, all i'm getting is a new window with a black, blank page, instead of the pdf., and I don't want to save the file to the desktop, Safari didn't use to do that, and I don't have Adobe in the internet plug in folder.
Hi
Please take a look to this thread Re: Can I refresh the browser rather than open a new tab? -
How can I get an album to play in order on Itunes? The songs keep skipping all around to other albums that I did not want to listen to at that time?
It sounds like you might have the shuffle button at the bottom left of the iTunes (the button with the squiggly lines).
If that's not the case, then maybe you just need to sort your library by album by clicking the album tab at the top.
Is your music in a playlist, or are you trying to play it from the entire library? -
I cannot locate my cs6 redemption code and I just purchased a new computer because my old one doesn't work anymore. How can I get my photoshop on this computer? All my other products are registerd with a serial number
The activation servers for CS and CS2 stopped working and were taken down. You'll need to take a look at this link for your issue: https://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.ht ml
Benjamin -
How can I get a date picker or wheel to show up in the form to make filling in a form with a lot of
how can I get a date picker or wheel to show up in the form to make filling in a form with a lot of dates more easy?
There is no built-in date picker available for forms created in Acrobat. There are some third-party solutions involving JavaScript (either a large collection of fields or a custom dialog) though. Also, text fields with date formatting will use a wheel type date picker on Android/iOS devices with Adobe Reader.
-
I have a DVD Acrobat Pro 9. I upgraded laptops and trying to install but the DVD is not readable. How can I get a new DVD or Download Acrobat Pro 1. The product is registered and I have the serial number. PS: Contacting Adobe on this issue is impossible... direct support stinks.
Download AA 9 Pro from http://helpx.adobe.com/acrobat/kb/acrobat-downloads.html. Make a new backup for your archive. You might also take the DVD to your library to see if it is a drive problem. You might also carefully clean the DVD with water and soap (do not use anything that would scratch the surface or you have destroyed it for sure) and see if that solves the problem. This is particularly an issue if you have finger prints or other crud on the DVD. However, it could also be a bad drive as I mentioned. Hopefully the download solves your problem in any case (I would backup the download to CD and/or backup HD).
-
I have much fewer pics on my pc photo stream than my ipad and iphone. how can i get my pc photo stream to show all my pics?
This is all just a partial answer since details will depend upon how you want to do it.
Post by Zevoneer: iPod media recovery options - https://discussions.apple.com/message/11624224 - this is an older post and many of the links are also for old posts, so bear this in mind when reading them.
Commercial software utility for transferring songs from i-device to Mac - http://www.fadingred.com/senuti/
http://support.apple.com/kb/HT1848 - just media purchased from iTunes Store
You'll need to get it all onto one iTunes collection on your Mac Pro, then sync the devices to that. iTunes only lets you transfer purchases from a device, otherwise you have to use third party software.
I guess you could also look into getting iTunes Match. -
I have MAC OS X 10.6.8 (up-to-date). How can I get screen mirroring to my Apple TV to work? The icon does not appear at top status bar..
Welcome to the Apple Support Communities
See > http://support.apple.com/kb/HT5404 AirPlay Mirroring is compatible with Mid 2011 and newer MacBooks Air, and OS X Mountain Lion.
As you have Mac OS X Snow Leopard, you haven't got a compatible MacBook Air, so you can't use AirPlay Mirroring. However, you can use a third-party app as AirParrot to mirror the MacBook onto your Apple TV > http://www.airparrot.com -
How can I get rid of a whirling circle that stops me using a document?
How can I get rid of a whirling circle that stops me using a document?
Hi Sally, let's start with this to see if it makes a difference...
Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk, then Repair Permissions.
Restart & test. -
how can I get authentication and authorization through OS X open directory with the Sun ZFS STOR ZS3-2
I have configure NFS, I need help configuring the share that I created in the Sun ZFS STOR ZS3-2 to connect with the OS X Open DirectoryHi,
You may try checking the help page for ldap configuration :
https://<Appliance_IP>:215/wiki/index.php/Configuration:Services:LDAP
ZFS Storage supports LDAP, NIS, AD as directory service.
Hope Open Directory is also based on LDAP and may work in similar fashion.
Thanks
Nitin -
How can I get TRASH to show on my 5S when I slide the email to the left? I see more & Archive
Hi SCAnn!
Here is an article that can explain that feature for you:
iOS: Understanding Gmail Archive
http://support.apple.com/kb/ht4207
Thanks for being a part of the Apple Support Communities!
Regards,
Braden -
I had to restore my iPhone and lost a lot of music!!! How can I get it back?! No cloud appears next to the songs, just buy!
You should be storing everything on your computer and you should always backup your computer. Have you failed to do these things?
If so, not good, then you can redownload some iTunes purchases in some countries. Open iTunes store, click Purchased under Quick links
Maybe you are looking for
-
BT Infinity 2 and Non BT Router
I have yet to have my service activiated. I'll get an engineer on 20th June, and to be perfectly frank I don't think I'll be sleeping for a few nights before that date...... My question is simple: is it possible to use a third party router with the I
-
Product Registration for Macbook Pro
I've just registered my Macbook Pro for proof of ownership so that I can buy some accidental coverage from Safeware. I registered the product online, at the end of the form it said Thank You you should receive a confirmation e-mail. So far it's been
-
How to read and upload microsoft word file into database using forms9i
Hi, How to read and upload microsoft word file into oracle database using forms9i. I appretiate if anyone can send me example or atleast a sujjetion. Thanks in advance Mahesh Ragineni
-
Simplified: Can't stop duplicating records
Hi, I have two records in a table holding the same information. Only things different are their ID's. How do I only display the record with the higher/greater/larger ID value in a report (HTML DB v1.6). Thank you.
-
Dynamically expand a Web Dynpro TRAY
Hi Guys, Do you know how to expand a Tray Dynamically. I like to start with a unexpanded TRAY and after the SEARCH, I like to expand the TRAY dynamically. Thanks, Ridouan.