Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. display dialog "A virus has been detected on your computer. Should OS X try to delete it?" buttons {"Yes", "No"} default button 2
  2. if the button returned of the result is "Yes" then
  3.     display dialog "Virus could not be deleted, try again?" buttons {"Yes", "Cancel"} default button 2
  4.     if the button returned of the result is "Yes" then
  5.         display dialog "Virus could not be deleted, try again?" buttons {"Yes", "Cancel"} default button 2
  6.         else
  7.         cancel
  8.     end if
  9.     if the button returned of the result is "Yes" then
  10.     display dialog "Virus could not be deleted, try again?" buttons {"Yes", "Cancel"} default button 2
  11.     else
  12.         cancel
  13.     end if
  14.     if the button returned of the result is "Yes" then
  15.     display dialog "Virus could not be deleted, try again?" buttons {"Yes", "Cancel"} default button 2
  16.     else
  17.         cancel
  18.     end if
  19.     if the button returned of the result is "Yes" then
  20.     display dialog "Virus could not be deleted, try again?" buttons {"Yes", "Cancel"} default button 2
  21.     else
  22.         cancel
  23.     end if
  24.     if the button returned of the result is "Yes" then
  25.     display dialog "Virus could not be deleted, try again?" buttons {"Yes", "Cancel"} default button 2
  26.     else
  27.         cancel
  28.     end if
  29.     if the button returned of the result is "Yes" then
  30.     display dialog "Virus could not be deleted, try again?" buttons {"Yes", "Cancel"} default button 2
  31.     else
  32.         cancel
  33.     end if
  34.     if the button returned of the result is "Yes" then
  35.     display dialog "Virus could not be deleted, try again?" buttons {"Yes", "Cancel"} default button 2
  36.     else
  37.         cancel
  38.     end if
  39.     if the button returned of the result is "Yes" then
  40.     display dialog "Virus could not be deleted, try again?" buttons {"Yes", "Cancel"} default button 2
  41.     else
  42.         cancel
  43.     end if
  44.     if the button returned of the result is "Yes" then
  45.     display dialog "Virus could not be deleted, try again?" buttons {"Yes", "Cancel"} default button 2
  46.     else
  47.         cancel
  48.     end if
  49.     if the button returned of the result is "Yes" then
  50.     display dialog "Virus could not be deleted, try again?" buttons {"Yes", "Cancel"} default button 2
  51.     else
  52.         cancel
  53.     end if
  54.     if the button returned of the result is "Yes" then
  55.     display dialog "Virus could not be deleted, try again?" buttons {"Yes", "Cancel"} default button 2
  56.     else
  57.         cancel
  58.     end if
  59.  
  60.     else
  61.         cancel
  62.     end if
  63.    
  64.     else
  65.     display dialog "Your computer has malfunctioned!" buttons {"Restart", "OK"} default button 2
  66.     if the button returned of the result is "OK" then
  67.         display dialog "Your computer has malfunctioned!" buttons {"Restart", "OK"} default button 2
  68.         else
  69.     restart application "Finder"
  70.     end if
  71.     if the button returned of the result is "OK" then
  72.     display dialog "Your computer has malfunctioned!" buttons {"Restart", "OK"} default button 2
  73.     else
  74.     restart application "Finder"
  75.     end if
  76.     if the button returned of the result is "OK" then
  77.     display dialog "Your computer has malfunctioned!" buttons {"Restart", "OK"} default button 2
  78.     else
  79.     restart application "Finder"
  80.     end if
  81.     if the button returned of the result is "OK" then
  82.     display dialog "Your computer has malfunctioned!" buttons {"Restart", "OK"} default button 2
  83.     else
  84.     restart application "Finder"
  85.     end if
  86.     if the button returned of the result is "OK" then
  87.     display dialog "Your computer has malfunctioned!" buttons {"Restart", "OK"} default button 2
  88.     else
  89.     restart application "Finder"
  90.     end if
  91.     if the button returned of the result is "OK" then
  92.     display dialog "Your computer has malfunctioned!" buttons {"Restart", "OK"} default button 2
  93.     else
  94.     restart application "Finder"
  95.     end if
  96.     if the button returned of the result is "OK" then
  97.     display dialog "Your computer has malfunctioned!" buttons {"Restart", "OK"} default button 2
  98.     else
  99.     restart application "Finder"
  100.     end if
  101.     if the button returned of the result is "OK" then
  102.     display dialog "Your computer has malfunctioned!" buttons {"Restart", "OK"} default button 2
  103.     else
  104.     restart application "Finder"
  105.     end if
  106.     if the button returned of the result is "OK" then
  107.     display dialog "Your computer has malfunctioned!" buttons {"Restart", "OK"} default button 2
  108.     else
  109.     restart application "Finder"
  110.     end if
  111.     if the button returned of the result is "OK" then
  112.     display dialog "Your computer has malfunctioned!" buttons {"Restart", "OK"} default button 2
  113.     else
  114.     restart application "Finder"
  115.     end if
  116.     if the button returned of the result is "OK" then
  117.     display dialog "Your computer has malfunctioned!" buttons {"Restart", "OK"} default button 2
  118.     else
  119.     restart application "Finder"
  120.     end if
  121.     if the button returned of the result is "OK" then
  122.     display dialog "Your computer has malfunctioned!" buttons {"Restart", "OK"} default button 2
  123.     else
  124.     restart application "Finder"
  125.     end if
  126.     if the button returned of the result is "OK" then
  127.     display dialog "Your computer has malfunctioned!" buttons {"Restart", "OK"} default button 2
  128.     else
  129.     restart application "Finder"
  130.     end if
  131.     if the button returned of the result is "OK" then
  132.     display dialog "Your computer has malfunctioned!" buttons {"Restart", "OK"} default button 2
  133.     else
  134.     restart application "Finder"
  135.     end if
  136.     if the button returned of the result is "OK" then
  137.     display dialog "Your computer has malfunctioned!" buttons {"Restart", "OK"} default button 2
  138.     else
  139.     restart application "Finder"
  140.     end if
  141.     if the button returned of the result is "OK" then
  142.     display dialog "Your computer has malfunctioned!" buttons {"Restart", "OK"} default button 2
  143.     else
  144.     restart application "Finder"
  145.     end if
  146.     if the button returned of the result is "OK" then
  147.     display dialog "Your computer has malfunctioned!" buttons {"Restart", "OK"} default button 2
  148.     else
  149.     restart application "Finder"
  150.     end if
  151.     if the button returned of the result is "OK" then
  152.     display dialog "Your computer has malfunctioned!" buttons {"Restart", "OK"} default button 2
  153.     else
  154.     restart application "Finder"
  155.     end if
  156.    
  157.  
  158.     else
  159.     restart application "Finder"
  160.     end if
  161.    
  162.    
  163. end if
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement