Skip to main content
Known Participant
January 14, 2023
解決済み

scripting: about remove()

  • January 14, 2023
  • 返信数 1.
  • 940 ビュー

Hello, when I delete a file with remove(), it doesn't go into the recycle bin, but is completely deleted and the file seems to be unrecoverable.

Is there any way to work around this?

thank you.

このトピックへの返信は締め切られました。
解決に役立った回答 Mukaida

ファイルパスを書き換える方法の様ですが、
下記リンクが参考にならないでしょうか。
Solved: Re: Delete Active Document - Recycle Bin - Adobe Support Community - 10824098 

返信数 1

Community Expert
January 14, 2023

Adobe JavaScriptのリファレンスによれば、remove()を使用してファイルを削除するとゴミ箱に入らないと記されています。

shusaku_tr作成者
Known Participant
January 14, 2023

ありがとうございます! 

remove()以外でファイルを削除する方法はないでしょうか?

MukaidaCommunity Expert解決!
Community Expert
January 14, 2023

ファイルパスを書き換える方法の様ですが、
下記リンクが参考にならないでしょうか。
Solved: Re: Delete Active Document - Recycle Bin - Adobe Support Community - 10824098