New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Apps and Games Discussion of applications and games available for Mac OS X.

Resize windows to specific size using Automator or Applescript?


Post Reply New Thread Subscribe

 
Thread Tools
DaGrandMastah

 
DaGrandMastah's Avatar
 
Member Since: Oct 19, 2011
Posts: 86
DaGrandMastah is on a distinguished road
Mac Specs: 21.5" 2.7GHz Quad-Core Intel Core i5 with 12GB RAM and 2TB HDD, 32 GB iPad 2, 32 GB iPhone 4

DaGrandMastah is offline
Ok, so I made the switch from the magic mouse (which I loved) to the trackpad (which I REALLY love). BetterTouchTool has made the trackpad unbelievably, amazingly useful. One thing though that I can't get right is the "return window to original size" function.

Basically, I have a 3 finger swipe up to maximize the window and 3 fingers down is supposed to bring it back to the original size. Problem is I switch through windows a lot so I think once you leave that page it forgets the original size.

To make a long story short, is there a way to set Automator or Applescript to resize windows to a specific size? I could replace the 3 finger swipe with the applescript and I'd be golden. I'm looking to do this universally, if possible....but otherwise the main programs I need it for are safari, finder and iTunes.
QUOTE Thanks
DaGrandMastah

 
DaGrandMastah's Avatar
 
Member Since: Oct 19, 2011
Posts: 86
DaGrandMastah is on a distinguished road
Mac Specs: 21.5" 2.7GHz Quad-Core Intel Core i5 with 12GB RAM and 2TB HDD, 32 GB iPad 2, 32 GB iPhone 4

DaGrandMastah is offline
As a follow up, I found an applescript that works (thanks goes to the below link). I had to mess around a little with the size but

I figured I'd post it here in case anyone is interested in using it.

iThug Applescript: Moving and Resizing Windows

Instead of using the author's suggestion though I went with one of the replies because it basically allows for only the foremost window to be resized...as opposed to a specific application.

tell application "System Events"
set frontmostApplication to name of the first process whose frontmost is true
end tell

tell application frontmostApplication
set bounds of the first window to {120, 40, 1110, 750}
end tell
QUOTE Thanks
IvanLasston

 
IvanLasston's Avatar
 
Member Since: Feb 26, 2010
Location: Rocky Mountain High, Colorado
Posts: 2,116
IvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to behold
Mac Specs: 1.8 GHz i7 MBA 11" OSX 10.8.2

IvanLasston is offline
There is also better snap tool - made by the same guy that does better touch tool - $1.99 in the app store - helps support better touch tool. It allows snapping, move/resize with modifer-keys, and actions added to the buttons/titlebar - including restore old size. (May not help if you are having trouble with BTT forgetting size - but it is in there)

If the Apple script is working - great - just trying to get some support for Better Touch Tool as it is a great program, and better snap tool is a bargin at $1.99.
http://itunes.apple.com/us/app/bette...17375580?mt=12
QUOTE Thanks
DaGrandMastah

 
DaGrandMastah's Avatar
 
Member Since: Oct 19, 2011
Posts: 86
DaGrandMastah is on a distinguished road
Mac Specs: 21.5" 2.7GHz Quad-Core Intel Core i5 with 12GB RAM and 2TB HDD, 32 GB iPad 2, 32 GB iPhone 4

DaGrandMastah is offline
Quote:
Originally Posted by IvanLasston View Post
There is also better snap tool - made by the same guy that does better touch tool - $1.99 in the app store - helps support better touch tool. It allows snapping, move/resize with modifer-keys, and actions added to the buttons/titlebar - including restore old size. (May not help if you are having trouble with BTT forgetting size - but it is in there)

If the Apple script is working - great - just trying to get some support for Better Touch Tool as it is a great program, and better snap tool is a bargin at $1.99.
Mac App Store - BetterSnapTool
Thanks. I actually bought that off the app store when I first bought my mac a couple of months back but I couldn't figure out what the difference is between Better Touch Tool and Better Snap Tool (i have both). I only run Better Touch Tool since it does all the stuff that Better Snap Tool does.

It is an amazingly awesome program though. The way I've been able to customize the trackpad has made a world of difference.
QUOTE Thanks

Post Reply New Thread Subscribe


« quicktime download | Quality issue with pdf created from Word 2011 »
Thread Tools

Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Running Windows on a Mac: A Switcher's Guide cwa107 Running Windows (or anything else) on your Mac 290 09-18-2014 02:51 PM
OS X: My experience so far Delete Switcher Hangout 48 11-08-2009 02:01 PM
new macbook pro system log normal? micho.mad OS X - Operating System 3 04-24-2009 03:13 PM
Running Windows on Mac rickmahmoud Running Windows (or anything else) on your Mac 7 02-16-2008 11:31 PM

All times are GMT -4. The time now is 04:13 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?