Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just got a Matrox Dualhead2Go for use with my MacBook Pro. I realise that the reason it works is that it fakes 1 big (wide) monitor. I also kind of depended on the software that came with it to trick OSX into accepting it as 2 monitors.

Turns out the support is kind of lame: it just adds shortcuts for maximizing the window to whatever screen you want. And it even gets that wrong, since my dock doesn't auto-hide, but it doesn't take it in account while resizing, causing my window do end up "behind" my dock. (I've made a AppleScript that does the resize correctly, that I'll post below).

There's two glaring issues this causes: Full screen (video, etc.) takes up both monitors, and dialogs just pops up in the middle.

Is there a way to trick OSX, or at least a way to fix these issues?

share|improve this question
Thank you for posting this, I was just as frustrated by this limitation as well. At this point, I almost want to see if I can code my own solution. – Kyle Hayes Nov 13 '12 at 18:50
Kyle, at this point you may be better of getting a USB graphic card. They do what you want by definition, and there are a lot more options available than there were 2½ years ago, when I asked the question. – Sietse Nov 20 '12 at 12:43

The following AppleScript does a "correct" resize, provided your dock is 50px wide and your resolution is 1680*1050.

set _app to GetCurrentApp()

tell application _app
    set bounds of window 1 to {50, 1, 1680, 1050}
end tell

on GetCurrentApp()
    tell application "System Events"
        set _app to item 1 of (every process whose frontmost is true)
        return name of _app
    end tell
end GetCurrentApp

Tip: Create a new service using Automator, and paste the code in the workflow (there's a "Run actionscript" workflow thingy). This will allow you to assign a shortcut key to the resize action.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .