[Etoys] Feature future

karl karl.ramberg at comhem.se
Sun Feb 24 15:56:39 EST 2008


Bert Freudenberg wrote:
> On Feb 23, 2008, at 8:29 , karl wrote:
>
>   
>> karl wrote:
>>     
>>> I have not grokked Journal yet, so this could take some time :-)
>>>       
>> Journal/ DBus stuff is really evasive. Do anyone have a example of  
>> how to open a image or sound from Journal ?
>>     
>
>
> | objs obj file form |
> objs := SugarLauncher current findJournalEntries: ({'mime_type'-># 
> ('image/jpeg' 'image/png')} as: Dictionary).
> obj := objs first.
> file := SugarLauncher current getFile: (obj at: 'uid').
> form := ImageReadWriter formFromStream: file.
> file close.
> form asMorph
> 	name: (obj at: 'title');
> 	openInHand
>
> - Bert -
Thanks.I see now I was really on the wrong track Again, thanks :-)

Karl


More information about the Etoys mailing list