Hidden Revolution on Mac

john at debraneys.com john at debraneys.com
Wed Nov 22 14:52:45 CST 2006


Hi Bruce,

This may be one of those instances when you could use
palette stack tbOpened
instead of
open stack tbOpened
Regards
John 

>-----Original Message-----
>From: Bruce Lewis [mailto:lewisbruce at rogers.com]
>Sent: Wednesday, November 22, 2006 06:38 AM
>To: use-revolution at lists.runrev.com
>Subject: Hidden Revolution on Mac
>
>On the Macintosh the user can hide all the windows of a program to avoid
>clutter.
>
>I have a Revolution palette that I want visible at all times. This is done
>by setting the systemWindow to true. Works fine.
>
>The palette has buttons to open stacks.
>
>When Revolution is hidden, the buttons have no visible effect.
>
>I want them to show the relevant stack.
>
>The following in the button will show **all** open Revolution windows:
>
> put "tell application" && quote & "Revolution" & quote & return into
>tApplescriptMsg
> put "activate" & return after tApplescriptMsg
> put "end tell" & return after tApplescriptMsg
> do tApplescriptMsg as applescript
> 
>But I can't figure out how to show just the one window whose button is clicked.
>
>I tried:
>
> set the systemwindow of stack tbOpened to true
> set the systemwindow of stack tbOpened to false
>
>But if Revolution is not hidden, the above creates two flashes, which are
>unacceptable. If Revolution is hidden, the above sometimes creates one
>flash, but always ends without the window visible.
>
>Anyone know how to show just one window.
>
>Thanks.
>
>Bruce
>
>-- 
>
>This e-mail and any enclosures contain information from the law firm Lewis
>& Collyer for the sole use of the intended recipient. Its contents may
>also be protected by privilege, and all rights to privilege are expressly
>claimed and not waived. Any review, distribution or use by others is
>strictly prohibited. If you have received this message in error, please
>notify the sender and delete all copies. Thank you.
>
>Bruce Lewis
>Lewis & Collyer
>160 John Street, Suite 401
>Toronto, Ontario
>Canada M5V 2E5
>(416) 598-4357
>FAX (416) 598-1067
>bruce at lewiscoll.com
>nancy at lewiscoll.com
>sandy at lewiscoll.com
>joan at lewiscoll.com
>eva at lewiscoll.com
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list