How to open an Excel file in Numbers instead of Excel

Here's my script:
tell application "Finder"
set myFiles to the selection
tell application "Numbers"
open item 1 of myFiles
end tell
end tell
The selected file opens in Excel, not Numbers. How would I make it open in Numbers?
Message was edited by: Stuart Field

this could work:
tell application "Finder"
set myFiles to the selection
repeat with myfile in myFiles
do shell script "open -a /Applications/iWork\\ \\'09/Numbers.app " & quoted form of (POSIX path of (myfile as alias))
end repeat
end tell
hubionmac.com

Similar Messages

  • How to open password protected files in Numbers for iPad?

    In my company, there are formats created in Excel 2010 which have password-protetected cells. Neither Numbers, nor Doccuemts to Go can't open them.
    The workaround is having someone open the file in my office and re-save it in an older version, but it messes up with the formatting and it's simply not a practical solution.
    Documents to Go still doesn't support Office 2010 password protected files. Numbers niether, so does anyone know of any app that can solve my problem?

    Go to the App Store on your iPad and download Adobe Acrobat DC (formerly called Reader).
    Open it and click on Help. Then click on Handbook. Read the section on "Open PDFs in Acrobat DC"

  • How to repear a corrupt file with Numbers

    How to open a "corrupt" file with Numbers.
    With excel it is possible to open such a file with the following error message :
    "The file you are trying to open, 'filename.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?"
    Clicking YES, the file is opening correctly with XLS.
    How to do the same with Numbers?
    When i try to open the same file with numbers i have no "error message" but the information contained in the file is not readable.
    Many thanks for your help

    Yeah that's true to an extant; microsoft did a good job fixing that but unfortunately allowed it to be re-introduced in 2006 with windows vista where they allowed file naming to receive destructive values (wasn't very fond of this);
    in previous versions of windows such values once entered would be followed by an error message telling you those values couldn't be used
    I wasn't aware it would pop its ugly head back up into windows 7 but I see otherwise as in the case of mine
    (I forgot to mention the period preceded a parenthesis which in turn can be destructive to the file's original format)
    Anyway photoshop wont open the file after changing it to .psd leaving an error message stating....
    'Could not complete your request because the file is not compatible with this version of photoshop'

  • How to Open Two Excel Files in Multiple Monitors in Windows 7

    How to open two excel files in two excel windows using multiple monitors in Windows 7.
    Currently it opens multiple files on top of each other on the same one monitor.
    I found this article in a blog it says
    "The snap feature that you are looking for will not work unless you open two instances of Excel. This is because Excel Unlike Word is not a True SDI Application. Microsoft is aware of the Issue however there is no resolution to the problem but the workaround"

    If you are working almost the entire day in front of your computer at your office with lots of Excel Sheets and Word, then probably you might be working with a
    dual monitor or may be even more than that. Studies have shown that having an additional monitor increases the productivity by 20 to 30 percent (Source: NY Times)
    But some applications like MS Office Excel, even though you open multiple files, they are all from the same instance of the application. So if you want to compare two
    Excel
    files, then you may not be able to have it in two
    separate monitors as the files are loaded using the same instance of Excel. If you move one
    Excel
    file to the other window, the other Excel files are also moved to the other window.
    So how to have two separate Excel files or other application side by side in dual monitors?
    Option A:
    In Excel 2003, go to Tools -> Options ->
    General tab.
    Make sure the option, ‘Ignore other applications’ is checked. Now all the Excel files will be opened as separate instance and you can move the Excel files individually across the monitors.
    In Excel 2007, Click the Office button ->
    Excel Options -> Advanced.
    Under General, check ‘Ignore other applications that use Dynamic Data Exchange’.
    or
    As this method forces each Excel file as a separate instance, the memory consumption will be more. If you don’t want too many memory consumption then you can open only two instances (see
    Option B) and manage wisely to view in both the monitors.
    Note: If you are having issues like Excel opens without displaying a workbook, then you may have to
    uncheck this option. (See Microsoft Help for more details on this). You can use option B in this case. I have this option checked and I have not faced any issue yet.
    Option B:
    They key here is, the application has to be loaded as separate instances. Lets say you have opened an Excel file in
    Monitor 1 and you want to open the next excel file in Monitor 2. You can usually open another instance of Excel by browsing through the
    Start Menu -> Programs -> Microsoft Office ->
    Excel. Make sure this newly opened Excel file is the last Excel file you had viewed and then double click on the Excel file that you wanted to open. This will force the Excel to
    open
    in the second instance of Excel. Now you can move these
    two excel files separately across windows or monitors.
    This may be little cumbersome way to open new instances of Excel every time. The easy solution would be to keep these links in the
    quick links near the Start button. So, every time you want to open a new instance of the application, you can just use those quick links.
    hope work thanks
    http://www.lytebyte.com/2008/05/13/how-to-open-two-excel-files-side-by-side-in-separate-monitors/

  • How to open a local file from javascript in a jsp-page

    Hi
    I have created an iview from a PAR file. In the par file I have a jsp-page with some javascript code. From the javascript coe I want to open a new window with an Excel file.
    I have tried window.open("c:
    test.xls", "test_window"), but it doesn't seem to work. I have created a small HTML page locally with the same command and there a new window opens with the Excel file.
    If I change the local file path with an URL it also works.
    Any idea how to open a local file ?
    Thanks
    /Jakob

    Jacob,
    I'm not 100% (but 99,9%) and it has to do with security ristrictions of the browser not allowing to have local workstation interation from the web. This is ofcourse very dangerous if the browser would allow it... So therfore it is blocked. What if somone would point to a file/executable that formats your drive so for that reason it is not allowed to have web interaction with a local file. Only with Java Applets this is possible but still with many limitations, and what I remember Google Gears and Adobe Air do have some limited web 2 local file interaction... So best and most simple solution you are left with is pointing to a url instead of a file on a c:\ drive.
    PS The reason why it works when you start the html from your local PC has todo with the fact that the browser detects that the html is not running in the web at that moment therefor allowing the access.
    Cheers,
    Benjamin Houttuin

  • How top Open a Excel Document from share point document library using jquery

    How top Open a Excel Document  from share point document library using jquery

    Hi,
    According to your post, my understanding is that you want to open excel file via JQuery.
    To open excel file, we can use the following code.
    <script type="text/javascript">
    function openExcel(strFilePath) {
    var yourSite = "http://www.yoursite.com";
    openExcelDocPath(yourSite + strFilePath, false);
    function openExcelDocPath(strLocation, boolReadOnly) {
    var objExcel;
    objExcel = new ActiveXObject("Excel.Application");
    objExcel.Visible = true;
    objExcel.Workbooks.Open(strLocation, false, boolReadOnly);
    </script>
    For more reference:
    http://www.kavoir.com/2009/01/using-javascript-to-open-excel-and-word-files-in-html.html
    http://www.dotnetspider.com/resources/43453-Open-Word-Excel-files-using-Javascript.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How to open a specific file in projector.

    Hi to all
    can any body tells me that how to open a specific file in
    projector with an application not in browser????
    and also want to add a button to mute the sound just like in
    intros with fade in and out effect.
    its urgent....
    Thanks in advance

    Hi,
    You can use FlashJester JStart
    http://jstart.flashjester.com
    that will open up any file the has been associated in Window
    Explorer.
    Download a FREE evaluation copy and try it for yourself.
    Please look at the example files given.
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. -
    http://www.flashjester.com
    There is a very fine line between "hobby" and
    "mental illness."

  • In Safari how do I open a .PDF file in Preview instead of Adobe Reader?

    When a pdf file opens on my computer in Safari, it opens with Adobe Reader (v. 7.0.8). Until recently, I could right-click on my mouse and and a drop-down menu would appear with the option to open the pdf file in Preview instead of Adobe. That option has now disappeared from the drop-down menu. Can anyone explain how to get back the menu option to open the pdf file in Preview? Thanks. David
    G4 Cube 1.8ghz/tiPowerbook 800 dvi/iMac (Intel) 20"   Mac OS X (10.4.7)  

    My computer automatically open PDF inside the Safari
    window, but I wish it would go back to opening it
    externally via Adobe. (maybe we should trade
    computers:-)
    Anyway, we have the same question.
    How do we control whether PDF launches internal to
    Safari, or external in Adobe?
    This is what I would like to as well. I often have a lot of pdf files I need to open and then save to my hard drive. When I click on a pdf file on a website Safari opens it and then I need to right click in the document to open it with Adobe. How can I get it to open in Adobe the first time without having to right click after it opens in Safari?
    Thanks!

  • How to open a .MAT file in LABVIEW

    Hey everyone,
    I currently have a .MAT image file which I would like to open in LABVIEW to apply some image filters. However, I am unsure as to how to open the .MAT file in LABVIEW. Ideally I would like to be able to open the .MAT file without using matlab, and it seems the only way to accomplish this task is through the mathscript node. I have attached an example of the image im trying to open, as well as the LABVIEW program which I would like to use on the image. Thanks for the feedback! =]
    Attachments:
    MAT_Image_Adjust.zip ‏1779 KB

    Hi Boiler,
    1) Do you have a choice in the format you export your data from MATLAB?
    "ASCII Format
    Complete the following steps if you want to import or export data between LabVIEW and the MATLAB® environment, the process is straightforward as long as you are using ASCII format.
    From the MATLAB® environment to LabVIEW
    To save a vector or a matrix Xin ASCII format with tab delimiter, enter the following in the command window or m-script file in the MATLAB® environment:   
    >>SAVE filename X -ascii -double -tabs
        This creates a file whose name is filename, and it contains the data X in ASCII format with a tab delimiter.
    Import the file into LabVIEW using the Read From Spreadsheet File VI located on the Programming»File I/O palette.
    2) Have you tried using the mathscript node? Did you get any errors?
    "Binary Format
    Complete the following steps if you want to import or export data between LabVIEW and MATLAB®.
    From the MATLAB® environment to LabVIEW
    To read a .mat file in LabVIEW would require a VI to parse the file. This may be easier if each variable is saved to a separate file.
    " -- this was done here, no ideas if it still works,
    I want to read a Matlab MAT file into labview
    Hope this helps, James
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • I do not know how to open a folder, file !

    Hi  everyone,
    I do not know how to open a folder, file or
    a JavaScript  program in photoshop cs4?
    can you tell me how to proceed
    Thank you

    thank zhpingw
    the script not function unfortunately
    I had to go  through to have a flash file. swf
    I put in a  url link
    file. swf I was put in the palette and  its works!
    Download This file tutoweb. link . swf
    requete  content  for Google find tuto a Photoshop !
    Warning you change to script Google.fr  for Google.uk  in file .fla
    Place to swf in your palet of configurator
    Enjoy
    http://rapidshare.com/files/390041665/Flash_CS4.rar

  • How to open a .JAR file on the Z30

    Hi,
    Would anyine know how to open a .JAR file on the Z30?
    I get a message saying "Unable to open" when I click on the .jar file i want to open in my blackberry & install.
    Cheers
    Mario

    JAR files are for older java phones, they dont work on BB10
    maybe you should look into using SNAP to get some apps yoru looking for
    http://supportforums.blackberry.com/t5/Downloaded-Applications-for/You-Upgraded-to-OS-10-2-1-and-wan...
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • How to open a log file form a frame in linux

    Hy,
    Can anyone knows how to open a pdf file in linux from java?? and also a conf file(when I try Runtime.getRuntime().exec("path") -gives me an error like -I don't have the right to open that file , how can I open that file as root??)
    Thanks in advance

    Are you familiar with java.awt.Desktop?
    http://java.sun.com/javase/6/docs/api/java/awt/Desktop.html
    Try its open() method.

  • How to open a pdf file only in one computer

    I would like to sell pdf publications by allowing  the user to open them only in one computer. I learnt that this has been done  the past when I bought  some publications but I don't know the way to do it. Could you help me?
    thank you
    Marco

    thank you for your support
    Best Regards
    Marco
    Da:     Mylenium <[email protected]>
    Per:    MARCO1 <[email protected]>,
    Data:   09/10/2013 11:09
    Oggetto:        How to open a pdf
    file only in one computer
    Re: How to open a pdf file only in one computer
    created by Mylenium in Downloading, Installing, Setting Up - View the full
    discussion
    You will havwe to sign up for some service that supports rights
    management, use protected PDFs via LiveCyle/ Acrobat Connect or learn how
    to create your own ePub stuff using Digital Publishing Suite. In any case,
    it will probably cost you money upfront before you make any revenue.
    Mylenium
    Please note that the Adobe Forums do not accept email attachments. If you
    want to embed a screen image in your message please visit the thread in
    the forum to embed the image at
    http://forums.adobe.com/message/5746873#5746873
    Replies to this message go to everyone subscribed to this thread, not
    directly to the person who posted the message. To post a reply, either
    reply to this email or visit the message page: [
    http://forums.adobe.com/message/5746873#5746873]
    To unsubscribe from this thread, please visit the message page at [
    http://forums.adobe.com/message/5746873#5746873]. In the Actions box on
    the right, click the Stop Email Notifications link.
    Start a new discussion in Downloading, Installing, Setting Up at Adobe
    Community
    For more information about maintaining your forum email notifications
    please go to http://forums.adobe.com/message/2936746#2936746.
    Il messaggio trasmesso può contenere informazioni di carattere
    confidenziale rivolte esclusivamente al destinatario. Ne è vietato l'uso,
    la diffusione, la distribuzione o la riproduzione da parte di altre
    persone e/o entità diverse da quelle specificate. Nel caso aveste ricevuto
    questo messaggio per errore, siete pregati di segnalarlo immediatamente al
    mittente e cancellare quanto ricevuto.
    This electronic mail transmission may contain confidential information
    addressed only to the person(s) named. Any use, distribution, copying or
    disclosure by any other person and/or entities other than the intended
    recipient is prohibited. If you received this transmission in error,
    please inform the sender immediately and delete the material

  • How to open a .pse file in photoshop elements?

    Hello,
    All my previous files were saved as (.psd). Somehow, one of my photoshop elements projects was saved as a (.pse). I can't open it. How can I re open this file and continue working?
    Thanks in Advance

    A PSD is the standard working file for Photoshop.
    A PSE is a project file for Photoshop Elements. These projects are multiple pages. If you are working with a PSE on Windows, there will be a folder along side your PSE that contains a PSD file for each page of the PSE. If you are missing this folder, you won't be able to open the file. The PSE file itself is just instructions on how to open the PSD files as pages of a project. On Mac, all of these files are wrapped up in a single container.

  • How to open a pdf file in JFrame

    hi to all,
    i need to know how to open a pdf file in JFrame. Help is needed with this would grateful, and i used the code state below..
    InputStream in=this.getClass().getResourceAsStream("/images/help1.pdf");
    Process p = Runtime.getRuntime().exec(in);Thanks in Advance...

    this is the error which i'm getting while executing the code
    init:
    deps-jar:
    Compiling 1 source file to /home/VEL AREA/SampleApplication/build/classes
    /home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:3: package com.sun.pdfview does not exist
    import com.sun.pdfview.PDFFile;
    /home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:4: package com.sun.pdfview does not exist
    import com.sun.pdfview.PDFPage;
    /home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:5: package com.sun.pdfview does not exist
    import com.sun.pdfview.PagePanel;
    /home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:25: cannot find symbol
    symbol : class PagePanel
    location: class sampleapplication.Main
    PagePanel panel = new PagePanel();
    /home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:25: cannot find symbol
    symbol : class PagePanel
    location: class sampleapplication.Main
    PagePanel panel = new PagePanel();
    /home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:36: cannot find symbol
    symbol : class PDFFile
    location: class sampleapplication.Main
    PDFFile pdffile = new PDFFile(buf);
    /home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:36: cannot find symbol
    symbol : class PDFFile
    location: class sampleapplication.Main
    PDFFile pdffile = new PDFFile(buf);
    /home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:39: cannot find symbol
    symbol : class PDFPage
    location: class sampleapplication.Main
    PDFPage page = pdffile.getPage(0);
    8 errors
    BUILD FAILED (total time: 2 seconds)
    for the reply #4..

  • How to open a zip-file in Bridge for PC?

    How to open a zip-file in Bridge for PC?

    I think it's built in, just double click on it and it should open with Archive Utility. I dunno, maybe Unrar X might work for you>
    JB

Maybe you are looking for

  • Iphone deletes sent messages on my mac

    Hi guys - I have searched on this subject but to no avail. When I sync my iPhone with my mac, it deletes all my messages from my Sent Folder on both my Mac and .mac and only keeps the ones on my iPhone (approx 34 messages) This means if I want to sea

  • Oracle Berkeley DB Java Edition High Availability (White Paper)

    Hi all, I've just read Oracle Berkeley DB Java Edition High Availability White Paper http://www.oracle.com/technetwork/database/berkeleydb/berkeleydb-je-ha-whitepaper-132079.pdf In section "Time Consistency Policy" (Page 18) it is written: "Setting a

  • How to deal with tiny text size on the display, especially in email?

    I got a Macbook a week ago. I have been using a Windows laptop for about 5 years. Before that I had a couple of Mac desktops. All in all I am very happy with the Macbook. I haven't had any of the problems which have come up in these forums, unexpecte

  • Coloring Help?

    First of all I am not very happy with Adobe right now. I think they might be competing with Apple for whose products can drive me crazier and then have their customer support give me the least support. This forum was ridiculously difficult to figure

  • Can't Apply Styles

    I have a working Pages doc. There is a ton of info in a word doc I need to include. When I copy paste it into Pages, I then can not apply styles from the style drawer. What is that all about? Is there some way to be able to apply styles to info I pas