以下脚本有效
tell application "System Events"
set XXX to (list disks)
if "Samsung_T1" is in XXX then
tell application "SuperCard"
beep
--send mouseUp to cd button "Samsung_T1"
end tell
end if
end tell
但是下一个没有
tell application "System Events"
set XXX to (list disks)
if "Samsung_T1" is in XXX then
tell application "SuperCard"
beep
send mouseUp to cd button "Samsung_T1"
end tell
end if
end tell
为什么?
我尝试使用全局变量更改它,但没有成功。
得到Mark的答复: 要在网络上查看此讨论,请访问 https://groups.google.com/d/msgid/supercard-talk/5aa15357-eeea-49df-8dbc-1ea19e65589fn%40googlegroups.com.