Hello everybody,
how do I do to have my app read it's own created data upon startup ?
e.g. when double-clicking a text file, the text is loaded into the
Textedit (on Mac)...
I manage to link the created file to open my app, but not to read its
content...
So, if anybody could give me a hint...
Hello everybody,
how do I do to have my app read it's own created data upon startup ?
e.g. when double-clicking a text file, the text is loaded into the
Textedit (on Mac)...
I manage to link the created file to open my app, but not to read its
content...
So, if anybody could give me a
Hi Christian,
When you double-click on the file, an apple event is send to the app
You just have to process this apple event.
hereafter is some code sample:
on appleEvent pClass, pID, pSender
switch pClass pID
case aevtodoc -- extract the path to the file to open
request appleEvent
--- Langers Christian [EMAIL PROTECTED]
wrote:
Hello everybody,
how do I do to have my app read it's own created
data upon startup ?
e.g. when double-clicking a text file, the text is
loaded into the
Textedit (on Mac)...
I manage to link the created file to open my app,
but not to read
hello Jan, thierry
thanx, and how is it on windows ?
christian
P.s. Soorry for the multiple mails, but I had problems posting the
message...
Le 30 juin 05 à 23:03, Jan Schenkel a écrit :
--- Langers Christian [EMAIL PROTECTED]
wrote:
Hello everybody,
how do I do to have my app read
Ok,
i found the answer on Ken Ray's pages : Setting Document
Associations in Windows
So, I'll try that... Only one question : what application is needed
to create these entries ? Command Line or the registry editor or ?
Christian
Le 30 juin 05 à 23:07, Langers Christian a écrit :
--- Langers Christian [EMAIL PROTECTED]
wrote:
Ok,
i found the answer on Ken Ray's pages : Setting
Document
Associations in Windows
So, I'll try that... Only one question : what
application is needed
to create these entries ? Command Line or the
registry editor or ?