Can I chart in Numbers using AppleScript

I have just started learning AppleScript so that I can automate some business processes and save myself some time. Because of better design and ease of use I use the latest version of iWork and don't even have Office installed on my Mac, nor do I want to install it. However, one area I cannot work out is how to automate the creation of a chart in Numbers using AppleScript.
Is this possible? If so, how, and if not, why not?

Answering questions like : how may we do this or that, is what we are supposed to try to achieve in this forum.
Answering questions like yours : why this or that, can't be seriously done here.
Here you ask to end users like you. We don't belong to the teams designing the apps.
We just may try to guess.
To build tables and charts Pages and Numbers share the same pieces of code so there is no technical reasons able to explain the omission.
So I guess that, as Pages is in its 4th version, designers had more time available to embed features in the AppleScript support than those working upon Numbers.
What's funny is that there is a minimal support for charts in Pages (as well as a microscopic support for tables) but there is a correct support for tables (which may be enhanced) in Numbers but nothing for charts.
Honestly, I really don't think that the difference is huge.
I posted my script too fast.
I forgot to insert the handler allowing us to bring a sheet at front which is required to apply GUIScripting.
It's probably the main drawback of the need to use GUIScripting here.
I don't waste time trying to apply some edit tasks to the charts.
I just wanted to fill the gap between Pages and Numbers about scripting charts.
Here is an enhanced version.
--{code}
--[SCRIPT add_charts]
Yvan KOENIG (VALLAURIS, France)
2011/08/27
on run
          my activateGUIscripting()
          tell application "Numbers" to tell document 1
                    set dName to its name
                    set sName1 to name of sheet 1
                    set sName2 to name of sheet 2
Select sheet 1 of document 1
The doc name may be passed by a number but the sheet must be identified by its name .
As it's just a sample, in the first call I reference the doc by its index *)
                    my selectSheet(1, sName1)
                    tell sheet sName1 to tell table 1
Always define the selection before creating a chart *)
                              set selection range to range (name of cell 4 of column 2 & " : " & name of cell 8 of column 3)
                              my selectSubMenu("Numbers", 5, 4, 9) -- Scatter chart
Always define the selection before creating a chart *)
                              set selection range to range (name of cell 4 of column 2 & " : " & name of cell 8 of column 3)
                              my selectSubMenu("Numbers", 5, 4, 3) -- Bars
Always define the selection before creating a chart *)
                              set selection range to range (name of cell 4 of column 2 & " : " & name of cell 8 of column 3)
                              my selectSubMenu("Numbers", 5, 4, 4) -- Stacked Bars
Always define the selection before creating a chart *)
                              set selection range to range (name of cell 4 of column 3 & " : " & name of cell 8 of column 3)
                              my selectSubMenu("Numbers", 5, 4, 20) -- 3D Pie
                    end tell
Select sheet 2 of document 1
This time, I reference the document by its name *)
                    my selectSheet(dName, sName2)
                    tell sheet sName2 to tell table 1
Always define the selection before creating a chart *)
                              set selection range to range (name of cell 4 of column 2 & " : " & name of cell 8 of column 3)
                              my selectSubMenu("Numbers", 5, 4, 9) -- Scatter chart
Always define the selection before creating a chart *)
                              set selection range to range (name of cell 4 of column 2 & " : " & name of cell 8 of column 3)
                              my selectSubMenu("Numbers", 5, 4, 3) -- Bars
Always define the selection before creating a chart *)
                              set selection range to range (name of cell 4 of column 2 & " : " & name of cell 8 of column 3)
                              my selectSubMenu("Numbers", 5, 4, 4) -- Stacked Bars
Always define the selection before creating a chart *)
                              set selection range to range (name of cell 4 of column 3 & " : " & name of cell 8 of column 3)
                              my selectSubMenu("Numbers", 5, 4, 20) -- 3D Pie
                    end tell --sheet 2…
          end tell -- Numbers…
end run
--=====
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 activateGUIscripting()
  (* to be sure than GUI scripting will be active *)
          tell application "System Events"
                    if not (UI elements enabled) then set (UI elements enabled) to true
          end tell
end activateGUIscripting
--=====
==== Uses GUIscripting ====
on selectSheet(theDoc, theSheet)
          script myScript
                    property listeObjets : {}
                    local maybe, targetSheetRow
                    tell application "Numbers"
  activate
                              set theDoc to name of document theDoc (* useful if the passed value is a number *)
                              tell document theDoc to set my listeObjets to name of sheets
                    end tell -- "Numbers"…
                    set maybe to theSheet is in my listeObjets
                    set my listeObjets to {} -- So it will not be saved in the script *)
                    if not maybe then
                              if my parleAnglais() then
                                        error "The sheet “" & theSheet & "” is unavailable in the spreadsheet “" & theDoc & "” !"
                              else
                                        error "La feuille « " & theSheet & " » n’existe pas dans le tableur « " & theDoc & " » ! "
                              end if -- my parleAnglais
                    end if -- not maybe
                    set maybe to 5 > (system attribute "sys2")
                    tell application "System Events" to tell application process "Numbers"
                              tell outline 1 of scroll area 1 of splitter group 1 of splitter group 1 of window theDoc
                                        if maybe then (* macOS X 10.4.x
'(value of attributes contains 0)': '(value of attribute "AXDisclosureLevel" is 0)' sometimes works in Tiger, sometimes not.
The only possible instances of 0 amongst the attributes are the disclosure level of a sheet row and the index of the first row, which represents a sheet anyway.
Another possibility is '(value of attribute -1 is 0)', which makes me uneasy. *)
                                                  set targetSheetRow to first row where ((value of attributes contains 0) and (value of first static text is theSheet))
                                        else (* macOS X 10.5.x or higher *)
                                                  set targetSheetRow to first row where ((value of attribute "AXDisclosureLevel" is 0) and ((groups is {}) and (value of first static text is theSheet)) or (value of first group's first static text is theSheet))
                                        end if -- maybe…
Handler modified to accomodate sheets requiring a lot of time to get the focus
                                        tell targetSheetRow to set value of attribute "AXSelected" to true
                                        set cnt to 0
                                        repeat (*
Must way that Numbers becomes ready to receive the value *)
                                                  try
                                                            tell targetSheetRow to set value of attribute "AXDisclosing" to true
                                                            exit repeat
                                                  on error
                                                            set cnt to cnt + 1
  delay 0.5 -- half a second
                                                  end try
                                        end repeat
                              end tell -- outline…
                    end tell -- "System Events"…
                    tell application "Numbers" to tell document theDoc to tell sheet theSheet to tell table 1
                              with timeout of 20 * 60 seconds (*
WITH this setting, the script will be able to wait 20 minutes for the asked value.
I hope that the document will not be so huge that this delay prove to be too short. *)
                                        value of cell "A1"
                              end timeout
                    end tell -- "Numbers"…
                    tell application "System Events" to tell application process "Numbers" (*
Do the trick one more time to be sure that the sheet is open *)
                              tell targetSheetRow to set value of attribute "AXDisclosing" to true
                    end tell -- "System Events"…
End of the modified piece of code
          end script
  run myScript
end selectSheet
--=====
my selectSubMenu("Pages",6, 4, 26)
==== Uses GUIscripting ====
on selectSubMenu(theApp, mt, mi, ms)
          tell application theApp
  activate
                    tell application "System Events" to tell process theApp to tell menu bar 1 to ¬
                              tell menu bar item mt to tell menu 1 to tell menu item mi to tell menu 1 to click menu item ms
          end tell -- application theApp
end selectSubMenu
--=====
useful to get the indexs of the triggered item
my select_SubMenu("Numbers", 6, 4, 3) (* Table > Chart> Bars *)
on select_SubMenu(theApp, mt, mi, ms)
          tell application theApp
  activate
                    tell application "System Events" to tell process theApp to tell menu bar 1
                              get name of menu bar items
01 - "Apple",
02 - "Numbers",
03 - "Fichier",
04 - "Édition",
05 - "Insertion",
06 - "Tableau",
07 - "Format",
08 - "Disposition",
09 - "Présentation",
10 - "Fenêtre",
11 - "Partage",
12 - "Aide"}
                              get name of menu bar item mt
  -- {"Tableau"}
                              tell menu bar item mt to tell menu 1
                                        get name of menu items
01 - "Feuille",
02 -  missing value,
03 - "Tableau",
04 - "Graphique",
05 - "Figure",
06 - "Zone de texte",
07 - "Fonction",
08 - "Ligne de connexion",
09 - missing value,
10 - "Remplissage",
11 - missing value,
12 - "Rangs copiés",
13 - "Colonnes copiées",
14 - missing value,
15 - "Date et heure",
16 - "Nom du fichier",
17 - "Numéro de page",
18 - "Nombre de pages",
19 - missing value,
20 - "Commentaire",
21 - "Lien",
22 - "Saut de colonne",
23 - "Équation MathType",
24 - missing value,
25 - "Choisir…"}
                                        get name of menu item mi
  --> "Graphique"
                                        tell menu item mi to tell menu 1
                                                  get name of menu items
01 - "Colonnes",
02 - "Colonnes empilées",
03 - "Barres",
04 - "Barres empilées",
05 - "Ligne",
06 - "Couches",
07 - "Couches empilées",
08 - "Diagramme circulaire",
09 - "Nuage de points",
10 - "Mixte",
11 - "2 axes",
12 - missing value,
13 - "Colonnes 3D",
14 - "Colonnes 3D empilées",
15 - "Barres 3D",
16 - "Barres 3D empilées",
17  - "Linéaire 3D",
18 - "Couches 3D",
19 - "Couches 3D empilées",
20 - "Circulaire 3D"}
                                                  get name of menu item ms
  --> "Barres"
  click menu item ms
                                        end tell
                              end tell
                    end tell
          end tell -- application theApp
end select_SubMenu
--=====
--[/SCRIPT]
--{code}
Yvan KOENIG (VALLAURIS, France) samedi 27 août 2011 15:19:15
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
My iDisk is : <http://public.me.com/koenigyvan>
Please : Search for questions similar to your own before submitting them to the community
To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

Similar Messages

  • Can I rename items sequentially using applescript?

    I have hundrends of photos in a desktop folder that I would like to rename with part of the name being a numerical sequence. Is there a way to automate this, perhaps using applescript? Thanks.
    PowerBook G4   Mac OS X (10.3.9)  

    Yes, but it would be a lot easier to download a freeware utility called Renamer4Mac (www.macupdate.com or www.versiontracker.com.)
    Why reward points?(Quoted from Discussions Terms of Use.)
    The reward system helps to increase community participation. When a community member gives you (or another member) a reward for providing helpful advice or a solution to their question, your accumulated points will increase your status level within the community.
    Members may reward you with 5 points if they deem that your reply is helpful and 10 points if you post a solution to their issue. Likewise, when you mark a reply as Helpful or Solved in your own created topic, you will be awarding the respondent with the same point values.

  • How to update popup (drop down) cells in Numbers using Applescript

    I understand that the list popups (dropdown lists in cells) cannot be dynamic in Numbers.
    I have the same dropdown list in multiple cells and tables, and this list often needs to be changed. Its not practical to amend one list, then copy/paste it into 200 plus cells that require the dropdown facility (they are not in sequential rows).
    Can Applescript be used to do the copy/paste function, as i could specify the cell ranges. My simple attempt only managed to copy/paste the cell values rather than the dropdown/popup list.
    Any constructive help would be appreciated.
    Thanks.

    Hi Hiroto,
    I have this script running, with one issue.
    set tValues to my doThis(1) -- get values of the selection
    if tValues is not "" then
      activate
              display dialog "Select the cells where you want to create the PopUp." & return & "After that, click on the 'OK' button."
              my doThis(tValues) -- set the cell format of the new selection to "PopUp Menu" and set the values of the each menu item
              tell application "Numbers" to display dialog "Done"
    else
              tell application "Numbers" to display dialog "You must select the cells in a table before running this script."
    end if
    on doThis(n)
              tell application "Numbers"
                        set tTables to (tables of sheets of front document whose its selection range isnot missing value)
                        repeat with t in tTables -- t is a list of tables of a sheet
                                  if contents of t is not {} then -- this list is not empty, it's the selected sheet
                                            set activeTable to (get item 1 of t)
                                            if n = 1 then return value of cells of selection range of activeTable-- return values of the selection
                                            set format of (cells of selection range of activeTable) to pop up menu -- set the format to pop up menu
                                            return my setValuePopUp(n) -- set value of each menu item
                                  end if
                        end repeat
              end tell
              return ""
    end doThis
    on setValuePopUp(L)
              tell application "System Events"
                        tell process "Numbers"
                                  set frontmost to true
                                  delay 0.3
                                  set inspectorWindow to missing value
                                  set tWindows to windows whose subrole is "AXFloatingWindow"
                                  repeat with i in tWindows
                                            if exists radio group 1 of i then
                                                      set inspectorWindow to i
                                                      exit repeat
                                            end if
                                  end repeat
                                  if inspectorWindow is missing value then
      keystroke "i" using {option down, command down} -- Show Inspector
                                  else
      perform action "AXRaise" of inspectorWindow -- raise the Inspector window to the front
                                  end if
                                  delay 0.3
                                  tell window 1
      click radio button 4 of radio group 1 -- the "cell format" tab
                                            delay 0.3
                                            tell group 2 of group 1
                                                      set tTable to table 1 of scroll area 1
                                                      set tc to count rows of tTable
                                                      set lenL to (count L)
                                                      if tc < lenL then -- ** add menu items **
                                                                repeat until (count rows of tTable) = lenL
      click button 1 -- button [+]
                                                                end repeat
      keystroke return -- validate the default name of the last menu item
                                                      else if tc > lenL then -- ** remove menu items **
                                                                repeat while exists row (lenL + 1) of tTable
                                                                          select row (lenL + 1) of tTable
      click button 2 --  button [-]
                                                                end repeat
                                                      end if
                                                      tell tTable to repeat with i from 1 to lenL -- ** change value of each menu item **
                                                                set value of text field 1 of row i to item i of L
                                                      end repeat
                                            end tell
                                  end tell
                        end tell
              end tell
    end setValuePopUp
    ==============================
    When the popup is created, if there is one header row, it adds "1" to the list of popup items, if there are two header rows, it adds "1", "2" to the list of popup items. What should i amend to remove this (i have two header rows in my sheet).
    I would ideally like to add a "-" to the list (to represent nothing selected in the cell) as default i.e. top of the list (i could add the symbol to my source data but that would look untidy). At the moment, after running the script all cell values change to 1.
    Oh, what would the best way to modify the script so it selects a specific cell range? At the moment i have to first select a column, then run the script, then select the source cells, then click ok on the dialog box before it does the magic.
    Someone else will be running the script, and if its easy to change, i would prefer to have an absolute source cell range values so the user can just rund the script without any selection required.
    If you can advise on this, that would be most helpful.

  • How can I add page numbers using Adobe Reader?

    I am trying to add page numbers to my document only using Adobe Reader.  Is that possible?  Or do I need to use Adobe Acrobat?

    The free Reader can do very little more than reading (opening) PDF files. I'd use Acrobat.

  • Can I turn off sharing using applescript

    Is it possible to write AppleScript that will turn iTunes sharing on and off?  I would like to be able to do this so that it's easier to turn that on and off when I carry my laptop around (I don't always want to share my iTunes library with everyone in the hotel where I am staying!).

    Alicia,
    Go into the settings>icloud on the iPhone and select to turn off contacts it will ask you if you want to keep or delete the contacts select keep then you can edit the contacts on the iPhone. 

  • How can I call local numbers using Siri in Azerbaijan?

    I am using Iphone 4S with the latest software version, and am trying to dial Azeri phone number in international format , Siri answers calling "phone number" then immediately answers sorry i cant call "phone number".

    You must add following attributes to APPLET tag(mayscript, scriptable):
         <applet
         codebase = "."
         code = "namingspart.Applet.class"
         width = "620"
         height = "500"
         hspace = "0"
         vspace = "0"
         align = "top"
         name="namingsPartApplet"
         id="namingsPartApplet"
         mayscript="true"
         scriptable="true">
         <param name="initLine" value="">
         </applet>
    ================================
    Sincerely,
    Melnikov V
    AlarIT programmer
    http://www.AlarIT.com
    ================================

  • MTD numbers using OLAP features of SQL

    Hi
    I have the following table:
    Table_1
    app_num,
    app_Date
    outcome
    Table_2
    app_num,
    app_Status
    Here's the query that I am using to get count of applications
    SELECT TO_CHAR (a.app_Date, 'Mon-YYYY') AS MTH_Year,
    a.outcome,
    b.app_status,
    COUNT (a.app_num)
    FROM table_1 a, table_2 b
    WHERE a.app_num = b.app_num
    GROUP BY TO_CHAR (a.app_Date, 'Mon-YYYY'), a.outcome, b.app_status
    This query will give me month wise count of applications split by outcome and app_status.
    Now if I add from_Date, to_date parameters in the following manner:
    SELECT TO_CHAR (a.app_Date, 'Mon-YYYY') AS MTH_Year,
    a.outcome,
    b.app_status,
    COUNT (a.app_num)
    FROM table_1 a, table_2 b
    WHERE a.app_num = b.app_num
    AND a.app_Date >= TO_DATE (:Fromdate, 'dd/MON/yyyHH:MI:SS')
    AND a.app_date <= TO_DATE (:Fromdate, 'dd/MON/yyyHH:MI:SS')
    GROUP BY TO_CHAR (a.app_Date, 'Mon-YYYY'), a.outcome, b.app_status
    How can I get MTD numbers using any OLAP features (like partitioning etc.) from the above-mentioned query?
    Thanks

    Hi,
    Perhaps this is what you want:
    SELECT    TO_CHAR ( TRUNC (a.app_Date, 'MONTH')
                  , 'Mon-YYYY'
                )                    AS MTH_Year
    ,       a.outcome
    ,       b.app_status
    ,       COUNT (a.app_num)               AS month_cnt
    ,       SUM (COUNT (a.app_num)) OVER ( PARTITION BY  a.outcome
                                            ,            b.add_status
                              ORDER BY      TRUNC (a.app_Date, 'MONTH')
                                )       AS cumm_cnt
    FROM      table_1 a
    ,       table_2 b
    WHERE        a.app_num     = b.app_num
    AND        a.app_Date     >= TO_DATE (:Fromdate, 'dd/MON/yyyHH:MI:SS')
    AND        a.app_date      <= TO_DATE (:Fromdate, 'dd/MON/yyyHH:MI:SS')     -- Did you want :todate here?
    GROUP BY  TRUNC (a.app_Date, 'MONTH'')
    ,            a.outcome
    ,       b.app_status
    --        You may want an ORDER BY clause here
    ;I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
    Explain, using specific examples, how you get those results from that data. Define any special terms you use, such as "MTD".
    Always say what version of Oracle you're using.
    You'll get better replies sooner if you always include this information whenever you have a question.

  • Numbers: Save file as xls using AppleScript

    Hi all,
    I need to remove all the external links from an Excel file. Tried to do this first using Automator and the Excel actions, but every time Excel opens one of the files it displays an error message that it's missing the external files and the Automator sequence is pauzed. Now I found out that if I open the Excel file with the Numbers app and save it again in the same file format (xls), the links are broken.
    Now my question is how I can open the Excel files using Numbers and save them again as xls files. Since there are no Automator actions for Numbers, I'd like to accomplish this by using an AppleScript, which I'm very new to. Somebody help?
    Thanks in advance

    Some nice scripts for saving iWork files to Office formats were listed here.
    I think the problem comes in with opening the Excel file with Numbers in a script. I believe this often brings up a Document Warnings window that requires user input, and I haven't seen any good way to deal with that in a script.

  • How can I display a specified row from a chart in a 2nd chart in Numbers?

    I have a chart in Numbers '09, which contains tasks with their due dates. This chart is rather large and is divided into several categories (i.e. home, work, taxes, etc.). Each row in the chart has a task name and due date in addition to other information in columns. Since it has many tasks and they are divided into categories, it's difficult to check what tasks are due this week. I have been trying to add a small chart to display only the task name and due date from all categories due in the next 10 days.
    I assume I should add a chart in the work sheet and use some string of functions to find tasks due this week, and copy them to the 2nd chart. If someone could suggest a string of functions, or tell me an easier way to do this I would be grateful.
    Jim

    Hi Jim,
    Welcome to Apple Discussions and the Numbers '09 forum.
    Using the correct vocabulary would make your request much easier to read. A "chart" in Numbers is a bar graph, a line graph, or a pie chart.
    What you're referring to as a "chart" is a "table."
    So:
    You have a table listing tasks and their due dates, plus other information (presumably all separate columns).
    You want a separate table listing only those tasks whose due date falls within the next ten days.
    Here are two ways to make those tasks stand out. The first uses conditional formatting to change the fill colour of the Date cells on the first table; the second uses an index and VLOOKUP to transfer the urgent tasks to a second table.
    The conditional formatting rules shown are applied to all cells in column A. Dates within 5 days of "today" (January 13, 2011 in the example) get a red fill and white type; dates within 10 days a yellow fill.
    The same rules, with effective periods reduced to 2 and 4 days, are applied to dates in the Urgent table below.
    Here a column is added to the left of what was column A to hold an index created by the formula below, entered into the new cell A2 and filled down to the bottom of that column. As noted in the header cell, this column may be hidden.
    =IFERROR(IF(DATEDIF(TODAY(),B,"D")<11,DATEDIF(TODAY(),B,"D")+ROW()/10000,66000), 66000)
    The formula provides a unique numerical value in each row where the date is less than 11 days from today, and a large fixed value in rows where the date is before today or more than 10 days away.
    On the second table, "Urgent" the formula below, entered in A2 and filled down the full column and right to column B transfers the dates and tasks due within ten days from the table "All tasks" in order of 'days to complete,' with the earliest ones at the top of the list.
    =IF(SMALL(All tasks :: $A,ROW()-1)<66000,VLOOKUP(SMALL(All tasks :: $A,ROW()-1),All tasks :: $A$2:$C$21,COLUMN()+1,FALSE),"")
    Descriptions of all the functions used, including examples, may be found in the iWork Formulas and Functions User Guide. Details on Conditional formatting may be found in the Numbers '09 User Guide. Both guides may be downloaded through the Help menu in Numbers '09. Both are recommended.
    Regards,
    Barry

  • I have a new iPad with wifi. When I send messages I can see my sons and my husbands but not my phone number.  We all have an iPad and all use the same apple ID as iPad the bill.  How can I remove their numbers and add mine?

    I have a new iPad with wifi. When I send messages I can see my sons and my husbands but not my phone number.  We all have an iPad and all use the same apple ID as iPad the bill.  How can I remove their numbers and add mine?

    Add another e-mail account to your messages, so people could reach you on that e-mail from messages. As soon as you are online (if you have wifi only iPad) you are able to send and receive messages. i.e. your son can send you a messages from his iPhone addressing it to your (that additional) e-mail address.

  • How can I change the font size of an outgoing instant message using Applescript?

    Text copied into Messages.app from a web page is often too small to read. Is there a quick way to boost the font size using Applescript?

    HI,
    I have spent some time looking at the Mix Message Case.scpt in Hard Drive/Library/Scripts/Messages and also Crazy Message Text.scpt in the same Scripts Folder but then the Mail one.
    Both are Apple versions.
    The Mix Case one is set in Messages > Preferences > Alerts
    Set the top drop down to Sent Message
    Enable the Applescript items and chose the Mix Case item.
    It will look something like this in the current Font and size you have set.
    ThEn aGaIn
    Obviously you don't want all the bit to make the font change between upper an lower case but it does have the option to use it with the Sent Message and it also uses the entry in the text field as a String.
    The Mail Crazy Message one  opens a dialogue box when run.
    it has a default phase and some Upper and lower limits to the size that will be used.
    the Dialogue allows you to change the phrase and also "Set Prefs" to altert the font sizes.
    The result is a text palce in a new Mail items and the font and size changes to look like this:-
    Picture
    It will look different everytime and the Font for each character  and the size of each is randomised.
    Although I have tried sticking in a line to change the size to anything other then my set font in the Mixed Case one I can't get it to work.
    In some cases I get an Script error in Messages  (It seems to think I am setting a Font called "10")
    At other times it just says it can't set it buit still does the Mixed Case bit.
    My hope was to change the size and then reduce the requirement for the "intercaps" routine.
    I have other emails about new posts so I will anwser them and then spend some more time on this.
    9:01 PM      Thursday; June 13, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Can Acrobat create a PDF using the same page numbers as FrameMaker?

    I'm using FrameMaker 10 on Windows 7 and Acrobat Pro 9. I know I can set the page numbers after I create the PDF (Advanced > Document Processing > Page Numbering), but is there any way to tell Acrobat (or Distiller) to do this automatically based on the page format set up in FrameMaker? Right now, the cover and inside cover have no page numbers, but I could assign them numbers and hide them. The TOC is lower case Roman numerals, and the rest of the book uses Arabic page numbering. Someone has asked whether we can have the page numbers be reflected in the page field so that when you enter page 10, it takes you to page 10 of the book (where 10 appears in the corner of the page), not the tenth page of the PDF, which might land you in the TOC.
    We produce PDFs as part of an automated system, which is why I can't mess with it after it's been produced.

    There is a FrameMaker plug-in that can do this:
    http://www.frameexpert.com/plugins/pagelabeler/index.htm
    Or, you might consider using PDFMark to add page labels.

  • How can I use Applescript to copy a file's icon to the clipboard?

    Hello,
    How can I use Applescript to copy a file's icon to the clipboard?
    Thanks.
    Lennox

    there is no way to do that that I know of. but you can extract an icon of a file to another file using command line tool [osxutils|http://sourceforge.net/projects/osxutils]. you can then call the relevant command from apple script using "do shell script".

  • How can I lock in numbers for use in a spreadsheet ap?

    How can I lock in numbers on my Ipad for use in a spreadsheet?

    There is a forum that deals exclusively with "Numbers" discussions:
    https://discussions.apple.com/community/iwork/numbers?view=discussions

  • In an AppleScript, can compression level high be used when saving an image as a JPEG?

    When using AppleScript to save a copy of an image file as a JPEG on OS X 10.6 Snow Leopard, can "compression level high" be used in the code, or can only "compression" be used?
    The part of the AppleScript dictionary for Image Events indicates that "compression level high", "compression level low", and "compression level medium" can be used, but when I type any of those three in the code and try to save the AppleScript file, the below error is displayed, and the word "level" is highlighted in the AppleScript Editor:
    Syntax Error
    Expected end of line, etc. but found identifier.
    -John

    you need to open the image in image events before you can save it as a different format.  you have to make a distinction between the image file (a file system object) and the image itself (the data that is the digital representation of the visual image).  what you want to do is open the image file in image events to extract the image data, then resave the image data in the new format.  looks something like this (changing just the last bit of your script):
    set theImage to choose file with prompt "Please select an image file:" of type "public.image"
    -- other stuff...
    tell application "Image Events"
              set theImageData to open theImage
      save theImageData in newPathToSave as JPEG with compression level high with icon
    end tell

Maybe you are looking for

  • Java no longer working properly since last firefox update

    Since the latest firefox update, Java no longer works as it should on my banking website. The authorisation procedure uses Java, but the box freezes and does not finish loading. It still works fine on IE. I use Windows 7.

  • High usage of MEMORYCLERK_SQLOPTIMIZER

    What is MEMORYCLERK_SQLOPTIMIZER? Under what situations, this clerk will use more memory? I have a server which is SQL Server 2012 and MEMORYCLERK_SQLOPTIMIZER is consuming almost half of the max memory configured.

  • Use of final keyword on methods arguements ?

    Hi All, Just say I have an input arguement for a method which is an int. If I wanted to access the value stored by the input arguement reference inside an anonymous class that is contained in the method one way would be to pass the input arguement re

  • Migration of Anwers  reports and Dashboard to different Machine

    We are at very Inital level of development have created Repositories, Answers Reports and Dashboard on dev machine. Now i want to migrate to another box. So what are the files we will migrate. Please guide.

  • Reflect problem

    I am new to Java and I am sorry if this has been raised previously. i want to get and set all of object's fields not only public fields but also private, protected and package fields. And i have been advised that i should use one of sun.misc.unsafe o