Autoload file when app is launched?

How do I have an application open a certain file every time that app is launched?

Is the application hard-coded into the device? If so there's not much you can do to change it. If the application is in Login Items then you can replace the application with the document. Otherwise you need to contact the manufacturer's tech support for help.

Similar Messages

  • Excel, Safari   apps - reopen file when app is launched

    I close my XLS (Office 2011, 14.1.3) spreadsheets.  Then exit Excel.  When I re-start Lion and launch Excel - my previously closed spreadsheets are re-opened.  I've noticed this occurs w/ Safari - previously opened tabs / windows open when I launch the browser.  Is there a setting to prevent or control this?

    Uncheck this option:
    System Preferences > General > 'restore windows when quitting'
    You can also leave that preference checked and avoid the restore behaviour by simply pressing 'option' key when you quit (or opt-cmd-q).
    Note that if you do uncheck the preference box, quitting with option key will have the opposite effect (in other words, it will restore windows when you reopen that app).

  • Preview doesn't close file when app is "closed"

    Try this on Mountain Lion (any version):
    1. Open a JPEG or PDF file in Preview, view the file (make sure it's a scratch file that you dont mind deleting).
    2. Quit Preview.
    3. Drag the just-viewed JPEG or PDF to the Trash.
    4. Empty the Trash
    At step 4, Finder will complain you cannot empty the Trash because the item you were viewing is "still in use".
    5. Open Activity Monitor, locate Preview in the list of apps, Quit it (no need to force quit, normal quit will do).
    6. Empty trash again. This time, the trash will empty correctly.
    This is a bug. Of course, it's caused by the new "feature" of ML (and Lion) that keeps apps open after they are Quit so they can open faster (think iOS). However, clearly Preview has a bug (probably going back years) in that it clearly fails to close open files when it quits.nMy guess is this bug is old, but pre-Lion it never showed since the OS app clean up process closed the file anyway when the app quit. But today selecting "Quit" in the app menu DOESNT quit the app, and Preview sits around holding the file open, and so Trash cannot delete the file until you really, really quit Preview using Activity Monitor.
    I posted this to Apple as a bug back in Lion, then again in the (then new) Mountain Lion. It's not been fixed. So either Apple can't fix it (which is pretty sad), or they dont CARE to fix it (which is worse, given how much money they make and how much I pay for Apple products).
    Since "Squeaky wheels" get oiled, I'd appreciate if anyone else here is bugged by this to also post a bug report to Apple to try to get this annoying bug fixed.
    --Tim

    Hi Tim,
    I was having this problem with several apps wanting to stay open, so I made this script applicaiton and put it in the dock:
    tell application "System Events"
    set app_list to (name of every process whose visible is true and name is not "QuitApps" and name is not "Finder")
    end tell
    repeat with this_app in app_list
              tell application this_app to quit
    end repeat
    It has been working pretty well.
    gl,

  • Problem Checking if File Exists When App is Launched

    I'm developing an app which checks a file "lastuser.txt" to determine which database to open, as sometimes people share phones. Anyway, I'm trying to call  TryGetItemAsync() in the OnLaunched() section in App.xaml.cs but I get the message
    "The name 'TryGetItemAsync' does not exist in the current context".  I am new to C# and phone app development. Any help would be greatly appreciated. Below is my code:
    tia
    CS
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using SQLite;
    using System.Runtime.InteropServices.WindowsRuntime;
    using Windows.Storage;
    using System.Threading.Tasks;
    using System.Diagnostics;
    using Windows.ApplicationModel;
    using Windows.ApplicationModel.Activation;
    using Windows.Foundation;
    using Windows.Foundation.Collections;
    using Windows.UI.Xaml;
    using Windows.UI.Xaml.Controls;
    using Windows.UI.Xaml.Controls.Primitives;
    using Windows.UI.Xaml.Data;
    using Windows.UI.Xaml.Input;
    using Windows.UI.Xaml.Media;
    using Windows.UI.Xaml.Media.Animation;
    using Windows.UI.Xaml.Navigation;
    // The Blank Application template is documented at http://go.microsoft.com/fwlink/?LinkId=391641
    namespace BP_Alert
    /// <summary>
    /// Provides application-specific behavior to supplement the default Application class.
    /// </summary>
    public sealed partial class App : Application
    public static string DBPath = string.Empty;
    public static string LastUser = string.Empty;
    public static DateTime Time_Taken { get; set; }
    private TransitionCollection transitions;
    /// <summary>
    /// Initializes the singleton application object. This is the first line of authored code
    /// executed, and as such is the logical equivalent of main() or WinMain().
    /// </summary>
    public App()
    this.InitializeComponent();
    this.Suspending += this.OnSuspending;
    /// <summary>
    /// Invoked when the application is launched normally by the end user. Other entry points
    /// will be used when the application is launched to open a specific file, to display
    /// search results, and so forth.
    /// </summary>
    /// <param name="e">Details about the launch request and process.</param>
    protected async override void OnLaunched(LaunchActivatedEventArgs e)
    #if DEBUG
    if (System.Diagnostics.Debugger.IsAttached)
    this.DebugSettings.EnableFrameRateCounter = true;
    #endif
    Frame rootFrame = Window.Current.Content as Frame;
    // Do not repeat app initialization when the Window already has content,
    // just ensure that the window is active
    if (rootFrame == null)
    // Create a Frame to act as the navigation context and navigate to the first page
    rootFrame = new Frame();
    // TODO: change this value to a cache size that is appropriate for your application
    rootFrame.CacheSize = 1;
    if (e.PreviousExecutionState == ApplicationExecutionState.Terminated)
    // TODO: Load state from previously suspended application
    DBPath = Windows.Storage.ApplicationData.Current.LocalFolder.Path;
    LastUser = Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path,"LastUser.txt");
    bool result = await TryGetItemAsync(LastUser); <--Error!!!!!!!!!!!!!!!
    // Place the frame in the current Window
    Window.Current.Content = rootFrame;

    It seems that TryGetItemAsync is a method on a StorageFolder, so you will need to do something like:
    myStorageFolder.TryGetItemAsync(LastUser);
    See here:
    https://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.storagefolder.trygetitemasync.aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-1
    If you go to that link and scroll down to the bottom of the page, it says:
    Minimum supported phone
    None supported

  • RoboHelp 9 either won't launch or does not show project files when it does launch

    Hello,
    I had a freeze in RH9 and after force closing and relaunching, I got a message that the .cpd file was corrupt and needed to be deleted. I deleted the entire project folder in my local drive and then retrieved the files from Visual Source Safe. When I tried to launch the .xpj file from Windows Explorer, RH launches to the splash page, but never moves beyond that. When I try to open from the Start menu short cut, RH launches but none of the project folders or files are there.
    Emptied the local folder and retrieved files multiple times, but no change. Logged out completely and restarted the machine and no change.
    Help!

    Can you open one of the sample projects? If so, then something's gotten messed up in your VSS project; if not, then your RH install may be damaged.

  • Ipad asking for apple id when app is launched

    All of the sudden our ipads are asking for the Apple ID when a student tries to launch an app.

    Having this exact same issue that literally popped up over night.  I have 24 iPads in a classroom that I use Apple Configurator with.  I've not had any problem up until the last couple days.  Various apps, when opened will prompt for an apple id and password.  If the student hits cancel, the app shuts down.

  • Referenced XML,class files when trying to launch a extended page from JDev.

    Hi,
    I have identified the objects that I need in order to extend a R12 standard OAF page. I have also coded for the relevant extension. Now when i try to test it from JDEV itself, i get all these class not found errors for various referenced objects (eg in shared regions) from various subdirectories under $JAVA_TOP/oracle/apps on the application server. To overcome this i brought over the objects from $JAVA_TOP/oracle/apps into a local directory on my machine and in JDev i created a library giving that directory as the source path and then in my project added that library. BUT it is still giving the same errors....
    how do i overcome these errors ?
    thank you.

    Hi,
    What you are trying to do is correct, except few points,
    You mentioned +"$JAVA_TOP/oracle/apps into a local directory"+
    but can you put them in your myclasses oracle/apps directory.
    And what is the exact error you are getting.
    Btw, you can refer the below links about how to setup the Jdev to prepare for customizations,
    http://apps2fusion.com/apps/14-fwk/456-iexpenses-oa-framework-r12-extensions
    http://oracle.anilpassi.com/running-oa-framework-page-from-jdeveloper-audio-video-demo-2.html
    Thanks,
    With regards,
    Kali.
    OSSi.

  • Can I prevent Mac OS X Lion from opening previous files when applications are launched?

    Since upgrading to Lion each time I click on a file (and the program opens) in addition to the file I clicked on also the most recent file I had open in that program opens also.  Is there any way to prevent this action?

    Uncheck:

  • When trying to launch ITunes I get an error message saying that application fail to start because MSVCR80.dll file not found. Reinstalling app may fix problem.

    When trying to launch ITunes I get an error message saying that application fail to start because MSVCR80.dll file not found. Reinstalling app may fix problem.

    I've just (finally) managed to fix this problem today. I checked the Apple Support forums, and it seems a lot of people are having the same problem.
    I rang the Apple Support line, and the very helpful man (thanks Alan!) talked me through it stage by stage. If you go to the following page on the internet: http://support.apple.com/kb/TS5376   it takes you through the process. WARNING - it takes a little time!
    Basically, the first thing you have to do is go to your Program Files and double click on your iTunes folder. There'll be a number of files with the suffix .dll - you need to move all the .dll files from that folder to your desktop - you can simply click and drag them on the desktop..
    Next, uninstall iTunes - go to Control Panel / Add/Rempve Programs and when the list comes up remove iTunes. This will take a few minutes... Then reboot your computer.
    Next, go back to Control Panel / Add Remove and Remove - IN THIS ORDER -
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support
    Reboot again!
    Next, check in your Program Files that the iTunes folder is completely gone - if it has, great: if it hasn't, right-click on the folder and press Shift and Delete - it will say "Are you sure you want to completely remove the folder "iTunes"? Click on "Yes".
    Reboot!
    Then go to the iTunes download page and voila! It should download iTunes without any problems... well it did for me.... Good luck!

  • System Will Not Shut Down & Apps No Launch After Moving File -- HELP

    I downloaded a "WordServices.service" file and read to copy it to the "Services" folder in the Library folder of the home drive. I created a Services folder in the Library folder that I found below the Applications folder, moved the file to it and restarted, but the WordServices did not show up under the "Services" drop down menu in the Finder like I thought it would. Then I found a "Library" folder in the "System" folder and tried moving the file there by dragging and dropping in a rather sloppy bumping the bottom window until the file listing scrolled down to the System folder. But it would not copy and I got a message that the Services folder can not be modified.
    Then I noticed that most of my apps would not launch, getting the "Application quit unexpectedly" error message. Launching Dashboard and Software Update generated the same error message. But a few apps would launch, like FireFox, iTunes and Stickies. When I tried to shut down the computer, the desktop disappeared as normal, but then reappeared, without shutting down. I tried removing the battery for a re-boot, but when it came back up as normal, the same problem persists. A ran the program "Onyx" to repair permissions and run a maintenance routine, but still no fix.
    I tried re-installing several of the apps that were not launching, but would get an error message when I clicked on the disk image, "The following disk images failed to mount: Image (app. name), Reason "Broken Pipe."
    My "System" folder just has the "Library" folder in it. Is this correct? Evidently I have accidentally moved some files and/or corrupted them when I attempted the drag and drop into the System's Library folder, or when I created a "Services" folder in the "upper" Library folder. Any recommendations on how to proceed in getting this straightened out? Thanks.

    Download and run the10.4.10 Combo Updater PPC
    This is a fuller install, as opposed to an incremental "delta" update so it should overwrite any files that are damaged or missing. It does not matter if you have applied it before. It has worked well for many.
    You may need an alternate way to mount the .dmg. If you have Toast that should work (Utilities menu >> mount disk image) or if you have another Mac, you can use Firewire target disk mode
    This is a fuller install, as opposed to an incremental "delta" update so it should overwrite any files that are damaged or missing. It does not matter if you have applied it before. It has worked well for many.
    Remember to Verify Disk before update and repair permissions after update from /Applications/Utilities/Disk Utility.
    -mj
    [email protected]

  • Visual Studio opening files when dragged and dropped in WPF app debugging session

    I'm working on a WPF app (using VS2013 CE) which is intended to manage media files (TV Shows, movies, etc) and as part of this I am enabling the user to drag and drop media files on to the running app (by adding AllowDrop="True" and PreviewDragEnter="Window_PreviewDragEnter"
    to my Window definition).
    The problem I have is that when I drag files onto the app in a debugging session Visual Studio then opens the file(s) when I stop debugging... this is seriously annoying as when I am testing with large media files (> 1GB) it just locks up VS for minutes
    at a time while it tries to open the file or files. When I run the app outside the debugger this does not happen - it's only when I'm in a VS debugging session.  The only way I can stop this happening is to kill VS completely from Task Manager then restart
    it - this is also very annoying but often I need to do this as it will freeze up for 5-10 minutes while it insists on loading the files in VS.
    I understand the app, whilst debugging, is running in the context of VS but why does VS then have to try to open the files when debugging is finished?   I have looked through the options but can't see anything to switch this off and no amount of searching
    has turned up anything - can anyone put me out of my misery with a solution to this annoying issue?

    Hello nzmike,
    Does Visual Studio behaves like the following image shows and just hangs when opening your media file?
    Do you have any other computer which installs Visual Studio? Can you reproduce this on it?
    In order to troubleshoot this issue I think we need to locate the root reason of your issue. The problem can related to the following:
    1. Your project is corrupt and VS then trys to load that file when debug finished.
    2. Your VS is corrupt and caused this problem.
    So please do something below:
    1. Try clean and rebuild your project.
    2. Switch to some other PCs and use VS and your project there, check if the problem can be reproduced.
    3. You can backup your VS setting and try some commands: devenv /resetsettings and devenv /resetuserdata
    Details about VS command:https://msdn.microsoft.com/en-us/library/xee0c8y7.aspx
    And based on th research of the above second step, if you can reproduce this issue on more than one PC, the problem is pending on your project and I need you to share a simple sample which can reproduce this issue. We will need to investigate the project
    in detail.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Is there a capability to save/export the time capsule settings file when using the iphone/ipad airport utility. the "file" button does not exist on the latest airport utility app.

    is there a capability to save/export the new airport 2TB time capsule settings file when using the iphone/ipad airport utility. set-up wasn't a problem but the "file" button does not exist on the latest airport utility app v6.3 to save the configuration file.

    the "file" button does not exist on the latest airport utility app v6.3 to save the configuration file.
    Sounds like you are a bit confused with version numbers.
    Latest AirPort Utility version for the iPhone / iPad is 1.3.3.  There is no option or capability to export/import settings on the iOS version(s) of AirPort Utility.....although you could take a series of screen shots and save them for future reference.
    AirPort Utility 6.3.x is found on a Mac.....not on iPhone / iPad. Export and Import options are found under the File menu in 6.3.x.

  • I force shutdown my MacBook Pro and when I reopened my laptop, my files and apps are all gone.

    I force shutdown my MacBook Pro by pressing the shutdown button for a long time and when I reopened my laptop, my files and apps are all gone.
    When I reopened my laptop, it said that some files have been deleted or hidden (I don't know if it said hidden, I don't remember). my dock and wallpaper were set back to default.
    This isn't my first time force shutting my MacbookPro.
    How can I restore/recover back my stuff?
    i heard time machine restores your stuff back.
    And please don't tell me to go to apple because I have made an appointment with them but I'm still worried.
    Please if you know anything about this please tell me anything you know.
    Please help me.

    Given that you sound a nervous wreck and a neophyte in matters Mac, it would be safest that you put the Mac away, go take a chill pill, grab a bite, get some rest. Then take the Mac to its scheduled appointment with Destiny, er, the Apple Genius.
    There's a good possibility of data loss and munging around unknowing, following instructions that will probably be hard to grasp will only increase the amount of damage.

  • I upgraded my new iPad (iPad 3) to IOS 6 and everything went well except Siri won't launch apps. When asked say "launch Facebook" Siri responds with "it doesn't look like you have an app named Facebook" and I get the same results when trying to launch any

    I upgraded my new iPad (iPad 3) to IOS 6 and everything went well except Siri won’t launch apps. When asked say “launch Facebook” Siri responds with “it doesn’t look like you have an app named Facebook” and I get the same results when trying to launch any app. Siri works for everything else it just won’t launch apps. Any ideas? Thanks.

    I have this same problem... Seems like nobody else does. Siri won't launch any apps for me, including native apps.

  • Firefox crashes and when attempting to launch after the crash it won't and throw and error msg that js.3250 can't be found- but same file is in Mozilla directory. I must then download new 3.6.8 and lose all tabs.

    # Question
    Firefox crashes and when attempting to launch after the crash it won't launch; throwing an error msg that " js.3250 can't be found" - but same file is in Mozilla directory.
    I must then download new 3.6.8 and lose all tabs and history.

    I have a similar problem. Recently my FF8 has been crashing a lot. It regularly locks up an entire core of my PC and often just shuts down. It has just done it a moment ago and when it started back up it did the whole "this is embarrassing" thing and asked me if I wanted to reload my tabs. I deselected the one that I was trying to view as I suspected that it may have been the cause (unlikely; it was node4.co.uk) but anyway, let's skip it just in case. Click on the button to restore and up pops my homepage only. So all of my other tabs, which I was using for work incidentally, are gone.
    This is not the first time this has happened on FF8. It happened a lot recently on FF6 I think it was (so hard to keep track now, Mozilla) and I switched to Chrome as a result, but it turns out that it crashes even more than FF6 did. FF7 was a vast improvement but FF8 is so unstable/unpredictable for me at the moment that I think I'd rather use IE9 than this. It's driving me mental, clearly! I wish I could kill the process manually and have it retry restoring tabs. Hey, there's an idea Mozilla; give us a menu item that allows us to restore the session to how it started to try again or at the very least get a list of the pages we were looking at. They don't show up in Recently Closed Windows and the Restore Previous Session is greyed out too. Gah! Help!

Maybe you are looking for

  • Crappy customer suppo

    creative has the worst customer support! my remote control broke so i sent a message explaining what happened. i got a different person handling my case each time and they kept asking me the same question over and over. i finally got fed up so i call

  • My phone is not working it's just showing the apple icon ???

    My phone is not working, frozen and stuck on a blank screen with the apple symbol.

  • Service PO upload using BAPI - Err

    Hi, While uploading service PO using BAPI_PO_CREATE1, I am getting error "Please maintain services or limits". I am passing material group at item level. For passing services detail , i am using the parameter "poservices"  in BAPI. Is there any other

  • Need more than 8 Audio Streams - Possible solution

    Referring to this topic (now archived so cannot reply): http://discussions.apple.com/message.jspa?messageID=12870874 Wikipedia DVD entry "DVDs can contain more than one channel of audio to go together with the video content, supporting a maximum of 8

  • Color Management Problem in Acrobat

    When I load an image with an embedded color profile into Acrobat 7.0 it is not displayed with the same colors as when I load it into Photoshop CS3. I have the same working space in both programs. In Photoshop the color is accurate but in Acrobat it's