• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Hiding OE's window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiding OE's window


  • Subject: Re: Hiding OE's window
  • From: Paul Berkowitz <email@hidden>
  • Date: Fri, 01 Mar 2002 09:22:41 -0800

On 3/1/02 7:14 AM, "Gnarlodious" <email@hidden> wrote:

> For some reason I can only get this to work one way, it will hide the window
> but not show it. Is this why the dictionary says "Read Only"?
>
> property oew : 0
> tell application "Outlook Express"
> activate
> if oew = 0 then
> set oew to 1
> set visible of window 1 to true
> else
> set oew to 0
> set visible of window 1 to false
> end if
> end tell
>
'window 1' is the frontmost visible window. Once you've made the current
front invisible, it's not window 1 any longer - either another window is
window 1, and it's already visible anyway - or just possibly there's no
window at all. (Except there may be some special window off-screen
somewhere, I forget.)

r/o is supposed to mean "read-only", can't set, but - as you see - you can
in fact set visible of window to false, just not to true.

If you're trying to do this with the Progress Window, forget it. You can
check out 'Progress Window Connect' at

AppleScript Central
<http://www.applescriptcentral.com/>

To make the Progress Window, or any of the other special windows, appear and
disappear, you can use Sigma's Additions to emulate key-pressing for the key
equivalents of the Window menu items, but not from a compiled script run by
OE, since it's designed not to let you use menu item items or key
equivalents -emulated included - while its running a script. (A good thing
too, or there would be lots of messes.) But you can do so from an applet
running in the background, which can be triggered by a regular compiled
script running from OE. That's what Progress Window Connect does.

Entourage has special 'progress window' and 'main window' properties, and in
Entourage X 'open progress window' actually works. (In 2001, there's a bug
requiring the same workaround as in OE. It just makes a sort of useless,
non-functioning Progress Window appear.)

--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Hiding OE's window
      • From: Andy Wylie <email@hidden>
    • Re: Hiding OE's window
      • From: Gnarlodious <email@hidden>
References: 
 >Hiding OE's window (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: applescript and spam with outlook express
  • Next by Date: Re: URL Access Scripting?
  • Previous by thread: Hiding OE's window
  • Next by thread: Re: Hiding OE's window
  • Index(es):
    • Date
    • Thread