On Dec. 5, 2006, I asked the following question:
I have two folderitems, fa (an application) and fd (a document). How can I open fd using fa?

I thank all those who made suggestions. I used the one by Sven E. Olsson ([EMAIL PROTECTED]) which was to temporarily change the MacCreator of the document. I did that successfully with the following simple sub:

Sub launchdoc (fa as folderitem, fd as folderitem)
  dim oldDcreator as string
  oldDcreator=fd.maccreator     // save original MacCreator of document
  fd.maccreator=fa.maccreator // change creator of document
fd.launch // document launches with the desired application
  fd.maccreator=oldDcreator    // restore old MacCreator

Tack så mycket, Herr Olsson!

Klaus Schmidt


 _______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to