Developer: How can I let people open files with my program?

Hello Everyone,
I just finished my program for the Mac, and decided to make it an application.
I used Platypus to make my program into an application. Unfortunately when I try to open a file with my program (control + click on file + open with -> other), my application is grayed out and I can't select it. I see it there along with the other applications but I can't select it like I can Mail or TextEdit.
I read somewhere I had to use XCode to let people open files with my program but I have never used XCode and I have no idea how to do that. Any help would be appreciated.
Thanks,
Nick

You've posted in the wrong forum. This is the OS X Leopard Installation and Setup forum. You need to post your problem in the Developers forum. Also, since Platypus is not an Apple product, you should visit it's developers forum for assistance. The Apple Discussions is intended to assist users with problems and questions about Apple products only.
To use XCode Tools you need to install it from the Optional Installs folder on your OS X Installer Disc One. It comes with documentation. More assistance can be found at developer.apple.com.

Similar Messages

  • Can all Acrobat Readers open files with mixed orientation pages (portrait and landscape)?

    Can all Acrobat Readers open files with mixed orientation pages (portrait and landscape)? If not, which versions can? Thanks!

    Hi Sami,
    You can open files with mixed page orientations in all Adobe Readers There is no such constraint on opening files with different page orientations in Adobe Readers.
    In case if you have any other query please let us know. We will be happy to assist you.
    Regards,
    Aadesh

  • How can I automatically create the files with serie-name?

    Hello, Everyone,
    I have a question again.
    How can I automatically create the file with a serie-filename?
    e.g. I have a program, it will repeat 5 times, and every time it will create a bmp-file, and I want to let this program automatically save these 5 files with a Serie-filename like File001.bmp, File002.bmp, .... File005.bmp.
    How can I do it?`
    Thanks a lot.
    Regarts,
    Johnny

    Hi Deepu,
    one more comment
    The format code should be "%04d" to get leading zeros and have filenames with same length...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How can i write a XML file with oracle data ?

    How can i write a XML file using PL/SQL.
    Can i do as follows.
    1.Open a file using UTL_FILE.FOPEN(LC_DIR_LOC,'abc.xml','W')     ;
    2.write all the required tag and value using UTL.put_line
    that is enough. Is not, please guide me to write.
    gk

    Having Oracle 9i.
    One more doubt. In the speck, some constand values are there, When i write the same into file, How can i write ?.
    1. l_str := ' "E27" '
    or
    2. l_str := ' E27 '
    UTL_FILE.PUT_LINE(L_FILE_POI,l_str,TRUE);          
    1 case : in XML file : "E27"
    In 2 case : E27
    When we write a XML file through editors , we have to define the constant within quote . is it?      
    Which one can i use ? Or any other way is there ..
    Thanks and Regards
    gopi

  • How can I create a exe file with a tab control on it that work´s ?

    I have a VI with many controls and indicators,these are spread on a tab control.This tab control works with out any problems but if i create a exe file then the tab control is fixed. How can I create a exe file so that the tab control on it work´s ?

    I have made a new Posting with the same question but this time I added a screenshot of the VI.
    Attachments:
    project7.1.jpg ‏129 KB

  • How can (parse) i use XML file with missing EndTag

    hi,
    i have an application which writes an "XML file".
    another application should read that XML file, build an DOM and
    access the nodes with xpath.
    my problem. if the first application is not finished there are tags
    missing. e.g. </xml>. but the seconds application cannot wait until the first application finishes it task.
    if i now read the XML file the parser cannot load it because the end tags are missing.
    my question:
    how can i deactivate the check or how can i read the XML file and access it via XPath (my application is using at the moment XPath to access the nodes and i dont want to change that)
    as parser i am using XERCES
    alex

    As far as I know, you can't do this - xml must be well formed (this is sort of a bedrock of xml). There may be some work around's, but I'm not aware of any - and they would most likely be hacks.

  • How can i let people make adjustings in my app when they use it

    I want people to adjust their wishes in my app. 
    So if I would set 4 website links to 4 random websites. Then people that download my app should be able to adjust the website to any of their favourites. This way it works best for them.
    Can anyone please explain how it's possible to do this with Dreamweaver CS6
    Thanks in advance

    It's a little clearer, but not 100%. The application needs to allow the user to store their favorites in a database table on your server. For example, the database might have two tables - one to store the user's credentials and other related data, and another table to store their favorite url's. DW has some built in server behaviours for inserting, deleting and displaying data from a database that can help with this, but you really need to be familar with programming in the server side language you are using as well as SQL.
    But I'm still confused as to how you are building this. This forum is for server side appliation development, but you mentioned that people would download your app? What are they downloading? Have you started building this? What server side scripting language are you using?

  • How can I REPLACE original RAW files with JPG's and keep my 'Develop mode' edits?

    An image describing my problem:
    http://i.imgur.com/hcqMYkv.jpg
    (Lightroom 5)
    'edits' = Edits made in develop mode.
    'CR2' = My RAW image file format.
    I have existing CR2's with edits for them saved in Lightroom.
    I want to replace the CR2's with JPG's, and do nothing else. I want those JPG's to inherit the CR2's edits, but I DO NOT want the edits to be permanently applied to the image.
    If I export the CR2's (which have edits) to JPG's, the edits will be permanently applied to them. I do not want this.
    If I export the CR2's to JPG's without the edits, I have no way of getting the edits back and will have to redo the work if I use that photo again.
    Any solutions? I've been trying for a while and have no idea how to do this.
    Q: Why not keep the CR2's?
    A: I am uploading these files to an online host (S3) as my primary storage method and uploading CR2's takes way too long with my internet speeds. Furthermore, online storage costs money.
    Q: Why not shoot with JPGs instead of shooting raw?
    A: I do my initial edits with the raw files and then archive them as JPG's to save storage space. They won't be raw anymore if I apply future edits, but I still have the option of retouching them from the 'original' state and still have my old edits preserved.

    Probably the best thing for you to do is simply use lossy DNG format (e.g. export as, or convert to..): raw data is re-formatted with jpeg compression (full-rez or reduced-rez), but all raw settings apply.
    If you insist on trying to have a true jpeg file with (mostly) raw settings, then:
    The simplest way I can think of to do it without a script or plugin:
    * Reset the raw photo (consider preserving things that don't translate well, like profile-based lens corrections and white balance).
    * Export jpeg
    * Un-reset the image (e.g. using edit history or pre-reset snapshot).
    * Sync settings from raw to jpeg (note: omit settings that don't transfer well, or that were not reset..).
    * Optionally: Delete raw
    To automate/streamline would require a script or plugin.

  • How can I use the "open file" alarm on an iPhone?

    In the iCal program on a Mac, I can set an alarm to open a webpage at a specified time each morning automatically by using the "open file" feature in iCal and using a .webloc file for the URL.  However, the event, when synced through iCloud, does not open the webpage on my iPhone.  Is there a way for me to use the "open file" feature on my iPhone?
    If not by using the "open file" feature, is there a way (through an app or other setting) for me to open a website or a program at a specified time each morning?  Thanks!

    timl006 wrote:
    Hi all,
    I have an iPhone 4, running the latest IOS 4.x revision.  Like many of you, I have installed 3rd party apps to replace the existing default apps from Apple in order to get improved functionality.  Chief among them is the calendar app "Week Cal".  I had already switched to my various Google calendars for my appointments exclusively.  I then made my principal Google calendar my default calendar on both my iPhone and iCal on my Mac.
    The problem is that even though I deleted all local calendars on my mac and told the default iPhone Calendar app to hide all calendars, occasionally it somehow "finds" my Google calendar. Once found, the Calendar app is the one that pops up upon calendar alerts and not Week Cal.  The switch does not seem to be linked to syncing.
    Question #1:  How can I tell my iPhone what my default apps are?  Do I need to do something on my Mac as well?
    I'm guessing that Week Cal has some sort of setting that you use to point it to your calendar, yes?
    If so:
    #1 make sure that Sync iCal Calendars is unchecked in iTunes.
    #2 on your iPhone... Settings > Mail, Contacts, Calendars > turn OFF Calendars for all accounts.
    Now the iOS should no be looking to make contact with any data for Calendar.

  • How can I generate a map file with LabVIEW?

    We wish to use a product which inserts code into our executable to prevent tampering with it by crackers.  The program, however, takes the executable file, as well as the map file (which is commonly generated by c++ compilers) and uses the map file to determine where in the exe the critical routines that need protection are at.  I can not, however, determine how to create such a map file for a LabVIEW generated executable.  Is there a special build option I need to invoke?

    Yes, I'm familar with NI's licensing technology, having talked with someone (you, Dennis, I believe) about it before.  The problem we have is our software is sold to factories in China where there are no internet connections.  We have a physical key 'dongle' which must be present in order for the executable to be willing to run.  However, it appears that people are taking the executable  which LabVIEW creates and they are editing it, probably by using a a debugger and tracing to the the code which checks for the dongles presence and bypassing it.  To my knoweledge, NI's products don't do anything to prevent this, right?
    We found a company which sells a product that encryptes, checksums, etc... an executable file, but it needs to know the layout of functions in the exe in order to determine which areas to focus the obfuscation on.  They were sort of matter of fact when they said it needs the exe and the map file, as if they expected any language which produced an exe could produce a map file.

  • How can i implement a help file to my program?

    i have to add a help to my program's users so how can i do that in java?

    I googled "java help".
    The first link points to the "JavaHelp" open source project
    that makes it easy for you to incorporate help into your program.
    The help files can either be on the client side (included in the program),
    or be on the internet (residing on some server):
    http://java.sun.com/products/javahelp/
    Next time, try google first. Please.

  • How can I upload and download files with uiXML?

    I want to implement upload and download files with uiXML. In some previouse topic I got answare to look in AbstractPageBroker class in JavaDOC. I did it but this is a very-very little resolution description for this problem. I think for developers YOU (UIX Team) must in very quick time to put some examples on the NET because this is a nice technology but with adecvate samplase and developers guide it will be dead very soon. I digging this forum for information. I see many many people have same problems about this technology. They like it and want to use and try but documentation is very very poor.
    WE WANT EXAMPLES and separate forum for UIX. I think it deserve this.
    If You have any more detailed documentation would be nice to put on the net. I have uixdemo.zip file but this is in very early fase of development. I downloaded it before fwe months. And now I can't find it anymore on youre site. What happend?

    Attila -
    I went back and re-read the JavaDoc for AbstractPageBroker and MultipartFormItem and put together the following sample PageBroker based on the description from the JavaDoc:
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletContext;
    import oracle.cabo.servlet.BajaContext;
    import oracle.cabo.servlet.Page;
    import oracle.cabo.share.util.MultipartFormItem;
    import oracle.cabo.servlet.xml.UIXPageBroker;
    * An extension of UIXPageBroker which stores all uploaded
    * files in the temporary directory.
    public class UploadingPageBroker extends UIXPageBroker
    * Override of AbstractPageBroker.doUploadFile() which saves
    * all files to the temporary directory.
    protected String doUploadFile(
    BajaContext context,
    Page page,
    MultipartFormItem item) throws IOException
    // Get the location of the file to create in the temp directory.
    // Of course a real application probably wouldn't upload files to
    // the temp directory - just using this contrived example to
    // demonstrate basic uploading support.
    File file = _getFile(context, item);
    if (file != null)
    // Create a FileOutputStream. Of course, a real application would
    // probably want to buffer the output
    FileOutputStream out = new FileOutputStream(file);
    // Write out the file
    item.writeFile(out);
    // Close up the output stream
    out.close();
    // We can return a value here to add to the PageEvent
    // if so desired.
    return null;
    // Gets the File for the item that we are uploading
    private File _getFile(
    BajaContext context,
    MultipartFormItem item
    // Get the file name
    String name = item.getFilename();
    // If we don't have a file, bail...
    if (name == null)
    return null;
    // Get the path to the temporary directory
    File dir = _getTempDir();
    // Return the File object
    return new File(dir, name);
    // Returns the path to the temprary directory
    private File _getTempDir()
    // Get the temporary directory from the ServletContext
    ServletConfig sConfig = getServlet().getServletConfig();
    ServletContext sContext = sConfig.getServletContext();
    return (File)sContext.getAttribute("javax.servlet.context.tempdir");
    In this sample, each uploaded file is simply saved in the temporary directory. You'll want to replace the code that creates the FileOutputStream for the uploaded file to use whatever OutputStream makes sense for your application.
    BTW - I used the following UIX page to test this out:
    <?xml version="1.0" encoding="UTF-8"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller">
    <content>
    <pageLayout xmlns="http://xmlns.oracle.com/uix/ui">
    <contents>
    <form name="uploadForm" usesUpload="true">
    <contents>
    <fileUpload name="uploadedFile"/>
    <submitButton name="upload" text="Upload"/>
    </contents>
    </form>
    </contents>
    </pageLayout>
    </content>
    </page>
    Hope this sample helps with the uploading part of your question. I'll see if I can provide a download sample in a later post.

  • Please, I need help - How can I generate a text file with Word format?

    Hello friends at www.oracle.com ,
    is it possible for me to create a text file - that is, with TEXT_IO.fopen, and so on - that's already formatted as a Word document?
    We have a Forms program here, where it's needed to generate a text file with .RTF format, 8 centimeters margin, Times New Roman font, with size 7.
    Best regards,
    Franklin Goncalves Jr.

    Hello Shay,
    sincere thanks for your answer. And, to answer your last question, I'm using client-server model.
    Since I couldn't create this .RTF file by using built-ins like TEXT_IO, I tried to generate an .RTF file using Reports, passing the parameters DESTYPE, DESNAME and DESFORMAT, as shown below.
    add_parameter (pl_id, 'DESTYPE', text_parameter, 'FILE');
    add_parameter (pl_id, 'DESNAME', text_parameter, 'c:\franklin.rtf');
    add_parameter (pl_id, 'DESFORMAT', text_parameter, 'RTF');
    However, the just generated .RTF file is uncomprehensible. After opening the file at Microsoft Word, I can see the following message at the top of file:
    This file was created by Oracle Reports. Please view this document in Page Layout mode.
    ... and informations doesn't appear as desired.
    If I can't generate such text format by using TEXT_IO, and if generating an .RTF file through Reports shows me an incomprehensible result, how can I export the selected result to an .RTF file?
    When Reports is opened, choosing Generate to file -> RTF doesn't export anything.
    Thanks, and best regards,
    Franklin Goncalves Jr.

  • How can I programatically identify PDF files with embedded images?

    Our company has 27,266,949 .PDF files that we're planning to compress in order to save server space.
    We don't want to compress any of the .PDF files that have embedded images as to not alter the image's state.
    How can we programatically create a list to exclude from the compression process?

    Ah, see told you we were new to this and no, my taxs already have enough digits to the balance.
    Ok, so based on that, we should be able to use the preflighting tool to identify the PDF’s with images, factor them out, and then continue with lossless compression on the remaining balance.
    That will give us the compression we need to save space, but also allow us to stand in the court of law (if the scenario was to ever occur) and proclaim that none of our medical images have ever been altered by compression.
    Sound like a reasonable plan?

  • How can i create a zip-file with multiple volumes

    Hi,
    i've to zip a large file (250 MB and more). But the zip file shouldn't be greater than 5 MB, because i have to send the file via E-Mail. So i've thought, that the solution of this problem can be to zip the large file in smaller zip-files, which are multiple volumes of a zip-archive. I've searched very long in WWW, but didn't find something. Perhaps you can help.
    Sorry, about the bad english. :-)
    Timo Bunger

    Hi
    Who said your english is bad ?. OK, are you looking for compressing the 250 MB file in to multiple versions using a java program ?. If not, there is a shareware you can download and split the file into multiple parts by specifying size of each part. You can send these parts via email and the other person can combine these parts into a single file again.
    Find this @
    http://www.freedownloadscenter.com/Utilities/File_Splitting_Utilities/EzSplit.html
    You may need to read a bit about it on how to use.
    Thanks
    Srinivas

Maybe you are looking for