This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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"}) |