• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSWorkspaceRecycleOperation and auto-renaming items moved to Trash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWorkspaceRecycleOperation and auto-renaming items moved to Trash


  • Subject: Re: NSWorkspaceRecycleOperation and auto-renaming items moved to Trash
  • From: Matt Judy <email@hidden>
  • Date: Thu, 28 Feb 2002 01:50:23 -0800

I'm with Ondra here... Using an application as a necessary part of your app is a bad idea, especially if the app has to be running, not just present. Finder hasn't been running on my box in 3 days, but that's beside the point.

At least, if you opt not to do this the correct way, acknowledge that you are doing this the wrong way, and don't encourage others to use such a hack.

If you have a bug number, I can lend some support to it.

--Matt Judy

Ondra Cada wrote:
Finlay,


Finlay Dobbie (FD) wrote at Mon, 25 Feb 2002 18:59:37 +0000:

FD> >If NSWorkspace is one of those many things OSX broke, well, fill a bug
FD> >so as
FD> >it is fixed, but please DON'T advocate using such a shortcuts instead
FD> >of the
FD> >proper abstract way :(
FD>
FD> Ah yes, obviously you should delay all active projects until OS X is
FD> perfect rather than using workarounds for bugs. :rolleyes:

Of course not. In this case one should _OPTINALLY_ fix the appropriate NSWorkspace method (by sending the applescript to Finder). Fixing the method is a *VERY* simple exercise for anyone who grokked the concept of categories. The optionality is a *VERY* simple exercise for anyone who grokked NSUserDefaults and NSBunde (for reading in the bundle containing the category).

The main application code though would be still correct.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSWorkspaceRecycleOperation and auto-renaming items moved to Trash
      • From: Kurt Revis <email@hidden>
References: 
 >Re: NSWorkspaceRecycleOperation and auto-renaming items moved to Trash (From: Finlay Dobbie <email@hidden>)
 >Re: NSWorkspaceRecycleOperation and auto-renaming items moved to Trash (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: Curl GUI wrapper using NSTask == no output?
  • Next by Date: Re: How to hide application's icon in the dock
  • Previous by thread: Re: NSWorkspaceRecycleOperation and auto-renaming items moved to Trash
  • Next by thread: Re: NSWorkspaceRecycleOperation and auto-renaming items moved to Trash
  • Index(es):
    • Date
    • Thread