[Newbies] Save project thumbnail as image

2007-09-29 Thread Juliano Bittencourt
Hi everybody, I'm interested in create a script that takes an .pr and outputs a project thumbnail as a png image. I searched the code that loads the project to etoys, but was unable to find were it generates the project thumbnails that is showed up after loading. Any hints?

[Newbies] Re: Semaphore problems

2007-09-29 Thread Jason Shoemaker
Hello, After Matthew pointed out that Transcriptshow: isn't tread-safe, I changed it to TranscriptnextPutAll: The script still wasn't give the expected output. So after playing around a bit, I discovered if I waited just a bit before flushing it would then work. It feels like a hack though.

Re: [Newbies] Semaphore problems

2007-09-29 Thread Jason Shoemaker
squeak -version gives me: Squeak3.9alpha of 4 July 2005 i686 AMD Turion(tm) 64 Mobile Technology ML-30 GNU/Linux On 9/30/07, Matthew Fulmer [EMAIL PROTECTED] wrote: On Sun, Sep 30, 2007 at 06:44:29AM +0700, Jason Shoemaker wrote: Hello, I'm trying to get this code run, but I'm not

Re: [Newbies] Semaphore problems

2007-09-29 Thread Matthew Fulmer
On Sun, Sep 30, 2007 at 06:44:29AM +0700, Jason Shoemaker wrote: Hello, I'm trying to get this code run, but I'm not getting the results I expect. I running on a 3.10beta image. semA := Semaphore new. semB := Semaphore new. [Transcript show: 'b1'; cr. semB signal.

RE: [Newbies] Re: Semaphore problems

2007-09-29 Thread Ron Teitelbaum
Hi Jason, I’m not really sure what you are trying to do but this works too. semA := Semaphore forMutualExclusion. semB := Semaphore new. [semA critical: [Transcript show: 'b1'; cr. semB signal. semA wait.]. Transcript show: 'b2'; cr. semB signal. ] fork. [semB critical: