Open default program of a document

I watched some videos in Adobe MAX and am excited about the new features to be released in AIR 2. AIR 2 will allow a file to be opened by the system default program (e.g. .doc by MS Word), but - to my understanding - AIR 2 doesn't fire an event when the user closes this document. I can give a use case where such an event is very useful:
say I have an AIR program which can synchronize my local files (say .doc) with a remote server. The user opens the file with MS Word through AIR, and then edits it, and close the document (may or may not quit MS Word). Then the AIR program will upload the new version to remote server. But if AIR doesn't know when the document is closed, when should it start uploading?
NativeProcess class seems to dispatch EXIT event. Does File has a property like 'defaultApplicationPath' which let developer know where is the default application? Also, does NativeProcess file event such as documentClose (application not exit but document closed)?

Hi,
Check this SAP note (845003) which may help you.
When printing the Profit & Loss Statement in Business One APA versions, the system will use the templates defined for the Comparison Profit & Loss Statement as the printing template.
Other terms
SAP Business One, APA, Profit, Loss, Statement, P/L, Printing, Template, Document
Reason and Prerequisites
    That is a system design for Business One APA versions.  The purpose of this design is to support the additional fields required for the legal P/L Statement for the APA countries, especially for China.
Solution
    If the customer want to make any customization on the printing tempalte of P/L Statements, please do it on the printing templates of the Comparison P/L Statements, and then set the newly created template as the default printing template.
    One consequence of this design is that in Business One APA versions, the P/L Statement and the Comparison P/L Statement will share the same default template.  One workaround for this is to define 2 users and assign different default template for those 2 users.  One of the user could be used to print the P/L Statement, and the other could be used to print the Comparison P/L Statement, which has a different default template.
    When doing this kind of customization, please do NOT overwrite the attributes of any existing fields within the system template.  If you don't need those fields to be displayed, please set those fields to invisible, so that they won't be displayed when the report is being printed.  It is NOT recommended to delete any of those fields, or add any kind of customerization on those fields.  The reason is that some of those fields might be overwriten by the Business One application, at the time the printing report is running.  The application will find those fields out, by their ids, and replace their value with the predefined values of the P/L Statement.

Similar Messages

  • Can't change default program to Pages

    Hello All,
    I have a strange issue. When I create a .pages document in Pages, the next time I try to double-click it open, it tries to open in Word 2003, even though Word is not the default program for .pages documents. When I try to do a mass "use this program as default" in the Get Information window, it simply reverts back to Word, whereas, when I do a file individually, it work fine. When I try to open .doc files with a double-click, it will open in whatever I have set as the default for .doc files.
    Why does Pages not recognize itself even when the default for .pages files is Pages?
    Thanks for any help here.

    It worked just as you said!
    Are there any adverse effects (e.g. preferences from other applications or system workings that should be readjusted to match the deleted .plist file)?

  • When viewing documents on a Web Server, IE automatically opens a blank page and then opens the document in the default program. The blank screen should close automatically but isn't happening.

    So here is the situation, my company uses a third party scanning software, that puts documents scanned or created onto a webserver. We use a program that grants a user access to view the documents on the webserver. The user will have to log into the system
    using credentials, we have Kerberos doing this. Once the user is logged onto the system they navigate to the document they want to view or edit. So the user wants to view a .pdf file, they click the document they want, and it is supposed to open in the default
    program associated with file extension. ie: .doc would open Word, .xls would open Excel. When the document is loading in the default program Internet Explorer opens a blank page, this page is supposed to prompt the user if they want to open or save the document.
    (I changed the registry to have the files selected to automatically open without this prompt.) The blank screen generated is still staying open, this screen is supposed to close automatically after the prompt or close automatically after the document is opened.
    So when a user is looking at several documents, this floods the screen with all these blank Internet Explorer pages. This problem is only occurring for users that have Windows 7 PC's, XP users do not have this problem at all. My PC is the only one in the company
    that is Windows 7 64-bit, and working properly with the IE blank page automatically closing. I'm wondering what can be done to fix this problem, is it as simple as registering some .dll files or do I need to make a registry change? Any help would greatly be
    appreciated.

    What is the registry change exactly?  Sounds like one which is supposed to avoid the prompt.  I know
    that there used to be such a thing, before the new prompt and I know that some users think that there should be such a thing for any program but I'm not sure if that expectation is valid or not.  I think this may also be related to a concurrent change
    in the OS.  E.g. in XP we had File Types Options editor but starting in Vista that was removed.  You might get some more clues on this tack from NirSoft's FileTypesMan utility.
    The registry change that I did was to remove the open and save prompt. I will be sure to look into that. Our company
    isn't worried about the user's automatically opening the files since they are all trusted. They also do not have the ability to install anything, so if they were to download a potentially harmful file they could never install it. We monitor downloads as well,
    if they download files off the internet that aren't work related we remove their download capabilities.
    Sounds like a scenario for using ProcMon to take two traces and compare them for their essential differences.
    I talked to my boss about using this tool and he is worried about using it. I'm only an intern at my office and do not have the authority to use a program without their knowledge or consent. I will run the idea by them again and see if it's okay I use this.
    I'll maybe make some presentation about how it can help us with our problem and how much time and money it will save. Because I really want to get down to the bottom of this.
    Probably the most significant thing is going to be the Content-type that the files are being served by. 
    You could use the Developer Tools, Network Capture to check on that and ProcMon could help explain what happens after that.  A related workaround to change the symptom when the Content-type is not what is expected is to disable MIME Sniffing (e.g. in
    Security options, Miscellaneous section).  In fact, perhaps that could explain your machine's difference with anyone else?  MIME Sniffing is a default, previously known as "save according to type not extension" (or some such wording).
    Okay I will be completely honest I have no idea how to use Developer Tools (F12), yes I could google it, when I tried using it on the blank pages it would never work, I also have no idea what I'm looking at. I should mention that I do not have access to
    the web server. Our programming and development side only has access to our AS400, which is where the web server is located. I do have MIME Sniffing enabled and so does everyone else. I may be wrong but, I believe it is needed in order to open the file extension
    in the correct default program, yes? I thought MIME Sniffing would see a .docx file and then find the appropriate program to open that .docx file in. I may be wrong but I know it's used somehow along these lines.

  • Making Pages the default program for opening text documents

    How do I make Pages the default program for opening text documents? Every time I open a text doc it launches in TextEdit. This must be an easy fix, but I can't seem to figure it out.

    Select a text document > Menu > File > Info > Open With > Browse into your appliCations folder > iWork > Pages > OK > Change All…+
    Peter

  • I have OOWriter as my preferred prog.  When open my documents PAGES preempts it and makes changes I don't want.  How do I change my document writer from PAGES as the "default" program? to OOWriter as the def

    I have Open Office Writer as my preferred document program on my MAC.  When I open a document, PAGES intervenes and pre-empts it and makes changes to my OOWriter writen document.  How do I change the default program that opens Open Office Writer documents from PAGES to Open Office Writer?

    Select an OOW file/.doc/docx in Finder > Menu > Info > Open with > browse to OOW > Change all
    Peter

  • Unable to find my Microsoft Office 2010 to use as a default program to open documents. How to...

    I want to use my Microsoft Office 2010 program as the default program to open document. When I browse for the program a follow the path, I end up without a program to select. Where do I find the correct path to be able to choose it as the default program?

    blackfoot wrote:
    My old computer had microsoft word, office , etc. . How do I find it on my new computer or how do I go about getting it?
    Microsoft Office is not a free program, you have to purchase it.
    Some new PCs may have Office as a free trial, but when the trial is over, you will need to purchase it.

  • Change the default program to open a document?

    Howdy,
    Is there anyway to change the default program to open a .doc file?

    I can't seem to find a post with a solution to this problem. I guess I'm not figuring out the correct search term(s) to use.
    Could be launch services is corrupt and needs to be rebuilt. The usual symptom is double entries in the right context "open with" menu, not the inability to change the default application, but it might be it. Open the Terminal application and copy/paste one of the following commands into it and hit return.  I think the first one is the one you want; the second may be for Lion/Mtn Lion.
    /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.fram ework/Support/lsregister -kill -r -domain local -domain system -domain user
    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchSe rvices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
    You might also try repairing permissions in Disk Utility

  • Getting this error while opening a folder : This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel

    Hi,
    While trying to open a folder on my Windows 7 Home Premium, an error comes "This file does not have a program associated with it for performing this
    action.  Please install a program or, if one is already installed, create an association in the Default Programs control panel." I tried searching on the net but did not get great support for the issue when it happens with folder opening.

    Hi Nikunj Shah,
    First, I suggest you download
    Microsoft Safety Scanner or
    Malicious Software Removal Tool to run a full scan.
    The error messages here seems to be caused by the corrupted registries, which related with the folder association.
    You may take a try to merge the following registry settings to reset the folder association, before that, remember to backup your registry settings first:
    How to back up and restore the registry in Windows
    Copy and paste the following commands into Notepad, and save it to a .reg file:
    =================
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\Folder]
    "ContentViewModeLayoutPatternForBrowse"="delta"
    "ContentViewModeForBrowse"="prop:~System.ItemNameDisplay;~System.LayoutPattern.PlaceHolder;~System.LayoutPattern.PlaceHolder;~System.LayoutPattern.PlaceHolder;System.DateModified"
    "ContentViewModeLayoutPatternForSearch"="alpha"
    "ContentViewModeForSearch"="prop:~System.ItemNameDisplay;System.DateModified;~System.ItemFolderPathDisplay"
    @="Folder"
    "EditFlags"=hex:d2,03,00,00
    "FullDetails"="prop:System.PropGroup.Description;System.ItemNameDisplay;System.ItemTypeText;System.Size"
    "NoRecentDocs"=""
    "ThumbnailCutoff"=dword:00000000
    "TileInfo"="prop:System.Title;System.ItemTypeText"
    [HKEY_CLASSES_ROOT\Folder\DefaultIcon]
    @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
      00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,\
      65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,33,00,00,00
    [HKEY_CLASSES_ROOT\Folder\shell\explore]
    "MultiSelectModel"="Document"
    "ProgrammaticAccessOnly"=""
    "LaunchExplorerFlags"=dword:00000018
    [HKEY_CLASSES_ROOT\Folder\shell\explore\command]
    "DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
    [HKEY_CLASSES_ROOT\Folder\shell\open]
    "MultiSelectModel"="Document"
    [HKEY_CLASSES_ROOT\Folder\shell\open\command]
    "DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
    @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
      00,5c,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,2e,00,65,00,78,00,\
      65,00,00,00
    [HKEY_CLASSES_ROOT\Folder\shell\opennewprocess]
    "MUIVerb"="@shell32.dll,-8518"
    "MultiSelectModel"="Document"
    "Extended"=""
    "LaunchExplorerFlags"=dword:00000003
    "ExplorerHost"="{ceff45ee-c862-41de-aee2-a022c81eda92}"
    [HKEY_CLASSES_ROOT\Folder\shell\opennewprocess\command]
    "DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
    [HKEY_CLASSES_ROOT\Folder\shell\opennewwindow]
    "MUIVerb"="@shell32.dll,-8517"
    "MultiSelectModel"="Document"
    "OnlyInBrowserWindow"=""
    "LaunchExplorerFlags"=dword:00000001
    [HKEY_CLASSES_ROOT\Folder\shell\opennewwindow\command]
    "DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
    [HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\BriefcaseMenu]
    @="{85BBD920-42A0-1069-A2E4-08002B30309D}"
    [HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\Library Location]
    @="{3dad6c5d-2167-4cae-9914-f99e41c12cfa}"
    [HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\Offline Files]
    @="{474C98EE-CF3D-41f5-80E3-4AAB0AB04301}"
    [HKEY_CLASSES_ROOT\Folder\ShellEx\DragDropHandlers\{BD472F60-27FA-11cf-B8B4-444553540000}]
    @=""
    [HKEY_CLASSES_ROOT\Folder\ShellEx\PropertySheetHandlers\BriefcasePage]
    @="{85BBD920-42A0-1069-A2E4-08002B30309D}"
    [HKEY_CLASSES_ROOT\Folder\ShellEx\PropertySheetHandlers\Offline Files]
    @="{7EFA68C6-086B-43e1-A2D2-55A113531240}"
    [-HKEY_CLASSES_ROOT\Folder\ShellNew]
    [HKEY_CLASSES_ROOT\Folder\ShellNew]
    "Directory"=""
    "IconPath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
      74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
      00,68,00,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,33,00,\
      00,00
    "ItemName"="@shell32.dll,-30396"
    "MenuText"="@shell32.dll,-30317"
    "NonLFNFileSpec"="@shell32.dll,-30319"
    [HKEY_CLASSES_ROOT\Folder\ShellNew\Config]
    "AllDrives"=""
    "IsFolder"=""
    "NoExtension"=""
    ==================
    Once done, right-click the REG file and choose Merge. Alternately, you can open the Registry Editor and then using the
    Import option from the File menu, to merge the REG file contents.
    Let me know if you need any further help.
    Best regards
    Michael Shao
    TechNet Community Support

  • How do I change the default program to open Pages docs to the old (4.3) version instead of the new one (5.0)?

    How do I change the default program to open Pages docs to the old (4.3) version instead of the new one (5.0)? When I do what Apple said and go to a Pages file in finder and select "get info" then select "Pages 4.3" and "change all" it just defaults to the new one even though I'd selected the old one. Do I need to completely uninstall the new version of Pages or is there another work around because the new version of Pages comes dreadfully short of the features I need that are included in the old one?

    Eric Kraft wrote:
    HOWEVER, if you modified a document in 5.0, 4.3 can't open it. You'll have to use Time Machine to replace the modified version with an earlier version that was last modified in 4.3.
    Actually there is a workaround.
    If you open the file in Pages 5, it can then be exported on Pages 0.9 format to another folder. I had to do this as the document was only in iCloud and couldn't be recoverd by Time Machine.
    Worked for me!

  • I am trying to change how to open my documents, the one I have is torch and I do not want to open my programs etc with this, how can I change it?

    Everytime I download or open something a document etc. it always opens with the browser torch. I would like to change this and have no idea how to where would I go?

    [http://support.torchbrowser.com/Knowledgebase/Article/View/17/0/how-to-uninstall-torch To uninstall Torch]
    To change the default program that opens files in Windows, press start (or the windows button) then type in "default". Click on Default programs, then "Associate a file type..." Find the file type and click on "Change program..."

  • HT1578 I've done all of this and it won't open. I double click on it, the default program to open it is diskimagemounter and nothing happens when I double click. Any ideas? (Mac OS X Lion 10.7.4)

    I've done all of this and it won't open. I double click on it, the default program to open it is diskimagemounter and nothing happens when I double click. Any ideas? (Mac OS X Lion 10.7.4)

    I would like to create a file that stores my documents and has a password on it so that if I lend my laptop to someone, they can't access my documents. I went into utilities and followed his instructions to do that. I created it on my desktop and its a .dmg extension

  • Undoing Open Office being the default program for text and other files

    After problems with Power Point crashing down, I downloaded Open Office to save some files on my mac. thanks to Open Office I managed to save the content, but now Open Office seems to become default program to open word, ppt etc. files on my mac. How can I undo this?

    Change it from the Open With section of a document's Get Info window, and then use the Change All function.
    (57910)

  • How to set default program to open pdf file?

    How do I choose the program that I want Leopard to use for the default program when I double-click to open a pdf document?

    select a pdf file, enter command+I, in the resulting pop-up window click on "open with", select the app you want to use to open pdf files and click on "apply to all".

  • Problem with default program to open certain files.

    My MacBook came with a trial version of Microsoft Office built in. Having already purchased a full version, I uninstalled the trial and installed the full version. The problem I am having is that when I go to open a Word document, it tries to open it with the trial version of Word that is no longer there. I tried changing the default program in Finder but it keeps switching back, thus giving me errors every time I try to open a Word document. If you could help it would be greatly appreciated. If you need more information, let me know.
    MacBook   Mac OS X (10.4.7)  

    Pre-wife is not a term I am familiar with but I guess I catch your meaning .
    It sounds like your Launch Services database may be corrupt. Try downloading a copy of Cocktail (shareware, but I think you can try it) and in the System pane, select Misc tab and click on the button to rebuild the Launch Services database. In rare cases, this database (which the Finder uses to maintain file associations) can get messed up.
    bd

  • I have recently updated my CC programs to the latest version and now all of my files wont open by default into their respective programs, only if I open the program and go to file open and open the file from there. How can I fix this?

    I have recently updated my CC programs to the latest version (CC2014) and now all of my files wont open by default into their respective programs, only if I open the program and go to file>open and open the file from there. How can I fix this?
    I have tried 'Open with' and the version of the program now installed on my computer isn't even suggested as an option and when I browse for it, the file wont open with it anyway

    On Windows (don't know about Mac), the latest version will always take over the file association, and become the default for indd files. It's impossible to change it.
    But there is a plugin for ID that makes this possible. Never tried it myself.
    https://www.rorohiko.com/wordpress/downloads/lightning-brain-soxy/

Maybe you are looking for