Imagesource of char not working as expected in Windows

Michael Kann mikekann at
Tue Dec 29 10:11:58 EST 2009

David, I'm on XP Pro so I can check it out for you.

Is it working in the stack on Windows before you made the standalone. Or did you create the standalone from a stack on the Mac? 

In other words, is the fact that it is a standalone important?

First, you might be tempting fate to use anything but vanilla flavored characters in a path name. 

Instead of 

C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-36

I'd try 


Another thing to consider is the defaultFolder.

You might try placing the images in the same folder as the standalone.


--- On Tue, 12/29/09, David Glasgow <david at> wrote:

> From: David Glasgow <david at>
> Subject: Re: Imagesource of char not working as expected in Windows
> To: use-revolution at
> Date: Tuesday, December 29, 2009, 6:18 AM
> I didn't get any on-list responses to this, but got  a
> good steer from Richmond Mathewson (thanks!) off-list.
> In brief, my standalone (RR 4.0) takes screenshots and
> saves them to disk.  They are also displayed in a field
> by appending a tilde to the field each time a snapshot is
> taken, and then setting the imagesource of the character to
> the url to which the image was saved.
> This works under OS X, but not Windows.  I have
> wrestled with this and found out a little more, but still
> can't get the darned thing to work.  I moved the save
> location to docs, just in case there was something weird
> about the temporary items location.  I have tested on
> Vista and Win 7 with the same result.
> The snapshots are saved to a location such as
> C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-36
> AM]/graphics/image1.png
> C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-39
> AM]/graphics/image2.png
> A field called "snapshots" holds the list of URLs and is
> used like this:
> set the imageSource of char 1 of last line of field
> "resultsG" to line 1 of field "snapshots"
> In each case this script runs, the tilde disappears but is
> not replaced by anything.  The imagesource of each
> tilde is correctly reported if requested.  The fixed
> line height of the results field is set to false, and it has
> scrollbars.  However many URLs are referenced, but do
> not appear, the scrollbar never becomes active, so it seems
> that no 'blank' image is being displayed.  Setting the
> imagesource of any tilde to empty causes it to reappear, so
> something is happening to hide/show the character.
> I also use the URLs stored in field "snapshots" to print
> the graphics using this script to populate a printer stack
> with the images:
>  put 1 into k
>    repeat for each line j in field
> "snapshots"
>       set the filename of image "pikcha" of
> card k of stack "grcprinter" to j
>       put k+1 into k
>    end repeat
> This works fine, so unless there is some Windows Ju-Ju I
> don't know about (entirely possible) it really does look as
> though something is broken in imagesource under
> Windows.  
> Can anyone:
> 1/  Suggest where I am going wrong (if I am)
> 2/  Confirm that they do or do not have imagesource
> working under Windows
> 3/  Suggest a workaround
> This is a critical feature in an almost finished project ,
> so I would really appreciate some help
> David Glasgow
> _______________________________________________
> use-revolution mailing list
> use-revolution at
> Please visit this url to subscribe, unsubscribe and manage
> your subscription preferences:


More information about the Use-livecode mailing list