Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old Dec 25, 2012, 03:21 PM   #1
TheMTtakeover
macrumors 6502
 
Join Date: Aug 2011
Use AppleScript to create a PPI Calculator?

I was wondering if someone has seen or has code or know's how to go about coding something like this. I essentially want the apple script to run numbers through the following equations.



I want it to come up and ask for the width resolution in pixels, the height resolution in pixels, and diagonal size in inches and then take those numbers and to calculate the diagonal resolution in pixel and then from there calculate the PPI.

Any help at all is greatly appreciated!
__________________
Mac Mini 2011; Dell XPS L502x
Nexus 7; iPhone 5
iPod Classic
TheMTtakeover is offline   0 Reply With Quote

 
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump


All times are GMT -5. The time now is 04:47 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC