0

We have an utility to process images, built as a standard Applescript droplet (using the code floating around with distinction between folders and individual files).

On one installation (MacBook Pro, macOS 11.5), dragging on a single folder works fine, but when dragging on a selection of 4 files, only 2 get processed. An alert at the beginning of the code confirms that only two files are "taken". Various tests by exclusion show that we have a set of 2 specific files which make the other 2 not being processed. If in the group we drag onto the droplet, one of those files is included, only that one gets taken.

On other installations (iMac, macOS 11.5 or virtual macOS 10.14), this effect does not show up with the same files.

Has anyone heard of such an effect? What can be the cause? What can be done to avoid it?

Any hint is highly appreciated.

Thanks a lot in advance.

4

1 回答 1

0

正如评论中提到的,将文件送入液滴时似乎是一个时间问题,由隔离标志引起。

这个关键字导致https://superuser.com/questions/1336044/how-to-clear-remove-macos-extended-attributes-recursively-from-a-directory关于如何显示和删除该标志。删除它后,所有文件都正确处理。

我现在要做的是构建一个小实用程序,它允许剥离该标志,因为在喂食液滴时会发生问题。

于 2021-09-02T18:18:12.857 回答