NSRunningApplication resizing?

Discussion in 'Mac Programming' started by Avicenna, Dec 28, 2010.

  1. Avicenna macrumors member

    Joined:
    Jul 16, 2009
    #1
    Hey,
    I am new to programming. I have an pointer to NSRunningApplication. Is there a way I can resize the application window? Let's say I want to resize it, how can I do that? I checked the documentation and there's nothing there to do this. I can terminate it, force terminate it, so there's got to be a way to resize it...
    thanks
     
  2. Avicenna thread starter macrumors member

    Joined:
    Jul 16, 2009
    #2
    Anyone? Is this even possible? Please I really need to know this.
     
  3. lee1210 macrumors 68040

    lee1210

    Joined:
    Jan 10, 2005
    Location:
    Dallas, TX
    #3
    I believe that System Events in AppleScript should let you do this. If you need it in a cocoa app you can use the AppleScript bridge. A wee bit o' googling from there should get you going.

    -Lee
     
  4. Avicenna thread starter macrumors member

    Joined:
    Jul 16, 2009

Share This Page