【发布时间】:2014-12-02 12:06:54
【问题描述】:
有没有办法下载/保存当前堆栈中导入的所有图像?
其他问题:我无法使用 Livecode 6.6.2 打开最新版本 7.0 创建的堆栈。有什么解决办法吗?
【问题讨论】:
-
您能否解释一下“在当前堆栈中导入的所有图像”是什么意思?
标签: livecode
有没有办法下载/保存当前堆栈中导入的所有图像?
其他问题:我无法使用 Livecode 6.6.2 打开最新版本 7.0 创建的堆栈。有什么解决办法吗?
【问题讨论】:
标签: livecode
其他问题:我无法使用 Livecode 6.6.2 打开最新版本 7.0 创建的堆栈。有什么解决办法吗?
在 LC 7 的文件菜单下选择“另存为”。在以下对话框中,您可以选择要以哪种格式保存堆栈。选择“Legacy Livecode Stack (5.5)”并保存。现在可以使用 LC 5.5 及更高版本打开堆栈。
【讨论】:
按钮中的以下处理程序会将当前卡片上的所有图像导出到桌面:
on mouseUp
repeat with x = 1 to the number of images
put the short name of img x into tImgName
put img x into url ("binfile:/Users/asayd/Desktop/" & tImgName)
end repeat
end mouseUp
当然,您可以指定任何目录作为保存位置。如果您想导出堆栈中的所有图像,只需在第一个之外添加另一个重复循环:
on mouseUp
repeat with y = 1 to the number of cards
go card y
repeat with x = 1 to the number of images
put the short name of img x into tImgName
put img x into url ("binfile:/Users/asayd/Desktop/" & tImgName)
end repeat
end repeat
end mouseUp
【讨论】: