3 ms·
Can you explain the JavaScript api more? Are you talking about a webView or something else. Edit: oh I see what you are talking about. The osascript aspect was
by whiddershins 3y ago
Can you explain the JavaScript api more? Are you talking about a webView or something else.
Edit: oh I see what you are talking about. The osascript aspect was what I wasn’t getting.
- kccqzy 3y agoAs an example, I had a utility (since no longer necessary) that removes files from Trash after a while: https://gist.github.com/kccqzy/8dbead563afdcd6a491a https://gist.github.com/kccqzy/8dbead563afdcd6a491a I couldn't write it as a shell script because I wanted to get the "date added" rather than the "date modified" or "date created" but this is available in Cocoa APIs.