AppleScripting Pages & Numbers
I have an issue whereby a number of colleagues have created about 280 reports in separate [but consistent] .doc files which need to be tabulated into a single spreadsheet.
Fortunately the contents of the .doc files are in uniform tables of 2 columns and 24 rows [the first column contains labels so I only need the second column]. Now I can obviously open up each file and copy then past the data into numbers but I don't want to do that as it would take a while and is asking for mistakes. Obviously my preference would be for our good friend AppleScript to do it for me.
Now I have little experience with AppleScript and as I'm against the clock a bit here I don't have luxury of trial and error, so was hoping for a little help on here. I've managed to get Pages to copy and paste the whole table into numbers ok but I'm struggling with the next step. Basically I'm after a loop which will run through all the reports, select the second column of the table and paste it into the numbers table one column after the other.
Anyone have any idea how I'd do this?
Before anyone suggests exporting as txt files and comma delimiting, or export as html using VBA etc, I've tried many of these approaches already and because of carriage returns and other formatting the table keeps getting split into the wrong number of rows.
The only app I've tried which correctly copies and pastes the data is pages and numbers.
Many thanks in advance
Antony
well, at any rate, if you don't have Word, this should do the job. This is without frills (it doesn't check to make sure you have a Numbers spreadsheet open, or to see if the files you feed it are the correct Kind, or stuff like that).
set coalesceFolder to choose folder
tell application "System Events"
set fileList to POSIX path of (files of coalesceFolder whose visible is true)
end tell
set i to 1
repeat with thisFile in fileList
tell application "Pages"
open thisFile
tell document 1
select table 1
end tell
activate
end tell
tell application "System Events"
tell process "Pages"
keystroke "c" using command down
end tell
end tell
tell application "Numbers"
set insertionCell to "A" & i
set i to i + 24
tell document 1's sheet 1's table 1
set selection range to cell insertionCell
end tell
activate
end tell
tell application "System Events"
tell process "Numbers"
keystroke "v" using command down
end tell
end tell
end repeat
Similar Messages
-
Use of applescript in numbers to automatically analyze data?
Hi all,
I am trying to figure out if it is possible to use applescript and numbers to achieve the following:
(1) Import a CSV file
(2) Work out an average and standard deviation for particular columns of data in that CSV file
(3) Copy and paste out those averages and standard deviations to a separate numbers file, along with the name of the original data file, so in the end I have a file that contains a number of rows, each one containing the results for each data file and the file name.
The files (from an analytical instrument) are all the same, so ideally I could use automator and/or applescript to automatically run through a directory of csv files to achieve this.
I know only a small amount of very basic programming. I don't want someone to write this for me, but if someone could offer some pointers or examples that would be very helpful. Or tell me that what I am trying to do is foolish, and use something else instead.
ThanksAs I got a sample file, I was able to build a script matching the full requirements.
Here is a revised version which may be useful for other users.
--[SCRIPT average&stdev_CSV]
Enregistrer le script en tant que Script : average&stdev_CSV.scpt
déplacer le fichier ainsi créé dans le dossier
<VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
aller au menu Scripts , choisir Numbers puis choisir average&stdev_CSV
Sélectionner un dossier contenant des fichiers CSV.
Le script ouvre ces fichiers dans Numbers,
calcule les valeurs MOYENNE() et ECARTYPE()
écrit celles-ci avec le nom du document dans un fichier texte.
Après traitement de tous les fichiers le fichier texte et ouvert dans Numbers.
On peut également enregistrer le script en tant que progicile (application sou 10.6.x).
Il suffira alors de glisser/déposer l'icone du dossier à traiter sur celle du script_application.
--=====
L'aide du Finder explique:
L'Utilitaire AppleScript permet d'activer le Menu des scripts :
Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
Cochez la case "Afficher le menu des scripts dans la barre de menus".
--=====
Save the script as a Script: average&stdev_CSV.scpt
Move the newly created file into the folder:
<startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
go to the Scripts Menu, choose Numbers, then choose "average&stdev_CSV"
Select a folder containing CSV files.
The script open them in Numbers,
calculate the AVERAGE() and STDEV() values
write them with the file name in a text file.
When all files are treated, the text file is opened in Numbers.
You may also save the script as an application package (application under 10.6.x).
Then drag & drop the icon of the folder to treat on the scipt_application icon.
--=====
The Finder's Help explains:
To make the Script menu appear:
Open the AppleScript utility located in Applications/AppleScript.
Select the "Show Script Menu in menu bar" checkbox.
--=====
Yvan KOENIG (VALLAURIS, France)
2010/06/10
2010/06/11 -- now read the csv file only once
--=====
property permis : {"public.comma-separated-values-text", "public.csv"}
property AVERAGE_loc : missing value
property STDEV_loc : missing value
property delim : missing value
property deci : missing value
property altDelim : missing value
property altDeci : missing value
property dossier_temporaire : missing value
property mon_Rapport : missing value
--=====
Entry point used when we double click the script's icon
or when we call it from the Scripts menu .
on run
if my parleAnglais() then
set le_prompt to "Choose a folder containing CSV file …"
else
set le_prompt to "Choisir un dossier contenant des fichiers CSV …"
end if -- parleAnglais
my main(choose folder with prompt le_prompt without invisibles)
end run
--=====
Entry point used when we drag & drop a folder icon on the application_script's icon
on open sel
my main(sel)
end open
--=====
on main(selected_item) -- it's an alias
local isFolder, nomdurapport, les_fichiers, type_ID, un_fichier, nombrededocuments, nomdutableur
the selected folder's pathname
set selected_item to selected_item as text
tell application "System Events"
set isFolder to class of disk item selected_item is folder
end tell -- System Events
if not isFolder then
if my parleAnglais() then
error "You must select a folder containing CSV file …"
else
error "Vous devez choisir un dossier contenant des fichiers CSV …"
end if -- parleAnglais
end if -- not isFolder
Init once variables which will be used later.
set dossier_temporaire to (path to temporary items) as text (* property *)
set AVERAGE_loc to my getLocalizedFunctionName("Numbers", "AVERAGE") & "(" (* property *)
set STDEV_loc to my getLocalizedFunctionName("Numbers", "STDEV") & "(" (* property *)
set {delim, deci, altDelim, altDeci} to my getLocalized_Delimiters() (* properties *)
set nomdurapport to "resume" & my dateTimeStamp() & ".txt" (* locale *)
set mon_Rapport to dossier_temporaire & nomdurapport (* property *)
Extract the list of items stored in the selected folder.
Create the resumeyyyymmddhhmmss.txt temporary file.
tell application "System Events"
set les_fichiers to every disk item of folder selected_item
make new file at end of folder dossier_temporaire with properties {name:nomdurapport}
end tell
Scan the items stored in the folder.
Skip the folders and documents which aren't csv ones.
repeat with un_fichier in les_fichiers
tell application "System Events"
if class of un_fichier is folder then
set type_ID to "Oops, I‘m a folder" (* so it will not be deciphered *)
else
set type_ID to type identifier of un_fichier
set un_fichier to path of un_fichier
end if
end tell -- System Events
if type_ID is in my permis then my traiteun_fichier(unfichier)
end repeat -- with un_fichier
The scan is done, open the resumeyyyymmddhhmmss.txt temporary file in Numbers.
tell application "Numbers"
set nombrededocuments to count of documents
open mon_Rapport
repeat while (count of documents) = nombrededocuments
delay 0.2
end repeat
set nomdutableur to name of document 1
Set cells format to the Scientific one but I can't define the number of decimals !
tell document 1 to tell sheet 1 to tell table 1
set format of range ("B1 : " & name of last cell) to scientific
end tell
save document 1 in (selected_item & nomdutableur)
end tell -- Numbers
Delete the temporary text file
tell application "System Events" to delete disk item mon_Rapport
Reset properties so there content will not be stored in the script
set AVERAGE_loc to missing value
set STDEV_loc to missing value
set delim to missing value
set altDelim to missing value
set deci to missing value
set altDeci to missing value
set dossier_temporaire to missing value
set mon_Rapport to missing value
end main
--=====
on traiteunfichier(unFichier) (* text item *)
local dossierdetravail, nomdu_csvtemporaire, csv_temporaire, utile, cnt, part2
local |dernière|, nombreDeDocuments, nomdutableur, laPlage
tell application "System Events"
tell disk item unFichier
set dossierdetravail to path of container -- of disk item unFichier
set nomdu_csvtemporaire to name -- of disk item unFichier
end tell -- unFichier
if nomdu_csvtemporaire does not end with ".csv" then set nomdu_csvtemporaire to nomdu_csvtemporaire & ".csv"
set csv_temporaire to (dossier_temporaire & nomdu_csvtemporaire)
if exists disk item csv_temporaire then delete disk item csv_temporaire
make new file at end of folder dossier_temporaire with properties {name:nomdu_csvtemporaire}
end tell -- System Events
Read the entire file
set utile to (read file unFichier)
Check that it's matching our requirements. I'm not sure that the second test is always valid.
if (utile contains "#=-=-=-=-=-=-=-=-=") and utile contains "#=-=-=-=-=-=-=-=-=End ./conf/ccia" then
set cnt to offset of "#=-=-=-=-=-=-=-=-=" in utile
Extract the second part which isn't formatted as the first one.
set part2 to text cnt thru -1 of utile
Extract the first part to decipher it.
set utile to (text 1 thru (cnt - 1) of utile) as text
Grabs the index of lower row
set |dernière| to count of (paragraphs of utile)
An ultimate test to be sure that the file is for us.
if (|dernière| > 0) and text -13 thru -2 of (paragraph 6 of utile) is "NFitsAvg'd" then
Normalize the datas according to the local settings
if not ((utile contains delim) and utile contains deci) then
if utile contains altDelim then set utile to my remplace(utile, altDelim, delim)
if utile contains altDeci then set utile to my remplace(utile, altDeci, deci)
end if
Write the normalized beginning and the untouched part2 in a temporary csv file.
write utile to file csv_temporaire
write part2 to file csv_temporaire starting at eof
Open the temporary csv in Numbers
tell application "Numbers"
set nombreDeDocuments to count of documents
open csv_temporaire
repeat while (count of documents) = nombreDeDocuments
delay 0.2
end repeat
set nomdutableur to name of document 1
tell document 1 to tell sheet 1 to tell table 1
Insert a row at top to insert the required formulas.
add row above first row
Insert the formulas calculating the AVERAGEs and the STDEVs .
repeat with c from 2 to 16 by 2
set laPlage to (name of cell 8 of column c) & " : " & name of cell |dernière| of column c
set value of cell 1 of column c to "=" & AVERAGE_loc & laPlage & ")"
set value of cell 1 of column (c + 1) to "=" & STDEV_loc & laPlage & ")"
end repeat -- with c
Extract the calculated values to build a new row in the resume.
set une_ligne to {nomdu_csvtemporaire}
tell row 1
repeat with c from 2 to 17
copy (value of cell c) as text to end of une_ligne
--copy (value of cell c) to end of une_ligne
end repeat
end tell -- row 1
end tell -- document
Save the new Numbers document.
I don't know if it is useful but it's easy to remove or disable the instruction.
save document 1 in (dossierdetravail & nomdutableur)
close document 1 saving no (* So, if you disable the Save instruction, it will close quietly *)
end tell -- Numbers
Write the new row in the resume text file.
write (my recolle(une_ligne, tab) & return) to file mon_Rapport starting at eof
end if -- (|dernière| > 0) or
end if -- read file unFichier…
Delete the temporary csv file
tell application "System Events" to delete file csv_temporaire
end traiteunfichier
--=====
Creates a new iWork document from the Blank template and returns its name.
example:
set myNewDoc to my makeAnIworkDoc(theApp)
on makeAnIworkDoc(theApp)
local t, n
if theApp is "Pages" then
set commun to "iWork '" & my get_iWorkNum("Pages") & ":Pages.app:Contents:Resources:Templates:Blank.template:"
try
set t to ((path to applications folder as text) & commun) as alias
on error
set t to ("Western 2:Applications communes:iWork '" & commun) as alias
end try
else if theApp is "Numbers" then
set commun to "iWork '" & my get_iWorkNum("Numbers") & ":Numbers.app:Contents:Resources:Templates:Blank.nmbtemplate:"
try
set t to ((path to applications folder as text) & commun) as alias
on error
set t to ("Western 2:Applications communes:" & commun) as alias
end try
else
if my parleAnglais(theApp) then
error "The application “" & a & "“ is not accepted !"
else
error "l’application « " & a & " » n’est pas gérée !"
end if
end if
tell application theApp
set n to count of documents
open t
repeat until (count of documents) > n
delay 0.1
end repeat
set n to name of document 1
end tell -- theApp
return n
end makeAnIworkDoc
--=====
on dateTimeStamp()
return (do shell script "date +_%Y%m%d-%H%M%S")
end dateTimeStamp
--=====
Set the parameter delimiters which must be used in Numbers formulas
on getLocalized_Delimiters()
if character 2 of (0.5 as text) is "." then
return {",", ".", ";", ","}
else
return {";", ",", ",", "."}
end if
end getLocalized_Delimiters
--=====
on get_iWorkNum(a)
local verNum
tell application a to set verNum to item 1 of my decoupe(get version, ".")
if (a is "Numbers" and verNum is "2") or (a is "Pages" and verNum is "4") then
return "09"
else
return "11"
end if
end get_iWorkNum
--=====
Useful to get function's localized name if we need to build formulas
examples:
set OFFSET_loc to my getLocalizedFunctionName("Numbers", "OFFSET")
set ADDRESS_loc to my getLocalizedFunctionName(theApp, "ADDRESS")
set INDIRECT_loc to my getLocalizedFunctionName(theApp, "INDIRECT")
on getLocalizedFunctionName(theApp, x)
return my getLocalizedName(theApp, x, (path to application support as text) & "iWork '" & ¬
my get_iWorkNum(theApp) & ":Frameworks:SFTabular.framework:Versions:A:Resources:")
end getLocalizedFunctionName
--=====
on getLocalizedName(a, x, f)
tell application a to return localized string x from table "Localizable" in bundle file f
end getLocalizedName
--=====
on parleAnglais()
local z
try
tell application "Numbers" to set z to localized string "Cancel"
on error
set z to "Cancel"
end try
return (z is not "Annuler")
end parleAnglais
--=====
on decoupe(t, d)
local TIDs, l
set TIDs to AppleScript's text item delimiters
set AppleScript's text item delimiters to d
set l to text items of t
set AppleScript's text item delimiters to TIDs
return l
end decoupe
--=====
on recolle(l, d)
local TIDs, t
set TIDs to AppleScript's text item delimiters
set AppleScript's text item delimiters to d
set t to l as text
set AppleScript's text item delimiters to TIDs
return t
end recolle
--=====
replaces every occurences of d1 by d2 in the text t
on remplace(t, d1, d2)
local TIDs, l
set TIDs to AppleScript's text item delimiters
set AppleScript's text item delimiters to d1
set l to text items of t
set AppleScript's text item delimiters to d2
set t to l as text
set AppleScript's text item delimiters to TIDs
return t
end remplace
--=====
--[/SCRIPT]
Yvan KOENIG (VALLAURIS, France) vendredi 11 juin 2010 19:01:46 -
'Automator' use with Pages, Numbers & Keynote!
I am trying to create a workflow that auto inputs data from an Excel spreadsheet to a Pages document, only to discover that there appears to be no ability to integrate with Pages and other iWork's applications within the Automator application.
Am I correct in this assumption?
Why is this?
Will we see this capability in the future?
It's seems totally insane to create such a powerful tool, that cannot be used with Apple's own software packages, but that can integrate with Microsoft packages! Missing a trick here Apple??
Any help would be much appreciated.
JamesThe AppleScript scripting definitions, and Automator actions associated with Office for Mac 2011 applications were created by Microsoft. The same entities for Pages, Numbers, and Keynote were created by Apple. Not having Office for Mac 2011 installed will deprive you related Automator/AppleScript functionality.
Apple's commitment to document integration is the ability to import Microsoft documents into the respective Pages, Numbers, and Keynote applications. In your case, getting Excel into Numbers, and then base your workflow around Numbers and Pages.
Assuming that one has Office for Mac 2011 installed, those that are patiently nimble with AppleScript, can open an Excel document, and a Pages document in the same AppleScript code, and to the extent that the respective scripting definitions interplay without data type collisions, you may be able to create something unique. Mary Shelley, the English author published a novel about that calamity in 1818. -
Previewing Pages document in Preview shows page numbers incorrectly
Previewing Pages (5.2) document in Preview (7.0) shows page numbers incorrectly. Regardless of starting page number preview shows as Page 1.
Suggestions appreciated...That appears to be YABIP5 (Yet Another Bug In Pages 5].
Pages .09 documents are fine.
No prizes however for finding bugs in Pages 5/5.2 it's swarming with them.
Peter -
How to print page numbers in adobe form
Hi,
Can anybody tell me how to print page numbers in adobe form.
Thanks in advance
ChaitanyaHi,
Yes the field page n of m is used normally for printing page numbers. But it won't display the current page of total pages by itself. You have to set the run time property to n (current page ) and m (Total number of pages). Carefully select the # (current page ) and ## (Total number of pages). Hope this works for you.
My requirement is to have the user control on current page. For Example:
Example for a Invoice with 5 PO items (stands on 2 pages) :
1st page is the letter : no page number
2nd page is the 1st page of the 1st copy of the invoice : we should read u201C1 / 2u201D
3rd page is the 2nd page of the 1st copy of the invoice : we should read u201C2 / 2u201D
4th page is the 1st page of the 2nd copy of the invoice : we should read u201C1 / 2u201D
5th page is the 2nd page of the 2nd copy of the invoice : we should read u201C2 / 2u201D
Presently i cam getting the current page number for page 4th as 3 / 2 and for 5th page 4 / 2. I could able to control the total number of pages from print program. But when i am printing the second copy (4th and 5th pages), I couldn't able to control the current page number. I need to initialize the Current page count (4th page ) as 1.
I have used the follwing java scripting:
this.rawValue = wv_pages - xfa.layout.page(this)
where wv_pages is total no of pages calculated from print program.
Please help me in this regard with some formcal or java scripting conditions.
Thank You,
Regards,
Naresh. -
If anyone has any idea why it's doing this, or what I can do to fix it, please help!
No idea why it's doing this.
You should be able to fix it by using Insert > Page Number, rather than 'Automatic Page Numbering.'
Set Page Numbers in your second section to "Start at:" 1
Regards,
Barry -
Page numbering in rtf templates
Hi All,
I have an rtf template and what I want is to display page numbers. I can achieve this with the following : <?fo:page-number?> but I want to display it by different way:
For example if the total pages in the output is 10 pages I want the page number to be displayed as Page 1 of 10, 2 of 10, 3 of 10 etc.
Any ideas?
Thanks in advance,
Konska torWell, it's fixed itself. It still doesn't work on my home computer, but it does work on my work computer... as long as it works in Oracle eBus I'm happy :) Must be a certain version of word that causes the problem.
-
Page numbers in a photo book / keepsake
Can anyone tell me how i can get page numbers to display in a photo book? In the help section it says that i can go to settings and turn this function on, however, I don't have that option in there. I need it to make a slideshow preview for others involved to review pages and make suggestions to layouts. They need to be able to quote the page number that needs adjusting.
The page number setting it the bottom check box in the settings menu - if it is checked and you do not have page numbers displayed on your pages then they are not available with the theme/layout you have chosen
See Liz Castro's web page for samples of each theme and the layouts for each theme - http://www.lizcastro.com/iphotobookthemes/pmwiki.php?n=Main.Travel - I'm not sure she specifically addresses page numbers
LN -
I cannot figure out how to identify the page numbers of a PDF document when I view it in Safari 5.0.3. The original paper document has its own numbering system, but the PDF page-numbers are completely different. When I go to print individual pages of the PDF document, I don't know what page numbers to put into the printer window.
I asked the publisher of the PDF document for advice. This is what it advised:
"This is an issue with printing PDFs (Portable Document Files) in general, and does not pertain exclusively to printing PDFs in FDsys. When printing a PDF document in your web browser, the web browser is printing the pages of the electronic file (the PDF) not the page numbers that appear on the original publication (from which the PDF is derived). The page numbers of a PDF document do not always match the page numbers appearing on the publication itself. For example, in the example you cited (http://www.gpo.gov:80/fdsys/pkg/USCODE-2009-title26/pdf/USCODE-2009-title26-subt itleA.pdf), the page number on the publication is page 347. However, if you click anywhere in that page, you will see that the PDF reader you are using indicates the corresponding page in the PDF file in the toolbar at the top of the page (next to the up/down arrow icons). The page number indicated in the toolbar refers to the page numbers in the PDF file, and it is these page numbers that your browser is referring to during the printing process."
None of those instructions work in Safari. How do I find the page numbers for a PDF document in Safari?Hi Richard
the best bet is to open it in Preview using the relevant button that appears when you hover at the bottom of a pdf in safari. Although the page numbers that appear on each page still won't necessarily match, you can at least make preview show the 'pdf' numbers in the toolbar, which will match those you choose when printing.
a plugin like adobe's or http://schubert-it.com/pluginpdf/ may show page numbers within Safari, but that doesn't mean they'll match those which appear on the pages, in the example link you gave, and others. -
Page numbers in page panel don't match current page numbers
Hi all,
I have been working with InDesign for a decade now and never had this problem.
I created a document in InDesign CS 5.5, very simple and with consecutive pages, no sections etc.
My page numbers show up correctly on my spreads. BUT, for some reason, the numbers that are shown in the page panel, underneath the page icons, are different. The first page is named "11", followed by 12-17, then the numbers jump to 111, 112 etc. I selected all pages and chose "Numbering and Section Options", setting them all to automatic page numbering, but to no avail.
As I said, the actual page number on the page is unaffected. But this bugs me since I am afraid that the document is somehow messed up.
I am using a simple InDesign document, no book file.
Any idea why this would happen?
Thank you so much!Thank you - I just found the solution to my problem (after playing around some more), and it turns out to be rather simple. In Numbering & Section Options, the Section Prefix was set to "1" - this field needs to be clear. That's why InDesign would add a 1 to every number.
-
Page numbers display as 5 of 1 and 2 of 2121 in a PDF that was created from a Word 2003 document
We merge several Word 2003 documents into 1 larger document that we then convert to PDF. The page numbers in the Word document display properly - 1 of 21, 2 of 21, 3 of 21, etc. We then convert that merged document to PDF by right-clicking the filename and choosing "Convert to Adobe PDF". For those of us with Adobe Acrobat Standard 8.1.3, the page numbers in the converted PDF file display as 1 of 1, 2 of 1, ... 21 of 1. Those with Acrobat Professional 8.1.3, they display as 1 of 21, 2 of 2121, 3 of 212121, etc., each page adding another total number of pages to the total. There is no change in the result if using v8.0.0 or 8.1.4 Does anyone have any ideas???
Unless you have a specific reason to upgrade to OFFICE 2007, I would not recommend it. I hate it -- have it on two computers. I have had problems creating PDFs reliably from WORD 2007 and PPT 2007, at least with graphics. The conversion seems to want to split graphics up into several parts rather than leave it as one. It does not happen with WORD 2003 and so assume this is some sort of issue with OFFICE 2007. You can get the graphics fine if you use the MS plugin for PDF creation, but then you have to deal with the MS version of a PDF. If you want to try it on one computer in your office, I would do that before you make the change. However, if what you have meets the need, then why change unless there are specific items that you are looking for and don't have.
OK, that is my opinion. I am sure there are counter arguments. If I had the preference on my newer machines, I would have OFFICE 2003. Bill -
Page navigation in Acrobat does not match page numbers in the document
I have a document in both Framemaker format (server.book) and PDF (server.pdf). When I view the pdf file in Adobe Acrobat, the page numbers appear correctly on the document itself, but up in the Page Navigation window within Acrobat the pages number doesn't match.
In the beginning of the book I have Title page, a Table of Contents, and a Preface that all use lower-case roman numerals. However, when viewing this document via Acrobat, the Title pages show up as i, and ii, but then the Table of Contents and Preface show up as pages 1 - 8 instead of iii - x in the page navigation window.
I can't figure where this discrepancy is originating.
Please help.Acrobat has no way to know which bit of character string on each page is the page number.
The visible page number has never formed any part of Reader nav. as you point out, it couldn't.
Acrobat knows the Numbering Properties of the pages as created in Frame. It just doesn't display or honor them consistently, depending on Reader version.
I also use i, ii, iii, iv for pre-narrative material. The romans are displayed in the page number box of Acroread (this is AR7 on Unix). I can enter "ii" in the box, and go to that page. But the Print dialog is Ordinal only. Printing page ranges in AR7 is always off by 2 or 4 relative to the actual page numbers.
Acrobat Pro 9 (9.4.5, Win7-64) seems to be more consistent, and does show and accept real page numbers for Print. -
Page numbers disappear in final pdf from *placed* InDesign pages
Hi,
Because of restrictions in export to booklet, I have imposed an indesign document by placing each page from one InDesign document into another (the publication is 8.5 x 11 landscape – the script provided within won't impose this). I then export that secondary Indesign file to pdf so that I can send it off to a digital copier to be printed, however, the page numbers don't print. All other master page items print, except the page numbers.
Anybody have a cure for this? (apart from collecting the two InDesign docs and shipping those off).
Thanks.
MindyHi Peter,
"Script" used to be! The booklet maker that's built into InDesign, I suppose plug-in is a better choice of word.
Exporting to pdf is a good idea. I guess in my mind, I was wary of making a pdf out of pdf and potentially balling up the postscript in the rip. I'm not sure why placing an indesign file within an indesign file felt a better solution to me. The other thing that I thought of (just after I posted of course) was releasing the master page items, so that the page numbers were "official".
I'm going to export to pdf as you suggest. Seems the simplest solution. Thank you.
Mindy -
Page numbers from MS Word cannot be deleted in pages
A colleague sent me a MSWord (Mac) document that I opened in pages 09 and started working on it. I need to delete the page numbers that were put in on the MSWord document. I guess they were put in using the automatic page numbering feature in Word. However, In the Pages09 document they are not in the usual footer location. It almost looks like they are part of the page background. They are not selectable and cannot be removed. It I choose to add page numbers using Pages, they numbers appear in the usual footer location—in addition to and not supplanting– the unselectable page numbers brought over from MSWord. Does anybody know a solution to this?
Loren,
The persistent content usually is a Master Object. So, you were right to begin with: Format > Advanced > Make Master Objects Selectable. One would think that if this is always the solution, it would be a simple matter to now select the tenacious item and delete it. The problem is that sometimes the object while now selectable is still not accessible.
This Master Object can hide behind the Header box, as though the Header was a solid glass wall. Deselecting the Header function, in the Document Inspector, will give you access, but it will also irretrievably delete your Header Content. A better way, I have found, is to change the header Margin figure in the Document Margins Pane of the Document Inspector.
Once you have moved the Header, Footer, or whatever else might be sharing the space, off the persistent page number, you can click on the page number Object and hit Delete. Now you can put back whatever you had to move, and you should be good to go. Consider yourself lucky if your Pages header doesn't fall over the old Word Header.
Jerry -
Page numbers from deleted book file persist in document
I have 4 documents that I needed to merge so I attempted to put them in a book file (which I am not at all familiar with how to use). I removed the documents from the book file because it was not doing what I needed it to do, but the auto section page numbers are persisting in the individual documents and I cannot get rid of them. For example I have page numbering starting on page 5, but pages 1-4 have page numbers 5-8 on them and I cannot get rid of them. (I can do this manually of course but would like to know why they are persisting)
Do you mean the numbers physically appear on the pages and you don't want them there (if so, delete them from the master page(s)) or do you mean the numbering scheme is wrong (if so, check your section and numbering options)?
Maybe you are looking for
-
Why will Quicktime 7.4 not run with Windows Vista?
I've installed this several times. Even had my Dell tech rep remotely access and install Quicktime for windows Vista version 7.4. Same error message appears when I try to run: "QuickTime Player requires Windows 2000 or later" (I have VISTA) hello?!!!
-
How do i clean my ipod of songs and then put them back on from computer
I want to take my songs off my ipod and put them back on ipod from computer. I have tried to sync without doing this but it will not sync new folders
-
Problems updateing a record on mdm
Hi All, I am developing a solution in Web Dynpro to update the text of a product in mdm 5 sp6 using mdm api. I have no compilation errors neither runtime errors. I run the command to modify a record but nothing is changing in mdm. Can you helpme wit
-
Issue in group by clause.
Hi, I am using a select query to retrieve sum of few numeric fields as below. select field1 field2 sum ( field3 ) as field3 sum ( field4 ) as field4 into table t_tab1 from dbtab where field1 in s_field1 and field2 in s_field2 an
-
RFC XI WebService on TomcatApplication Server
In my sxenario I have to connect a R3 System to a Webservice. The Webservice is running on a TomCat WebApplication Server. My Problem is the connection between XI and TomCat. If I want to create a communication channel I need a business system. I t