Thursday, October 5, 2023
HomeApplemac - Why is not my Platypus-built app accepting dropped folders?

mac – Why is not my Platypus-built app accepting dropped folders?


I’ve slightly Python 2.7 script I was an app utilizing Platypus numerous years in the past. After updating Platypus to the most recent model (5.4.1) I simply wished to rebuild the app so it could begin honoring the system’s Mild/Darkish/Auto Look setting (which the most recent Platypus helps). However the app that’s constructed will not settle for folders dropped on its window (whereas it all the time used to).

I’ve “Settle for dropped gadgets” checked.

In Settings I’ve each the “public.merchandise” and “public.folder” UTIs.

Studying Platypus documentation and searching round within the app, that appears to be all that’s required. However the open window completely ignores folders dropped on it. I’ve confirmed that no code is executed. Nevertheless, dropping a file on it really works, as a result of my very own Python code first checks to verify it received a folder and complains if that’s not the case. A datetime.datetime.now() stamp on the head of most important() prints when a file is dropped on the app, however not when a folder is dropped on the app.

I am most likely lacking one thing trivial and silly, however it’s as if Platypus-built purposes merely not course of folders dropped on their home windows. Any concepts?



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments