Re: Can't change directory with shell(cd)
On 5/1/08 5:54 PM, Michael D Mays [EMAIL PROTECTED] wrote: I'm doing this answer folder put it into aPath put cd aPath into aRequest put aRequest into fld 1 put shell(aRequest) into fld 2 put shell(ls) into fld 3 No matter which folder I chose, Rev's 'Home' folder is the directory listed. When I cut and paste fld 1 into the Terminal, ls works as expected. What am I doing wrong or is this a 'feature';)? The problem is that you're doing two separate shell calls, each one evaluated based on the current folder (which is Rev's Home folder). You need to make a single shell call that does both tasks. For Mac, that means separating them by semicolons: put shell(cd /;ls) This will get a directory listing of the root drive. For Windows, you need to use an ampersand instead of a semicolon, like this: put shell(cd c:\ dir) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Can't change directory with shell(cd)
Richard Hillen in September of last year was claiming on this list 25 seconds to do a revcopyfile. I typed CR into the dictionary and couldn't find it. I think I must have added an extra or quote when I was typing. Michael On May 1, 2008, at 10:06 PM, Sarah Reichelt wrote: The reason I was using shell() instead of a built in Rev command were: 1.) I didn't know about it :) 2.) My first objective was to copy a file into a folder. I had used revCopyFile and it was taking 15 seconds to copy a small file. I new I could use ditto and it would be (is) much faster. So I decided to do the rest with shell(). Something seems wrong there. However if using ditto works for you, then that's fine. I haven't done much with copying files. Moving them is very fast using the rename command, but copying is different. If the files are small you could try: put URL (binfile: tOriginalFile) into URL (binfile: tNewFile) but if they are larger than a few MB, that might not be so good as it reads the entire file into memory before writing it out again. Do you have cr defined as return? cr is defined in Rev. I prefer using it instead of return because return also means return a value from a function and I prefer to make sure they are obviously different. And it's shorter to type :-) Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Launching a web page
Hi Shari, Open up the Rev IDE and have a look at the scripts in the revCommon library which you can get to using the Backscripts section of the Message box. It contains the scripts for revGoURL and various other Windows-related handlers. You might be able to work out how Rev does it and and see if you can adapt this to your needs. Cheers, Sarah Thank you, Sarah. You give me hope :-) I'll definitely check out the handlers there. I had been trying to find handlers in an old libUrl stack then realized that the reason everybody rolled their own was because there was no built in call for this. By the way, launch url and all the home-rolled handlers work like a charm on Mac. It's that Win-Thing causing the fits. I did learn something however from the failed attempts. The process I was using to go thru several attempts had a flaw. If one fails, try another is great but for one thing. If the first attempt failed, it left the process open and other attempts would throw up a process already open error. So after each failed attempt, I now have it close the processes before attempting the next method. Many years ago, the original methods (whatever was the first method tried) must have been the successful ones because I never encountered an error. Just success. And in the past five years, nobody has ever emailed me and told me they could not access the web page from within the application. :-) Shari -- Humorous sports t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware games http://www.gypsyware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Launching a web page
On 5/1/08 11:41 AM, Shari [EMAIL PROTECTED] wrote: This is crazy. My code for launching a web page worked happily for many years up until ??? Now it's broken and I can't seem to fix it. 3.put word 1 to -2 of \ queryRegistry(HKEY_LOCAL_MACHINE\Software\Classes\http\shell\open\command\) Hmm... I just use word 1, not word 1 to -2, and the above works for me; try changing it to just use word 1, and see if that works... Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Fixing MacOS File Names for a NAS
Just got a shiny new NAS. Copying over files from USB drives on the Mac and I come across the old too long / funny character problem... ? and / and so forth not allowed. I thought this would have been fixed on the Linus based file servers by now - but not. Anyone got a solution - there are thousands of files to copy - or a script - or a reference to figure out all the different chars that needs fixing? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Fixing MacOS File Names for a NAS
Anyone got a solution - there are thousands of files to copy - or a script - or a reference to figure out all the different chars that needs fixing? Sorry, David, I ran into the same thing and ended up buying a Time Capsule for Mac backup and dedicated my original NAS to PC backup... Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Fixing MacOS File Names for a NAS
You could probably use StuffIt to copy everything (and then perform scheduled backups) to the NAS, assuming it would change filenames along the way. Ken Ray wrote: Anyone got a solution - there are thousands of files to copy - or a script - or a reference to figure out all the different chars that needs fixing? Sorry, David, I ran into the same thing and ended up buying a Time Capsule for Mac backup and dedicated my original NAS to PC backup... Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Fixing MacOS File Names for a NAS
Hmmm... my blind faith in progress is shattered :( Well - not going to give up on my 4 Terabites yet - its not going to be for everything I guess - but I'll settle for the media archive - seems that iTunes is going to be OK - but the EyeTV archive is definitely not based on the way the files are named. I'm going to start by replacing ?/ with _. Any other chars? Wander how long the names can be 2008/5/2 Phil Davis [EMAIL PROTECTED]: You could probably use StuffIt to copy everything (and then perform scheduled backups) to the NAS, assuming it would change filenames along the way. Ken Ray wrote: Anyone got a solution - there are thousands of files to copy - or a script - or a reference to figure out all the different chars that needs fixing? Sorry, David, I ran into the same thing and ended up buying a Time Capsule for Mac backup and dedicated my original NAS to PC backup... Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Fixing MacOS File Names for a NAS
David, I had similar problems - and many others - with Linux NAS. Went with a Mac Mini, a Firewire HD and TimeMachine. More reliable and MUCH faster. Paul Looney On May 2, 2008, at 10:43 AM, David Bovill wrote: Just got a shiny new NAS. Copying over files from USB drives on the Mac and I come across the old too long / funny character problem... ? and / and so forth not allowed. I thought this would have been fixed on the Linus based file servers by now - but not. Anyone got a solution - there are thousands of files to copy - or a script - or a reference to figure out all the different chars that needs fixing? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Reading commands from Apple's remote control
On May 1, 2008, at 11:52 PM, Sarah Reichelt wrote: I´ve checked Apples docs for calling objective-C/cocoa from C/Carbon applications, I understand that externals are in a sense carbon applications, I can make cocoa console apps that work with the remote, I can make externals but I can´t mix those :-/ Yes you can! I've done it... but long ago enough that I've forgotten the details. I'll bring my source to RevLive and you can see how it's done. Sob I won't be there :-( But I'd love to have a look at your scripts if you don't mind emailing them to be off-list. I'll do my best to renew my memory of how I got Cocoa calls to work in Carbon external. It's mainly a matter of setting up xCode jst so, if I recall; but I haven't touched an external for many moons (been Rev scripting like mad and learning Python) and it all seems like a dream now. t___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Fixing MacOS File Names for a NAS
On Sat, May 3, 2008 at 6:11 AM, Paul Looney [EMAIL PROTECTED] wrote: David, I had similar problems - and many others - with Linux NAS. Went with a Mac Mini, a Firewire HD and TimeMachine. More reliable and MUCH faster. Ahh speed. Here's an alternative that's a little expensive, especially as it's only USB. If it were Firewire 800, gigabit ethernet or eSATA I'd probably cough up the moolah: http://www.drobo.com/products_demo.aspx Still, very interesting. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Fame, Fortune, and... well, less of the fortune...
On Fri, May 2, 2008 at 2:00 AM, Ian Wood [EMAIL PROTECTED] wrote: Here's the results for all versions both beta and final over the last three weeks (it was a short beta): I think Bill can help with that;-) Congratulations. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Launching a web page
3.put word 1 to -2 of \ queryRegistry(HKEY_LOCAL_MACHINE\Software\Classes\http\shell\open\command\) Hmm... I just use word 1, not word 1 to -2, and the above works for me; try changing it to just use word 1, and see if that works... Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ Thank you, Ken! I will definitely give it a whirl! And I will post back with my results for the record, in case anybody else searches the archives with this issue :-) Shari -- Humorous sports t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware games http://www.gypsyware.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Fixing MacOS File Names for a NAS
Actually it IS gigabit ethernet (with the $200 droboshare attachment). Paul Looney On May 2, 2008, at 5:48 PM, Kay C Lan wrote: On Sat, May 3, 2008 at 6:11 AM, Paul Looney [EMAIL PROTECTED] wrote: David, I had similar problems - and many others - with Linux NAS. Went with a Mac Mini, a Firewire HD and TimeMachine. More reliable and MUCH faster. Ahh speed. Here's an alternative that's a little expensive, especially as it's only USB. If it were Firewire 800, gigabit ethernet or eSATA I'd probably cough up the moolah: http://www.drobo.com/products_demo.aspx Still, very interesting. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Fixing MacOS File Names for a NAS
On Sat, May 3, 2008 at 10:50 AM, Paul Looney [EMAIL PROTECTED] wrote: Actually it IS gigabit ethernet (with the $200 droboshare attachment). My understanding is it isn't. I believe the Droboshare is gigabit but it connects to the Drobo by the same old USB connection as if you'd connected direct to your computer, so my impression is that it is still restricted to USB speeds - a shame considering you fill it with SATA drives. Even if I'm wrong, at $700 for an empty enclosure plus the attachment so you can shared via wired and wifi networks doesn't seem to compete too well with a 1TB TimeCapsule. Actually, you could pick up a Mac Mini for less than $200 and just plug the Drobo into that and achieve similar (no wifi) for less. I think I'll wait for the Chinese to copy it, then wait for the Taiwanese to improve it with true gigabit connection or direct eSATA and then buy for less ;-) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution