Removing a file, see one of my xDevMag articles where I write up how to delete files in the macOS, with the option to move them to the trash, so the user can recover them. I forget which edition.[/quote]
So I bought this edition only to find out it does not work. Those declares do sent the file to the trash but the ‘Put Back’ feature does not work. Btw it is the same with MBS.
Lost money on that now.
[quote=410947:@Christoph De Vocht]So I bought this edition only to find out it does not work. Those declares do sent the file to the trash but the ‘Put Back’ feature does not work. Btw it is the same with MBS.
Lost money on that now. ;-)[/quote]
Huh! It works here; on 10.11.6, I guess it got broke at some point Sorry about that. As I told you to buy that copy, I can reimburse you if you’d like.
Add it to my list of shit to look at; I’ll have to double check it on Mojave, incase that function got replaced or it’s simply broken and needs me to file yet another bug report with Apple.
Selling software is how I feed my family, anyone who makes that process or development of software more frustrating IS going to piss me off. I am a glutton for punishment as I always embark on complicated projects, that take me a long time. I also like to try to build products to the best of my abilities, and that fruit company spank me regularly with their complications.
I have to try to not let it piss me off, I have an escape plan and I am proceeding with it. It’s just going to take me a while to get myself completely untangled from Apple’s APIs.
I just tested it on 10.14.1 and it moves the file to the trash, but “Put Back” is not enabled. I’ve filed yet another bug report with Apple. If anyone else has trouble with this code I wrote for that article, please let me know.
This one actually makes some sense (although I am sorry, it looks like you have to use broken API from now on, make sure you send Tim Cook a nice thank you letter). In the App Store, while you can technically create a Sandboxed application that can control Finder, System Events and Terminal, it’s instant denial. Now they’ve just taken that secondary rule and made it so that no application can control Finder, and I’m guessing probably System Events, Terminal and anything else that they deem you shouldn’t be controlling.