Assertion: applet's button | /r/HasProperty | continue
Facets:
Source sentences:
text: tell application "Finder" -- Set variables set the1 to text returned of ( display dialog "1st" default answer "Number here" buttons { "Continue" } default button 1 ) set the2 to text returned of ( display dialog "2nd" default answer "Number here" buttons { "Continue" } default button 1 ) try set the1 to the1 as integer set the2 to the2 as integer on error display dialog
text: tell application "Finder" -- Set variables set the1 to text returned of ( display dialog "1st" default answer "Number here" buttons { "Continue" } default button 1 ) set the2 to text returned of ( display dialog "2nd" default answer "Number here" buttons { "Continue" } default button 1 ) try set the1 to the1 as integer set the2 to the2 as integer on error display dialog
text: tell application "Finder" set passAns to "app123" set userAns to "John" if the text returned of ( display dialog "Username" default answer "" ) is userAns then display dialog "Correct" buttons { "Continue" } default button 1 if the text returned of ( display dialog "Username : John" & return & "Password" default answer "" buttons { "Continue" } default button 1 with hidden answer ) is passAns then display dialog
text: tell application "Finder" set passAns to "app123" set userAns to "John" if the text returned of ( display dialog "Username" default answer "" ) is userAns then display dialog "Correct" buttons { "Continue" } default button 1 if the text returned of ( display dialog "Username : John" & return & "Password" default answer "" buttons { "Continue" } default button 1 with hidden answer ) is passAns then display dialog