Date: Wed, 21 Sep 2005 01:04:57 +0200
From: Manfred Brockhaus
Subject: Re: [sc-users] startup file
On Sep 20, 2005, at 2:27 PM, James Harkins wrote:
On Sep 20, 2005, at 8:12 AM, Manfred Brockhaus wrote:
Please can you test/confirm if your code takes effect for a
double-clicked file that launches SC?
Hmm... I can confirm that initAction does apply to documents that open
sc ...
Well, I did a simple test and put in the startup file just the
statement
Document.initAction_{|doc| doc.bounds.postln};
If I open a document while SC is running the default bounds are posted
as expected. But if I launch SC with double-click on a document,
nothing is posted. It seems to me that the document is not recognized.
Can somebody confirm/disprove this behavior?
-mb