Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Realbasic > dropping file o...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 8 Topic 3305 of 3314
Post > Topic >>

dropping file onto a REALbasic app

by Mac Dude <do@[EMAIL PROTECTED] > Mar 2, 2008 at 10:25 PM

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.




 8 Posts in Topic:
dropping file onto a REALbasic app
Mac Dude <do@[EMAIL PR  2008-03-02 22:25:01 
Re: dropping file onto a REALbasic app
Dale Arends <dalearend  2008-03-03 20:11:59 
Re: dropping file onto a REALbasic app
Mac Dude <do@[EMAIL PR  2008-03-04 06:51:55 
Re: dropping file onto a REALbasic app
"fontoholic" &l  2008-03-04 16:04:55 
Re: dropping file onto a REALbasic app
No One <noone@[EMAIL P  2008-03-05 03:59:12 
Re: dropping file onto a REALbasic app
Mac Dude <do@[EMAIL PR  2008-03-06 04:30:55 
Re: dropping file onto a REALbasic app
bubba jones <bubba@[EM  2008-04-09 21:01:45 
Re: dropping file onto a REALbasic app
Mac Dude <do@[EMAIL PR  2008-04-17 06:13:12 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 19:15:06 CDT 2008.