| To: | REALbasic NUG <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Safe File Saving |
| From: | Adam Ernst <adam1234 at athenet dot net> |
| Date: | Tue, 31 Jan 2006 20:28:53 -0600 |
| Delivered-to: | realbasic-nug at lists dot realsoftware dot com |
| References: | <0ED3E4E6-61C7-486A-9B53-E6E1F109CED8 at athenet dot net> <ba449adfed82d9dfc68b68d529198470 at great-white-software dot com> <A785996A-1311-48DA-9212-07755B545DA9 at athenet dot net> <788E38B8-138A-4B5B-8557-8F61DEA556FF at shaw dot ca> |
On Jan 31, 2006, at 8:16 PM, Terry Ford wrote: Move is just a MOVE, not a MOVE AND REPLACEOn Mac, it's a move and replace (I think).Nope. You're thinking of Applescript. Check the LR and you will see that it cannot exist. Wrong, as far as I can tell. The LR specifies no such limitation. Try the following with two files that YOU DON'T MIND LOSING SINCE IT DESTROYS DATA:
dim f as FolderItem = GetOpenFolderItem("????")
dim f2 as FolderItem = GetOpenFolderItem("????")
f.MoveFileTo f2
MsgBox str(f.LastErrorCode)
Works for me on Mac OS X, replacing the file and reporting no error.
Adam
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Launching a Program And Passing Parameters, Brian Rathbone |
|---|---|
| Next by Date: | Re: project idea: Sudoku Buddy, Lars Jensen |
| Previous by Thread: | Re: Safe File Saving, Terry Ford |
| Next by Thread: | Re: Safe File Saving, Tomis E. |
| Indexes: | [Date] [Thread] [Top] [All Lists] |