• 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: Send Excel to back
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Send Excel to back


  • Subject: Re: Send Excel to back
  • From: Paul Berkowitz <email@hidden>
  • Date: Tue, 04 Sep 2001 22:47:39 -0700

On 9/4/01 10:27 PM, "Marc K. Myers" <email@hidden> wrote:

>> From: "Rebecca Felts" <email@hidden>
>> To: "Applescript-Users@Lists. Apple. Com"
>> <email@hidden>
>> Subject: Send Excel to back
>> Date: Tue, 4 Sep 2001 15:05:08 -0500
>>
>> This should be easy, but I can't get it. I want a script command that will
>> send excel to back- like a "deactivate".
>
> If you want Excel not to be your active program, tell some other program
> to activate:
>
> tell application "Finder" to activate
>
> If you want to hide Excel:
>
> tell application "Finder" to set visible of process "Excel" to false
>
> Is that what you're looking for?

I think that you could do this to get it right to the back, but not
invisible:

-------untested----------

tell app "Finder"
set procsList to every process whose visible is true -- forget
background apps
try
set frontApp to the first process whose frontmost is true
repeat with theProcess in procsList
if theProcess is not frontApp then
set frontmost of theProcess to true
end if
end repeat
on error -- Finder is in the front
set frontmost of (item 1 of procsList) to true -- why not?
end try
end tell


Each one will displace the original front app by one, until it's at the back
- I think.
--
Paul Berkowitz


References: 
 >Re: Send Excel to back (From: "Marc K. Myers" <email@hidden>)

  • Prev by Date: Re: Send Excel to back
  • Next by Date: Renaming files/folders
  • Previous by thread: Re: Send Excel to back
  • Next by thread: Renaming files/folders
  • Index(es):
    • Date
    • Thread