Imagesource of char not working as expected in Windows

Michael Kann mikekann at yahoo.com
Tue Dec 29 13:16:37 EST 2009


I think that the "binfile:" prefix is also necessary. 

--- On Tue, 12/29/09, Mike Bonner <bonnmike at gmail.com> wrote:

> From: Mike Bonner <bonnmike at gmail.com>
> Subject: Re: Imagesource of char not working as expected in Windows
> To: use-revolution at lists.runrev.com
> Date: Tuesday, December 29, 2009, 12:09 PM
> Based on your test it looks like the
> comment about "vanilla characters" is
> probably correct.  It works when using a string with
> no spaces for the
> directory.  When you setup your string you
> used   put "C:\Documents and
> Settings\zhangt\Desktop\imgFolder" into k
> 
> For the real directory you wish to use change it to this.
>   put quote & "C:\Documents and
> Settings\zhangt\Desktop\directory with
> spaces\ another with spaces" & quote into k
> 
> 
> > The following script works in a standalone created on
> Windows XP and
> > running on Windows XP.
> >
> > on mouseUp
> >   put "~" after fld "aFld"
> >   put "C:\Documents and
> Settings\zhangt\Desktop\imgFolder" into k
> >   set the defaultFolder to k
> >   set the imageSource of last char of
> fld "aFld" to "binfile:a.png"
> > end mouseUp
> >
> > Perhaps something gets undone when the script travels
> through the wormhole
> > from the Mac universe to the Windows universe. Does
> Dr. Who frequent this
> > forum?
> >
> >
> >
> >
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 


      



More information about the use-livecode mailing list