What drive am I running from?
Klaus Major
k_major at os.surf2000.de
Fri Feb 7 13:19:01 EST 2003
Hi JR,
> Does anyone know how to determine what drive your application is
> rinning
> from in OSX? You do not get the full path when you do a
> defaultDirectory on
> startup...the drive is missing!
>
> If you are going to suggest that I do a 'get drives' and parse all of
> the
> folders on all of the drives until I figure it out...well, you know
> what I
> would say to that.
Thank you? ;-)
Try this:
function where_am_i
set the itemdel to "/"
return item 3 of the effective filename of this stack
end where_am_i
Works fine here...
> Thanks,
> JR
Have a nice weekend.
Regards
Klaus Major
k_major at os.surf2000.de
More information about the metacard
mailing list