Hi,
I wrote a little REALbasic app to process a TEXT file & then send the
output via
Applescript to another program (specifically, though not relevant here, it
takes
an ics file originally form Outlook Calendar & enters the appointment into
the
Datebook of Palm Desktop, so I can sync it to my Palm organizer). The app
basically works. (TEXT here refers to the file type code)
My problem is that the built application won't accept a TEXT file drop
onto its
icon UNLESS the dropped TEXT file has the same creator code as the app. No
highlighting of the app's icon, no opening the app, the dropped-file icon
simply
snaps back. If I set the TEXT file & the app to the same creator code then
it
works. If the TEXT file has a different creator code then I can make my
app open
on double clicking the file by using the GetInfo box & making it open
*all*
files with the specific extension (.ics).
What I want is that I can drop any TEXT file onto my app so I can process
email
messages by dropping them onto the app. Many other progs work this way.
Any hint is appreciated.
TIA,
Mac Dude
OS X 10.4.11 on a G4 PowerBook, RB 5.2.4.


|