View Single Post
Old 06-14-2008, 01:52 PM  
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by natas View Post
care to explain that? I'm quite new to apple
It's a pain in the ass, and I no longer have a Mac to debug anything. It'd look similar to this:

Code:
try
 tell application "System Events" to tell process "Firefox"
   tell window 1
           set position to {1155, 104} -- force onto second screen
           set size to {1024, 768} -- resize
       end if
   end tell
   set frontmost to true
  end tell
end try
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote