filename differences in Rev & MC

Ken Ray kray at sonsothunder.com
Tue Jan 28 20:42:01 EST 2003


Try this:

  line 1 of the drives

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/

----- Original Message -----
From: "sims" <sims at ezpzapps.com>
To: <use-revolution at lists.runrev.com>
Sent: Tuesday, January 28, 2003 6:14 PM
Subject: filename differences in Rev & MC


> I'm doing an applescript from Rev (it attaches an image to a new email in
> OSX Mail).
>
> I have Rev get the filename and replace the "/" with ":" so the
applescript
> line ends up like the following and all works well.
>
> set this_imagefile to ¬
> alias "Macintosh HD:Users:jimsims:Desktop:Kartolina
1.5:MyCards:ccccccv.jpg"
>
>
> BUT if I do the same using an opener stack made with MetaCard
> (Workaround so the app
> will show "Application" in the Get Info  - not Classic  <ugh>) I get
> the following:
>
> set this_imagefile to ¬
> alias "Users:jimsims:Desktop:Kartolina 1.5:MyCards:ccccccv.jpg"
>
> IOW  The filename starts with "Users" and not the name of the HD.
>
> Any suggestions on how to obtain the HD name so I can add it to
> the applescript? The applescript requires the complete path.
>
> atb
>
> sims
>
>
> --
> -----------------------------------------------------------
>     http://EZPZapps.com         info at EZPZapps.com
>        Software - Internet Development - Consulting
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list