Or if that' doesn't work, try:

tell application "X11" to activate

On Oct 28, 10:11 pm, "Jon Stovell (a.k.a. Sesquipedalian)"
<[EMAIL PROTECTED]> wrote:
> In that case, my only idea is to try the following Applescript and, if
> it works, to set up a trigger for it instead of the MatLab app itself.
>
> tell application "MatLab" to activate
>
> On Oct 28, 9:55 am, Eric <[EMAIL PROTECTED]> wrote:
>
> > I agree with the suspicion that it's something related to X11, but
> > Matlab is better integrated into MacOS than baseline X11 apps.  For
> > example, Matlab shows up on the dock and you can tab to it using Cmd-
> > Tab, but you can't do either of these things with xclock or xemacs.
> > But when you use Cmd-Tab to switch to Matlab, it still doesn't
> > activate the window (same problem as within QuickSilver)
>
> > Ctrl-F6 (or Ctrl-F4) do nothing when Matlab is active, but its window
> > isn't.  Ctrl-F2 (to highlight the menu bar) does highlight the menu,
> > but there's nothing there, so that doesn't help.
>
> > Any other thoughts?  Anyone else trying to interface Quicksilver and
> > X11 apps?
>
> > Cheers,
> > Eric
>
> > On Oct 27, 3:00 pm, "Jon Stovell (a.k.a. Sesquipedalian)"
>
> > <[EMAIL PROTECTED]> wrote:
> > > Have you tried this with any other X11 apps? My suspicion is that
> > > because X11 is actually a completely different windowing environment
> > > from Aqua (the native OS X environment), X11 apps won't respond the
> > > way native apps do. Also, what happens when you use ⌘⇥ (Cmd-Tab) to
> > > switch applications?
>
> > > On Oct 27, 10:39 am, Eric <[EMAIL PROTECTED]> wrote:
>
> > > > Hi all -
> > > >   I use QuickSilver triggers to switch between applications I use
> > > > frequently, just by setting up triggers for "Application -> Open".
> > > > The only one that's giving me a problem is Matlab, which requires X11
> > > > to run and isn't terribly well integrated into MacOS.  If I run
> > > > "Matlab -> Open" or "Matlab -> Activate" from Quicksilver, it
> > > > activates the Matlab application, but doesn't actually set the focus
> > > > to the main Matlab command window, so I still have to click in the
> > > > window (which is what I'm trying to avoid).  Any thoughts on how to
> > > > actually activate a specific window from Quicksilver?
>
> > > > Cheers,
> > > > Eric
>
> > > > Details:
> > > > MacOS X 10.5.5
> > > > QS B54 (3815)
> > > > (and if it matters) Matlab R2008a

Reply via email to