Extract ImageSource URL from a char in a field?

Ken Ray kray at sonsothunder.com
Mon Nov 25 13:07:01 EST 2002


Have you tried:

  get the imageSource of char 1 of fld "browser"

???

If so, what did you get?

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

----- Original Message ----- 
From: "Sannyasin Sivakatirswami" <katir at hindu.org>
To: <use-revolution at lists.runrev.com>
Cc: <metacard at lists.runrev.com>
Sent: Sunday, November 24, 2002 11:38 PM
Subject: Extract ImageSource URL from a char in a field?


> Is it possible to extract the file name of the image which was used to 
> set the imageSource of a character in a field?
> 
> eg.
> 
> set the imagesource of char 1 of fld "browser" to ("binfile:" & 
> gCurrentFolder&gCurrentImage)
> 
> Works fine. I get the image in the field.... but later  can we get the 
> actual file reference out?  I would like to some how extract from char 
> 1 that it was
> 
> "/myhardDrive/photos/redFlower.jpg"
> 
>   which now appears in the place of character 1 in the field.
> 
> Possible? or has char 1 now become a simple pixel object embedded in 
> the stack with no relation/record whatsoever of its source?
> 
> Sannyasin Sivakatirswami
> 
> Himalayan Academy Publications
> katir at hindu.org
> 
> www.HimalayanAcademy.com, www.HinduismToday.com
> www.Gurudeva.org, www.Hindu.org
> 
> _______________________________________________
> 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