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

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