[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] startup file Re: sc-users Digest, Vol 25, Issue 56



On my system the initAction is always called no matter how I open a document.

Jan */

On Sep 21, 2005, at 11:17 AM, sc-users-request@xxxxxxxxxxxxxxx wrote:

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