初学者 出现了点问题 忘坛内高手帮忙啊
if testuuid() is not 1 then display dialog "程序正常退出。" buttons {"好的"} giving up after 5
continue quit
else
.
.
.
.
.
.
.
.
.
.
.
..
.
.
end if
on testuuid()
do shell script "system_profiler SPHardwareDataType | grep 'Hardware UUID:'"
set uuid to text ((offset of ":" in result) + 2) thru -1 of result
do shell script "system_profiler SPHardwareDataType | grep 'Serial Number (system):'"
set snid to text ((offset of ":" in result) + 2) thru -1 of result
set TestUUIDrtu to 0 +if uuid & snid = "1F527C9B-1666-5400-AEC9-CCA9B460FAB8C02JP0K3DH2G" then
set TestUUIDrtu to 1
end if
return TestUUIDrtu
end testuuid on
这个程序为什么把if testuuid() is not 1 then
display dialog "程序正常退出。" buttons {"好的"} giving up after 5
continue quit
else 删了就可以进去
不删就出现程序正常退出?