Re: BBedit bring document to front
Re: BBedit bring document to front
- Subject: Re: BBedit bring document to front
- From: Andrew Oliver <email@hidden>
- Date: Thu, 18 Aug 2005 10:24:27 -0700
On 8/18/05 9:29 AM, "Tobias Vollprecht" <email@hidden> wrote:
> hello all
>
> i have some documents opened in BBedit and would like to bring
> "document doc" to the front without copying it. i tried "move document
> doc to front"/"move document doc to beginning" but this makes a copy of
> the original.
>
> any suggestions? thanks a lot
In BBedit, documents can't be manipulated in this way since one 'text
window' can contain multiple documents, so you need to be looking at
windows.
Windows have an index value which determines their front-to-back ordering.
The following script will toggle the front two windows, bringing the second
one to the front:
tell application "BBEdit"
set index of window 2 to 1
end tell
Andrew
:)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden