Re: revCopyFile problems on Mac OS X.6.4

2010-09-08 Thread biodan
uot;, tInfile, tOutDir ) >put shell( it ) > # A variation of it, which is how I code : > on mouseUp > get shell( format( "cp '%s' '%s'", \ > $HOME & "/Desktop/test.txt" , \ > $HOME & "/Desktop/outDir" ) )

Re: revCopyFile problems on Mac OS X.6.4

2010-09-06 Thread Thierry
Le 6 sept. 2010 à 00:18, biodan a écrit : > ... shell from a Terminal session does not work Hi. Yes it works ! > put $HOME &"/Desktop/test.txt" into tInfile > put $HOME &"/Desktop/outDir" into tOutDir > put "cp tInfile tOutDir" into tCmd > put shell(tCmd) Just commenting your last line and w

Re: revCopyFile problems on Mac OS X.6.4

2010-09-06 Thread biodan
I can confirm that the absolute file path does work using the Rev 4.0 (build 950) IDE in OSX but revCopyFile does not work from the command-line. Also, in OS X, calling the shell from a Terminal session does not work either: e.g. put $HOME &"/Desktop/test.txt" into tInfile put $H

Re: revCopyFile problems on Mac OS X.6.4

2010-09-01 Thread Malte Pfaff-Brill
Hi Klaus! No, BUT it works with an ABSOLUTE filepath... adding a note to the docs. *sigh* ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://

Re: revCopyFile problems on Mac OS X.6.4

2010-09-01 Thread Klaus on-rev
Wild guess: Does it work if you add a SLASH to the targetfolder -> revCopyFile tNewFilename,(pDestinationPath&"/bilder/") > Cheers, > > malte Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-

Re: revCopyFile problems on Mac OS X.6.4

2010-09-01 Thread Malte Pfaff-Brill
Slight correction. This appears to work: put URL ("binfile:"&tNewFilename) into URL ("binfile:"&pDestinationPath&"/bilder/"&tNewFileName) However, this is quite suboptimal, as it reads the file into memory. Cheers, malte ___ use-revolution mailing

revCopyFile problems on Mac OS X.6.4

2010-09-01 Thread Malte Pfaff-Brill
Hi all, I am a little stumped on this one. :-( trying to do: revCopyFile tNewFilename,(pDestinationPath&"/bilder") put the result tNewFilename = -1_ds_7_2.jpg (pDestinationPath&"/bilder" )= /Users/maltebrill2/Documents/archaeodox/-1/-1_datensicheru

RE: Problem with revCopyFile

2010-06-14 Thread John Dixon
Thankyou for your reply... Yes, the global variable gdefaultfolder has a value , it is set when the stack first opens in the preOpenStack handler using :- --- global gdefaultFolder on preOpenstack se

Re: Problem with revCopyFile

2010-06-14 Thread Kay C Lan
2010 at 3:14 PM, John Dixon wrote: > > Hi > > Could someone tell me why revCopyFile and revCopyFolder will not work in > the > script below when run as a standalone under Mac OS X everything is fine > in the IDE.

RE: Problem with revCopyFile

2010-06-14 Thread JosepM
http://runtime-revolution.278305.n4.nabble.com/Problem-with-revCopyFile-tp2253990p2254158.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subs

RE: Problem with revCopyFile

2010-06-14 Thread John Dixon
Josep... Thanks for your quick reply... my knowledge of unix is positively dangerous, so I have to ask the question 'Will your shell copy command solution work for a file as well as a folder ?' > I get the same problem and I solved using a shell copy command. > > put "your folder path A" into

Re: Problem with revCopyFile

2010-06-14 Thread JosepM
Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problem-with-revCopyFile-tp2253990p2254104.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@li

Problem with revCopyFile

2010-06-14 Thread John Dixon
Hi Could someone tell me why revCopyFile and revCopyFolder will not work in the script below when run as a standalone under Mac OS X everything is fine in the IDE... The folders are created but the file and folder that I wish to copy are not copied

Re: revCopyFile/revCopyFolder weirdness!

2008-09-15 Thread Christian Langers
amp; q(pTo)) into tcomm get shell(tcomm) else --> Windows <-- set the hideconsolewindows to true revCopyfile pFrom, pTo end if end copyFileToDest I think that the function "revCopyfile" uses Applescript and there are some issues... Hope this helped, Christ

Re: revCopyFile and revCopyFolder to the "desktop"

2007-01-18 Thread Jim Ault
A couple specific comments: > did not work > put specialFolderPath("DeskTop") into GVDeskTop > set the defaultFolder to GVDeskTop > revCopyFile "/MyFolder/MyFile.rev","MyFile.rev" In the last line of this ..it does not look like you

revCopyFile and revCopyFolder to the "desktop"

2007-01-18 Thread Francis Nugent Dixon
Hi from Paris, I am confused about the commands "revCopyFile" and "revCopyFolder", on both my Mac and on my PC, especially in the context of "desktop". I want to create files, folders and shortcuts on the Mac and PC desktops. I am using Revolution DreamCard 2

Re: revCopyFile chokes on 1,500 file loop

2006-08-04 Thread Sivakatirswami
h clean file names to write to RevCopyFile ran thru a copy of 1,758 files in no time at all. Solved. Another example of "It's Not a Rev Problem at all...it's your own dumb script!" Sivakatirswami On Aug 4, 2006, at 1:57 AM, Sivakatirswami wrote: Goal: copy about

Re: revCopyFile chokes on 1,500 file loop

2006-08-04 Thread Mark Schonewille
Hi Sivakatirswami, Revolution issues the revCopyFile command but doesn't wait for the result. You might try getting the result after executing the command, although I don't know whether this really helps. I suspect that the revCopyFile command uses AppleScript on Mac OS X. If an

Re: revCopyFile chokes on 1,500 file loop

2006-08-04 Thread Mark Talluto
On Aug 4, 2006, at 1:57 AM, Sivakatirswami wrote: Goal: copy about 1,500 files from one set of directories to another directory with a new name on the server, not on the client machine, which is simply initiating, controlling the process remotely. Hi Sivakatirswami, I had this same pr

revCopyFile chokes on 1,500 file loop

2006-08-04 Thread Sivakatirswami
r each line y in fld "soundFiles" # each record has a fld w/list of .wav, .ra, .mp3 files to step through RevCopyFile (oldpath &"/"& oldFileName), (newpath & "/" & new file name # an explicit instance if watching variable watcher would l

Re: Problems with revcopyfile

2006-04-18 Thread David Burgun
put empty into item -1 of myFolderPathName if there is not a folder myFolderPathName then create folder myFolderPathName end if revCopyFile "/Content/rubyonrails.pdf", myFolderPathName rename file myFilePathName to myFileName

Re: Problems with revcopyfile

2006-04-18 Thread David Burgun
ancels, exit without saving if it is empty then exit mouseUp -- put it into filePath put it into filePath -- Copy file revCopyFile "/Content/rubyonrails.pdf",filePath end mouseUp no file is copied to the target folder however... anybody have an example of a stack that co

Does revCopyFile delete existing files of the same name?

2006-04-18 Thread Howard Bornstein
I'm using revCopyFile to backup some files but if the file already exists in the destination folder, revCopyFile (and revCopyFolder, it turns out) returns an execution error. Has anyone been able to make this work without using something else like a shell script? Bug 2298 says: - Addit

Re: revCopyFile problems

2006-04-03 Thread Sarah Reichelt
Thanks very much Scott, and thanks to Christian. This worked perfectly and I think it's probably faster than using AppleScript the way revCopyFile does. Could this solution be of use in solving the similar "Emergency" that someone was asking about yesterday? Regards, Sarah O

Re: revCopyFile problems

2006-04-02 Thread Scott Morrow
"e&tSource"e&"e&tDestination"e) into tCommand get shell(tCommand) Cheers from little Luxembourg, Christian --- On Apr 2, 2006, at 6:51 PM, Sarah Reichelt wrote: Hi All, I've spent the last hour struggling

revCopyFile problems

2006-04-02 Thread Sarah Reichelt
Hi All, I've spent the last hour struggling with the revCopyFile command which works SOMETIMES! I am trying to copy an application bundle to a newly created folder. The folder gets made OK, but 3 out of 4 times, it will be empty and the result of the revCopyFole command is "execution er

Re: Problems with revcopyfile

2006-03-30 Thread J. Landman Gay
it without saving if it is empty then exit mouseUp -- put it into filePath put it into filePath -- Copy file revCopyFile "/Content/rubyonrails.pdf",filePath end mouseUp If you want to put content into a new file with a pre-determined file name and path, then use the "u

Re: Problems with revcopyfile

2006-03-30 Thread Jim Ault
> revCopyFile "/Content/rubyonrails.pdf",filePath The key is the Rev defaultfolder definition. That is the starting point for the relative path you have. On the Mac, the full file path starts above "/Content" This would work on the Mac if your (Rev defaultfolder) con

Re: Problems with revcopyfile

2006-03-30 Thread Jan Schenkel
Hi Jonathan, I think that you get away with it in Windows, because the 'Start in' path coincides with the start of the relative path to your source file. And you should try and provide the full path, indeed. Jan Schenkel. --- Jonathan Kotthoff <[EMAIL PROTECTED]> wrote: > So what were really say

Re: Problems with revcopyfile

2006-03-30 Thread Jonathan Kotthoff
is the code: on mouseUp -- bring up a standard system "save as" file selector ask file "Save file as:" -- if the user cancels, exit without saving if it is empty then exit mouseUp -- put it into filePath put it into filePath -- Copy file revCopyFile "/Co

Re: Problems with revcopyfile

2006-03-30 Thread Jonathan Kotthoff
ncels, exit without saving if it is empty then exit mouseUp -- put it into filePath put it into filePath -- Copy file revCopyFile "/Content/rubyonrails.pdf",filePath end mouseUp no file is copied to the target folder however... anybody have an example of a stack that copies

Re: Problems with revcopyfile

2006-03-30 Thread Jonathan Kotthoff
ing if it is empty then exit mouseUp -- put it into filePath put it into filePath -- Copy file revCopyFile "/Content/rubyonrails.pdf",filePath end mouseUp no file is copied to the target folder however... anybody have an example of a stack that copies or an explanation

Re: Problems with revcopyfile

2006-03-30 Thread Jan Schenkel
t; > on mouseUp >-- bring up a standard system "save as" file > selector > >ask file "Save file as:" > -- if the user cancels, exit without saving >if it is empty then exit mouseUp >-- put it into filePath >put it into filePath >

Problems with revcopyfile

2006-03-30 Thread Jonathan Kotthoff
"Save file as:" -- if the user cancels, exit without saving if it is empty then exit mouseUp -- put it into filePath put it into filePath -- Copy file revCopyFile "/Content/rubyonrails.pdf",filePath end mouseUp no file is copied to the target folder however... anybody h

Re: revCopyFile progress bar

2005-11-16 Thread Sarah Reichelt
> Is it possible to have a progress bar while a file is being copied to > a server with the revCopyFile command. The files are fairly large and > take a minute or so to copy. The computer is actually copying the > file but to the user it appears as if the computer has locked up. >

Re: revCopyFile progress bar

2005-11-15 Thread Vikram Singh
Yes Sir, i know that ;) The problem as I got it is that the stack freezes till the end of the activity, since it is single threaded appl. And the GIF freezes at the current frame, i remember having done something like this 2 yrs back. If it doesnt, then great! I dont know though whet

Re: revCopyFile progress bar

2005-11-15 Thread Andre Garzia
On Nov 15, 2005, at 5:15 PM, Vikram Singh wrote: Maybe you can embed a small browser (without borders etc... I am talking of Chipp's external) and play the GIF animation in the browser, rather than in the stack directly (if I remember, it will lock up/freeze too). I *think* the browser sh

Re: revCopyFile progress bar

2005-11-15 Thread Vikram Singh
ov 15, 2005, at 2:15 PM, Andrew Sharp wrote: > Hello everyone, > > Is it possible to have a progress bar while a file is being copied > to a server with the revCopyFile command. The files are fairly > large and take a minute or so to copy. The computer is actually > copying the

Re: revCopyFile progress bar

2005-11-15 Thread Andre Garzia
On Nov 15, 2005, at 2:15 PM, Andrew Sharp wrote: Hello everyone, Is it possible to have a progress bar while a file is being copied to a server with the revCopyFile command. The files are fairly large and take a minute or so to copy. The computer is actually copying the file but to the

Re: revCopyFile progress bar

2005-11-15 Thread Ken Ray
On 11/15/05 10:15 AM, "Andrew Sharp" <[EMAIL PROTECTED]> wrote: > Hello everyone, > > Is it possible to have a progress bar while a file is being copied to > a server with the revCopyFile command. The files are fairly large and > take a minute or so to copy. The c

revCopyFile progress bar

2005-11-15 Thread Andrew Sharp
Hello everyone, Is it possible to have a progress bar while a file is being copied to a server with the revCopyFile command. The files are fairly large and take a minute or so to copy. The computer is actually copying the file but to the user it appears as if the computer has locked up. Any

will revCopyFile overwrite?

2005-10-11 Thread Nicolas Cueto
Hello List, Will using the RevCopyFile command overwrite a an existing (and unlocked) file (i.e., if file X in folder A is copied to a folder B in which a copy of file X already exists)? I've tested this out on Win2k with different types of unlocked files and the answer appears to be

revCopyFile Command

2005-09-01 Thread Gregory Lypny
Hello Everyone, I've just been playing with the revCopyFile command, trying to create a simple backup routine for a project. It looks like the command does nothing under OS X if a copy of the file is already in the new location; it doesn't overwrite the copy or save th

Re: revCopyFile under Tiger

2005-06-23 Thread Chris Sheffield
Thanks all. I probably will end up using the put method, as I intend to compress the files anyway. I was just curious about revCopyFile, and whether or not there was some way to suppress that audio. Sounds like there isn't, at least not right now. There must be some way of doi

Re: revCopyFile under Tiger

2005-06-22 Thread Devin Asay
On Jun 22, 2005, at 12:59 PM, Chris Sheffield wrote: Here's an stupid thing that I'm hoping someone can help with. When using revCopyFile under 10.4.1, I'm getting the annoying sound that plays whenever you move/copy a file or folder to another location in the Finder.

Re: revCopyFile under Tiger

2005-06-22 Thread Sarah Reichelt
When using revCopyFile under 10.4.1, I'm getting the annoying sound that plays whenever you move/copy a file or folder to another location in the Finder. In my opinion, revCopyFile should not play that sound, but I'm sure it does just cause it uses system services to do the copy

Re: revCopyFile under Tiger

2005-06-22 Thread J. Landman Gay
On 6/22/05 1:59 PM, Chris Sheffield wrote: When using revCopyFile under 10.4.1, I'm getting the annoying sound that plays whenever you move/copy a file or folder to another location in the Finder. Oops, sorry, you weren't asking about Windows files. You can still use you

Re: revCopyFile under Tiger

2005-06-22 Thread J. Landman Gay
On 6/22/05 1:59 PM, Chris Sheffield wrote: Here's an stupid thing that I'm hoping someone can help with. When using revCopyFile under 10.4.1, I'm getting the annoying sound that plays whenever you move/copy a file or folder to another location in the Finder. In my opini

RE: revCopyFile under Tiger

2005-06-22 Thread MisterX
lded - bug hinting now ;) cheers Gzaviee (as pronounced ;) > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Chris Sheffield > Sent: Wednesday, June 22, 2005 21:00 > To: How to use Revolution > Subject: revCopyFile under Tiger

revCopyFile under Tiger

2005-06-22 Thread Chris Sheffield
Here's an stupid thing that I'm hoping someone can help with. When using revCopyFile under 10.4.1, I'm getting the annoying sound that plays whenever you move/copy a file or folder to another location in the Finder. In my opinion, revCopyFile should not play that sound,

Re: RevCopyFile (and hello)

2005-03-17 Thread FlexibleLearning
Welcome, Chris. Yes, you can copy a file without RevCopyFile. Depending on the file type, you can... put url ("file:"&tSourceFilePath) into url ("file:"&tDestPath) - for text files or put url ("binfile:"&tSourceFilePath) into url ("bin

Re: RevCopyFile (and hello)

2005-03-17 Thread Chris Carroll-Davis
Joy! I can't believe it, but I've never noticed the shortcut reference before!! I wonder how many other obvious things I've been missing... On 17 Mar 2005, at 18:39, J. Landman Gay wrote: Cmd-Shift-C (on Windows: Control-Shift-C) For the stack script: Cmd-Shift-S (on Windows: Control-Shift-S) F

Re: RevCopyFile (and hello)

2005-03-17 Thread Chris Carroll-Davis
Klaus - thanks for the tips If the files are not too big, read if they may fit into memory, you can: ... put url("binfile:MyHD/Myfolder/slickimage.psd") into url("binfile:MyHD/anotherfolder/copy of slickimage.psd") This would be perfect for me. I'd had a quick fiddle with this type of approach,

Re: RevCopyFile (and hello)

2005-03-17 Thread J. Landman Gay
On 3/17/05 10:17 AM, Chris Carroll-Davis wrote: p.s. Is there a keyboard shortcut for calling up the card script ? Cmd-Shift-C (on Windows: Control-Shift-C) For the stack script: Cmd-Shift-S (on Windows: Control-Shift-S) For more: Help menu -> Quick Reference Guides -> Shortcut reference -- Jacque

Re: RevCopyFile (and hello)

2005-03-17 Thread Klaus Major
e with SC. So have many of us :-) So although I'm reasonably experienced at scripting with xTalk (though: experienced<>proficient!) I am quite a newbie when it comes to Rev. So be gentle with me. My first question: Is there an alternative way to copy a local file other than with RevCop

RevCopyFile (and hello)

2005-03-17 Thread Chris Carroll-Davis
reasonably experienced at scripting with xTalk (though: experienced<>proficient!) I am quite a newbie when it comes to Rev. So be gentle with me. My first question: Is there an alternative way to copy a local file other than with RevCopyFile ? RevCopyFile seems to lock up my machine

Re: revCopyFile problems on OSX

2005-03-08 Thread Terry Judd
From: Dick Kriesel <[EMAIL PROTECTED]> Date: Tue Mar 8, 2005 6:50:31 PM Australia/Melbourne To: How to use Revolution Subject: Re: revCopyFile problems on OSX Reply-To: How to use Revolution on further testing the shell method... get shell("ditto -rsrcFork ""e&s

Re: revCopyFile problems on OSX

2005-03-07 Thread Dick Kriesel
On 3/7/05 8:41 PM, "Terry Judd" <[EMAIL PROTECTED]> wrote: > Can someone who's already 'been there' suggest the best solution? Well, I can't say it's the best solution, but it's working for me: on copyFile pFile1,pFile2 delete file pFile2 s

revCopyFile problems on OSX , shell or Applescript solution best?

2005-03-07 Thread Terry Judd
Ello - I've run into the occasionally/often? bemoaned problem where revCopyFile fails under OSX. It seems to be particularly flakey in my case as I'm copying the same set of files in and out of various folders during testing of an app I'm developing. Searching the archive revea

Re: revCopyFile on OS X

2005-02-14 Thread Sarah Reichelt
Hi Dick, I think at some stage revCopyFile changed from taking a file as the destination to taking a folder name. Think of it as being the same as option-dragging a file to another folder in the Finder. It makes a new and identical copy of the file in the destination folder. Your example stack

Re: revCopyFile on OS X

2005-02-14 Thread Andre Garzia
On Feb 14, 2005, at 11:26 PM, Dick Kriesel wrote: I’ve tried everything I can think of to get revCopyFile to work in RR 2.5 on OS X 10.3.8. Everything I’ve tried results in “execution error.” I just voted for BZ 2422. Any clues, honored gurus? -- Dick Dick, I could not manage to make that think

revCopyFile on OS X

2005-02-14 Thread Dick Kriesel
I¹ve tried everything I can think of to get revCopyFile to work in RR 2.5 on OS X 10.3.8. Everything I¹ve tried results in ³execution error.² I just voted for BZ 2422. Any clues, honored gurus? -- Dick ___ use-revolution mailing list use-revolution

Re: revCopyFile different in 2.5?

2004-09-22 Thread Scott Morrow
Hello Christian, It worked like a charm the very first time I tried it! I've been hassling with that problem off and on for quite a bit. Fantastic. And now I can say that I have used a shell() command. Who knows where that may lead? Many thanks from rainy Washington state. -Scott Morrow Ele

revCopyFile different in 2.5?

2004-09-22 Thread Christian Langers
Hello Scott, I think, if I understood what you wrote, I found a solution : Here is what you can do (in a script) : put PathOfSourceFile (e.g. "/Library/Receipts/BranchProposalSystem1.pkg") into tSource put PathOfDestination into tDestination (e.g. "/Users/userName/Desktop") put ("cp -R -p ""e&tS

Re: revCopyFile different in 2.5?

2004-09-21 Thread Scott Morrow
nd out that this concerned the OS X version; on Windows revCopyFile was working as expected... Used "ditto -rsrc ..." and get shell() instead and voilà it worked for the OS X... I thank myself for my help... ;-) ___ use-revolution mailing list [EMA

revCopyFile different in 2.5?

2004-09-20 Thread Christian Langers
t; & tFoldName) create folder ("Dossiers/" & tFoldName&"/"&"data") put ("Dossiers/" & tFoldName&"/"&"data") into tdestination revCopyfile "sources/dataproj.rev",tde

revCopyFile different in 2.5?

2004-09-15 Thread RGould8
Can anyone tell me if the revCopyFile command changed in Rev 2.5? I have this code, which worked when I can compiled with Rev 2.2... create folder "/Applications/myISP" create folder "/Applications/myISP/logs" revCopyFile "UpdateLog","/Applications/myISP/log

revCopyFile doesn't copy file type and creator?

2004-08-23 Thread Jan Decroos
[EMAIL PROTECTED] writes: >Anyone else notice that revCopyFile doesn't copy the Mac file type and >creator? > >RR 2.2, Mac OS X Seems to be fixed for b1 see : http://www.runrev.com/revolution/developers/bugdatabase/show_bug.cgi?id=

Re: revCopyFile doesn't copy file type and creator?

2004-08-23 Thread Ken Ray
On 8/23/04 4:43 AM, "Frank Leahy" <[EMAIL PROTECTED]> wrote: > Anyone else notice that revCopyFile doesn't copy the Mac file type and > creator? Yes, I use the 'ditto' command through shell. Depending on your OS, you do this: 10.3 or later: ditto --rsr

Re: revcopyfile: preserve file modification date/time

2004-02-20 Thread James Cass
Thanks for all the help. The folder where the file is has thousands of files, and getting files details is just way too slow. However, I think I've found a work-around. On http://www.macosxhints.com, I found a reference to a terminal command called "SetFile". It's available here (/Developer

Re: revcopyfile: preserve file modification date/time

2004-02-20 Thread Rob Cozens
What is the best way to preserve file modification date/time when copied to a Windows 2000 server? Hi James, The detailed version of the files function returns, among other things, the modification dates for each file in the defaultFolder. So one needs to: A. Save the defaultFolder if it need

revcopyfile: preserve file modification date/time

2004-02-20 Thread James . Cass
What is the best way to preserve file modification date/time when copied to a Windows 2000 server? I need to preserve the modification date when a file is copied from a user's local MacOSX (10.2.x) to a Windows 2000 server. By default, "revcopyfile" does not preserve the mod

Re: revCopyFile broken on OS X?

2003-10-07 Thread Sannyasin Sivakatirswami
into tCommand get shell (tCommand) why? b) use of "get" why is it needed? is it because this is a function and not a command? Thanks, this list is such a great resource... Aloha from Kauai Sivakatirswami On Sunday, October 5, 2003, at 09:28 PM, Brian Yennie wrote: I can't

RE: revCopyFile broken on OS X?

2003-10-06 Thread James . Cass
| | cc: | | Subject: RE: revCopyFile broken on OS X? | >-------| RevCopyFile uses "cp"

RE: revCopyFile broken on OS X?

2003-10-06 Thread Ken Ray
RevCopyFile uses "cp" through the shell, which copies attributes but does not copy the resource fork properly. Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[

Re: revCopyFile broken on OS X?

2003-10-06 Thread Brian Yennie
I can't speak to revCopyFile, but on OS X there is a shell command for copying files with resource fork intact. If that's not what revCopyFile is using, you could try it: get shell("ditto -rsrcFork ""e&sourcePath"e&"e&destPath"e) You might

revCopyFile broken on OS X?

2003-10-05 Thread Sannyasin Sivakatirswami
problem is revCopyFile is not behaving as documented on OS X... purportedly it should: "... the revCopyFile command provides certain advantages. It copies file attributes (such as file type) and Mac OS resource forks along with the file. It also does not require reading the entire file into

RE: revCopyFile : compiler error

2003-06-20 Thread Edwin Gore
;Sent: Fri, 20 Jun 2003 19:36:41 > >>revCopyFile uses an Applescript and as I found to >my cost, there are >>many undocumented changes between the AppleScript >of OS 9 and that of >>OS X :-( > >>If the files are small enough to fit into memory, >you could try using >

revCopyFile : compiler error

2003-06-20 Thread Romain Lafourcade
>revCopyFile uses an Applescript and as I found to my cost, there are >many undocumented changes between the AppleScript of OS 9 and that of >OS X :-( >If the files are small enough to fit into memory, you could try using >get URL and then put URL to re-save into the new locatio

Re: revCopyFile : compiler error

2003-06-19 Thread Sarah
revCopyFile uses an Applescript and as I found to my cost, there are many undocumented changes between the AppleScript of OS 9 and that of OS X :-( If the files are small enough to fit into memory, you could try using get URL and then put URL to re-save into the new location. if the files are

revCopyFile : compiler error

2003-06-19 Thread Romain Lafourcade
ter "JPEG,*.jpg" revCopyFile it,"My Folder" -- this folder is in the Rev folder end mouseUp Pressing the button returns "compiler error". I've tried several versions of it including a try with full URLs. Can any one tell me where is my mistake ? I'm stil

Re: Revcopyfile copies to c: drive

2002-07-24 Thread Scott Slaugh
>>When I have tried to use the revcopyfile funtction lately, I have not >>been able to get it to work. I am using this script. Here is something I discovered that might pertain to this. I decided to try and get a file to copy using the shell command. However, I discovered I coul

Re: Revcopyfile copies to c: drive

2002-07-23 Thread Scott Slaugh
>Check "the result" after doing the revCopyFile. Also, make sure that the >folder you are choosing is a valid writable folder. The result returns nothing, so Revolution appears to be thinking it is working fine. > >Apart from that, all I can tell you is that it works fine

Re: Revcopyfile copies to c: drive

2002-07-23 Thread Sarah
Check "the result" after doing the revCopyFile. Also, make sure that the folder you are choosing is a valid writable folder. Apart from that, all I can tell you is that it works fine on Mac OS X :-) Sarah On Wednesday, July 24, 2002, at 05:05 AM, Scott Slaugh wrote: > When I

Revcopyfile copies to c: drive

2002-07-23 Thread Scott Slaugh
When I have tried to use the revcopyfile funtction lately, I have not been able to get it to work. I am using this script. answer file "what" put it into whatfile answer folder "where" put it into whatfolder revcopyfile whatfile,whatfolder No matter what file I pick, or f

Revcopyfile copies to c: drive

2002-07-23 Thread Scott Slaugh
When I have tried to use the revcopyfile funtction lately, I have not been able to get it to work. I am using this script. answer file "what" put it into whatfile answer folder "where" put it into whatfolder revcopyfile whatfile,whatfolder No matter what file I pick, or f

Re: revCopyFile

2002-04-24 Thread David Vaughan
this stage. And to the query of one of the responders, yes, "elsewhere" is the name of the hard disk on my portable. The desktop is somewhere. You have to have a convention :-) thanks david On Thursday, April 25, 2002, at 03:23 , Karl Petersen wrote: > David, > > After the re

Re: revCopyFile

2002-04-24 Thread Karl Petersen
David, After the revCopyFile call, try looking at the result. If it is "execution error" then something went wrong with the AppleScript. (In the Mac OS, revCopyFile uses AppleScript to "tell" the Finder to copy the file to the destination folder. Presumably revCopyFil

Re: revCopyFile

2002-04-22 Thread David Vaughan
I posted this last Thursday but as yet have no response. No-one have a problem with revCopyFile or this script? The problem is that the copy fails silently. The bit about displaying the paths is simply to point out that the variables are mysteriously emptied by the failed copy attempt. If

revCopyFile

2002-04-18 Thread David Vaughan
I am trying to use revCopyFile for the first time. In the course of trying to work out why it does not do it for me, I put the following test script in the message box: put "/Elsewhere/Users/davidv/Desktop/Telstra usage" into sPath put "/Elsewhere/Users/davidv/tmp/"

revCopyFile in 1.1.1

2002-01-20 Thread Almesjö
- Great news! I sure need it. Messing with the dos prompt has never been one of my abilities. /Niklas We will include a revCopyFile command in 1.1.1 which will copy a file on any OS including the correct creator type and the resource fork, without loading the entire file into memory if it is