• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
HELP How to open a default document at startup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

HELP How to open a default document at startup


  • Subject: HELP How to open a default document at startup
  • From: "Mark's Studio" <email@hidden>
  • Date: Fri, 7 Sep 2001 10:27:49 +0200

I want to open a default document the first time my app starts up,
how do i do it.
In my world of logic the App asks me if i want to open a untitledfile,
so i tell it to try and open the default file if not open a untitledfile.
But what method do i use to open the file?


- (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender
{
if(openFile)
return NO;
else
return YES;

}

Thanks

Peter Mark

Mark's Recording Studio A/S
Faelledvej 19 b DK2200 N
Copenhagen Denmark
Tel: +45 35366078 Fax: +45 35366038
www.marks-studio.dk
email@hidden


  • Prev by Date: filtering drag and drop
  • Next by Date: Re: Help with error (solved)
  • Previous by thread: Re: filtering drag and drop
  • Next by thread: Re: Help with error (solved)
  • Index(es):
    • Date
    • Thread