[Cuis] [4.1] How do I set a jpg as desktop background?

Juan Vuletich juan at jvuletich.org
Sat Jan 5 20:34:48 CST 2013


H. Hirzel wrote:
> P.S. I mean the equivalent of the Squeak code
>
> Form openAsBackground: (FileDirectory default /
> 'resources/wallpaper.png') pathName.
>
> A candidate as well for the useful expressions window.
>
>   

Something like

    | filename |
    filename _ '/Volumes/Macintosh HD/Users/juanvuletich/IMG_6093.JPG'.
    self runningWorld backgroundImageData: (FileStream 
readOnlyFileNamed: filename) binary contentsOfEntireFile.

Cheers,
Juan Vuletich

> On 1/5/13, H. Hirzel <hannes.hirzel at gmail.com> wrote:
>   
>> Hello
>>
>> If I search in the 'Message Names' browser for
>>     background
>>
>> I find quite a number of interesting methods but non of them seems to
>> set the background of the desktop.
>>
>> How do I do that?
>>
>> Kind regards
>> Hannes
>>
>>     
>
> _______________________________________________
> Cuis mailing list
> Cuis at jvuletich.org
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>
>
>   





More information about the Cuis mailing list