Standalones Don't Remember Where To

Scott Rossi scott at tactilemedia.com
Thu Jul 10 16:44:01 EDT 2003


Recently, "Rob Cozens"  wrote:

> In testing a standalone for SDB, I've noticed that on both OS 9 & OS
> X the standalone always opens in the same place on the screen.  My
> experience with other Mac apps is that they open in the screen
> position they occupied when last closed.
> 
> ??

You need to store this information in a drive-stored preference file if you
want it preserved.  Most Mac apps do this.  Usually if you trash the
preferences file of the app, the app opens in a default window
configuration.

Alternatively, you can specify a "hard wired" location in your stack, such
as the screenLoc or other numerical position.

[stack script]

on preOpenStack
  set loc of me to the screenLoc
end preOpenStack

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com




More information about the use-livecode mailing list