Re: 'delete' deletes right away... trash?

2001-09-08 Thread Sjoerd Op 't Land

Ben Rubinstein wrote/ schreef:

 It'd be nice when MetaCard put the files in the trash when using the
 'delete' command, because then there still was a way to recover the
 files.
 Even if something is added to built-in functionality, please don't change
 the meaning of delete.  In the current situation we have the ability to
 either delete a file or move it to the trash.  If delete is changed, we only
 have the ability to move it to the trash.
You're right about that: for backward compatibility the current function of
delete shouldn't change. What would be the most nice way

  trash file
  -- a new command

  set deleteToTrash to true
  delete file
  -- as a global/local property

  delete file to trash
  -- as an option with delete

Votes? 

Regards,
Sjoerd


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: 'delete' deletes right away... trash?

2001-09-07 Thread Ben Rubinstein

on 6/9/01 3:08 PM, Sjoerd Op 't Land at [EMAIL PROTECTED] wrote:

 andu wrote/ schreef:
 
 It'd be nice when MetaCard put the files in the trash when using the
 'delete' command, because then there still was a way to recover the
 files.
 
 Is this a useful idea or am I the only one?
 Even if you were, it's easy to come up with a function to do just that,
 either create a backup file or move them somewhere. Having something
 like that built in is overkill, I think.
 Sure, I thought about writing my own function for this already, but because
 the script would differ for each platform(), I think it's nice if this was
 built-in. Of course if I'd really need it, I'd write a function myself,
 but... you know a little step closer to perfection of MC.

Even if something is added to built-in functionality, please don't change
the meaning of delete.  In the current situation we have the ability to
either delete a file or move it to the trash.  If delete is changed, we only
have the ability to move it to the trash.

  Ben Rubinstein   |  Email: [EMAIL PROTECTED]
  Cognitive Applications Ltd   |  Phone: +44 (0)1273-821600
  http://www.cogapp.com|  Fax  : +44 (0)1273-728866



Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: 'delete' deletes right away... trash?

2001-09-06 Thread Sjoerd Op 't Land

andu wrote/ schreef:

 It'd be nice when MetaCard put the files in the trash when using the
 'delete' command, because then there still was a way to recover the
 files.
 
 Is this a useful idea or am I the only one?
 Even if you were, it's easy to come up with a function to do just that,
 either create a backup file or move them somewhere. Having something
 like that built in is overkill, I think.
Sure, I thought about writing my own function for this already, but because
the script would differ for each platform(), I think it's nice if this was
built-in. Of course if I'd really need it, I'd write a function myself,
but... you know a little step closer to perfection of MC.

See?

Regards,
Sjoerd


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: 'delete' deletes right away... trash?

2001-09-05 Thread Sjoerd Op 't Land

Mark Luetzelschwab wrote/ schreef:

 Isn't the trash just a folder?
 
 set the directory to /Macintosh HD/Trash
 put the files
 
 lists all the contents of the trash...
Could be true, but we wanted 'delete' to put files into the trash instead of
deleting them right away, see?

 PC's are similar, though I think each drive has a recycle.
 
 -ml
Regards,
Sjoerd


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




'delete' deletes right away... trash?

2001-09-04 Thread Sjoerd Op 't Land

Hello all,

Since we don't have an improve-metacard list, I post this here ;-)

I just deleted two vocabulary files of my home-made-words-rehearsal app by
accident. Some wrong scripting of course and an absence of backups... I
know, but still:

It'd be nice when MetaCard put the files in the trash when using the
'delete' command, because then there still was a way to recover the files.

Is this a useful idea or am I the only one?

Regards,
Sjoerd


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: 'delete' deletes right away... trash?

2001-09-04 Thread Ken Ray

Sjoerd,

Perhaps an alternative syntax for this like:

   trash file filePath

or

   delete file filePath using trash

Just my $0.02.

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/

- Original Message -
From: Sjoerd Op 't Land [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 04, 2001 2:21 PM
Subject: 'delete' deletes right away... trash?


 Hello all,

 Since we don't have an improve-metacard list, I post this here ;-)

 I just deleted two vocabulary files of my home-made-words-rehearsal app by
 accident. Some wrong scripting of course and an absence of backups... I
 know, but still:

 It'd be nice when MetaCard put the files in the trash when using the
 'delete' command, because then there still was a way to recover the files.

 Is this a useful idea or am I the only one?

 Regards,
 Sjoerd


 Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
 Info: http://www.xworlds.com/metacard/mailinglist.htm
 Please send bug reports to [EMAIL PROTECTED], not this list.




Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: 'delete' deletes right away... trash?

2001-09-04 Thread Geoff Canyon

At 9:21 PM +0200 9/4/01, Sjoerd Op 't Land wrote:
It'd be nice when MetaCard put the files in the trash when using the
'delete' command, because then there still was a way to recover the files.

On a Mac, at least, with the new AppleScript support:

tell application finder to move file tFilePath to the trash

Or something similar to that, at least.

regards,

Geoff


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.