365SportTV window position


applehelpwriter.com

applehelpwriter.com

The 365SportTV app for Mac leaves a great deal to be desired. As anyone who’s used it has no doubt discovered, basic functionality is missing. Whoever knocked up the Mac version of the app for them has clearly never used Xcode before…

Of the many frustrations with this app, the only one I’ve been able to solve without completely re-writing it (365SportTV people: I’d be happy to give you a kind price…;) ) is moving the position of the window. That’s good because it is particularly annoying if you’re watching it on a large external monitor and the image is stuck where it doesn’t make best use of your screen.

Of the many frustrations with this app, the only one I’ve been able to solve without completely re-writing it (365SportTV people: I’d be happy to give you a kind price…;) ) is moving the position of the window. That’s good because it is particularly annoying if you’re watching it on a large external monitor and the image is stuck where it doesn’t make best use of your screen.

To move the window, launch the AppleScript Editor (just type Apples in Spotlight or Launchpad) and paste in the following code:

tell application "System Events"
tell application process "365SportTV"
activate
set position of front window to {100, 50}
end tell
end tell

Fire up 365SportTV app, get your match going and then switch back to AS and click the green ‘Run’ button.

You can play with those two numbers near the end to suit your own screen. The first number is the number of pixels from the left, the second number is the number of pixels from the top.

Hope this helps. 🙂

Related Posts:
getting to grips with AppleScript
FastTasks – free utility from Applehelpwriter

About philastokes

Independent Software Developer, Technical Writer and Researcher at SentinelOne. Explaining the unexplainable with images, video and text. Scripting anything imaginable in AppleScript, Bash, Python and Swift.

Posted on August 25, 2013, in AppleScript and tagged , , , , , , . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: