AppleScript call function in IF statement
Your If statement isn't checking out.
Change "is equal to" to "contains", it should catch it.
if selectedoption contains "demo one" then
notification()
end if
Your If statement isn't checking out.
Change "is equal to" to "contains", it should catch it.
if selectedoption contains "demo one" then
notification()
end if