Skip to content

Instantly share code, notes, and snippets.

View GeorgeWS's full-sized avatar

George Woodliff-Stanley GeorgeWS

View GitHub Profile
@GeorgeWS
GeorgeWS / gist:1258039
Created October 2, 2011 22:12
How I Got My iPad 2
-- USER INPUT
set iPadWifiOr3G to button returned of (display dialog "Choose whether you're looking for a WiFi or a Wifi + 3G iPad." buttons {"WiFi", "WiFi+3G"})
set iPadModel to iPadWifiOr3G
if iPadWifiOr3G contains "WiFi+3G" then
set iPadDataPlan to button returned of (display dialog "Select the carrier you'd like to use." buttons {"AT&T", "Verizon"})
set iPadModel to iPadModel & " " & iPadDataPlan
end if
set iPadColor to button returned of (display dialog "Select the color of iPad you're looking for." buttons {"Black", "White"})
set iPadModel to iPadModel & " " & iPadColor
set iPadStorage to button returned of (display dialog "Select the size of iPad you're looking for." buttons {"16GB", "32GB", "64GB"})