First of all, I was wondering if anybody knows how to escape a Tell (without using end tell) to run another Tell. Here is the deal, I have a long script that uses:
tell application "iTunes"
code
code
cdoe
display dialog "There are no tracks selected!"
code
cdoe
end tell
Now, I don’t want the dialog to come up in iTunes, I want it to be attached to window “main”. And, since the display dialog is burried deep within the else if statements, I cannot end the iTunes tell and then restart it. Is there any way to exit the tell temporarily in order to tell window “main”? Thanks alot for any help here.