0

help! dunno how to convert this in python.. 'contains == ???' in python

if (basket contains "fruits") then
try
	tell application "Document" to tell application "System Events" to tell application process "Document" to click button "Cancel" of sheet 1 of window "Untitled"
	tell application "Document" to quit saving no
end try

basket has for example 5 elements..


thanks

1
Contributor
1
Reply
2
Views
8 Years
Discussion Span
Last Post by bettersaid
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.