Re: revCopyFolder

2007-07-11 Thread Stephen Barncard
thanks, Chipp.. I've been fooling around with it in the meantime and solved for the most part with a global flag that gets set from a button and detected inside the loop at a good 'stopping point' , exits the repeat and cleans up. I've never had a handler work so well independently like that

Re: revCopyFolder

2007-07-11 Thread Jim Ault
If these processes are like sockets for networking, then this is the method I use to control the number of simultaneous open sockets: --restAll does not work for me so I use this put the openSockets into tTempList if the number of lines in tTempList > 20 then repeat for each line LNN in tTempList

Re: revCopyFolder

2007-07-11 Thread Chipp Walters
Hi Stephen, You might want to take a look at libURLresetAll. It closes all open sockets created by libURL. But beware, it will kill any and all socket activity going on abruptly. I've used it for 'STOP' buttons for downloads before and it seems to work fine. You'll need to go back and reinitiali

Re: revCopyFolder

2007-07-11 Thread Stephen Barncard
regarding "rolling my own" revCopyFolder that works from web site--->user folder The URL copying scheme works fine for multiple calls in a loop. And it's really useful as it is NOT BLOCKING and the calling script continues to run until it terminates, while the downloads continue in the ba

Re: OT - Save the Mac Mini

2007-07-11 Thread SimPLsol
Sarah, You're certainly right about the Mini's being great servers - especially for small businesses. Here's what we do: We use a FW, six-port hub. We put the OS on one external FW HD. We put the databases on one or more other external FW HDs. If anything happens to the Mini, just plug in another

Re: OT - Save the Mac Mini

2007-07-11 Thread Sarah Reichelt
On 7/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Everyone, Some of you may not be aware of the rumor that Apple plans to discontinue the Mac Mini. Although this is obviously just a rumor and "off topic", I thought it worth mentioning because there are so many Mac users on this list. The M

Re: Windows and screens...

2007-07-11 Thread Sivakatirswami
David Bovill wrote: Thanks Eric - that would look like the problem. from the docs: The value of the windowBoundingRect is not updated automatically when you change the screen resolution or when you move items such as the Windows task bar. For example, if the windowBoundingRect is set to 0,0,640

Petition to save the Mac Mini

2007-07-11 Thread SimPLsol
Talk about an astounding response! In about one hour we've added over 120 names to the petition. Now if every current signer would get nine more signatures... If that doesn't do it, at least we tried. Thanks again to all of you who have voted. www.petitiononline.com/macminsa/petition.html Paul Lo

Re: OT - Save the Mac Mini

2007-07-11 Thread Jim Ault
Thanks for the notice! DONE and I am #901 I own 5 mini's and plan to buy 2 more soon. They are great for taking advantage of Rev's compile-an-app to get multi-threading. Add UDP and (all the apps and all the cpu's) work as one very fast system! On 7/11/07 10:20 AM, "[EMAIL PROTECTED]" <[EMAIL

Re: getting last insert id from SQLite autoincrement column

2007-07-11 Thread Trevor DeVore
On Jul 11, 2007, at 2:06 PM, David Beck wrote: I have not been able to find out how to get the last insert id after inserting a record into a SQLite table with the PRIMARY KEY AUTOINCREMENT flags set. I'm sure I must be missing something? I have searched through SQLite docs and rev mailing

Re: OT - Save the Mac Mini

2007-07-11 Thread Joe Lewis Wilkins
Great suggestions Steven and Paul. Sometimes the most important things just never get done the easy way. You can't imagine how much time I've wasted doing it the hard way. (smile) Joe Wilkins On Jul 11, 2007, at 11:05 AM, [EMAIL PROTECTED] wrote: Joe, Steven beat me to the target disk sugg

getting last insert id from SQLite autoincrement column

2007-07-11 Thread David Beck
I have not been able to find out how to get the last insert id after inserting a record into a SQLite table with the PRIMARY KEY AUTOINCREMENT flags set. I'm sure I must be missing something? I have searched through SQLite docs and rev mailing lists to no avail. Can anybody shed some like on

Re: OT - Save the Mac Mini

2007-07-11 Thread SimPLsol
Joe, Steven beat me to the target disk suggestion. Works great. Very fast. For smaller amounts of data a thumb drive works great - just remember to plug it into the computer not the USB connections on the keyboard, they are 1.1 not 2.0 - so only 1/5 th as fast. And thank you for your vote. I see

Re: OT - Save the Mac Mini

2007-07-11 Thread Stephen Barncard
you could start up the mini in Target disk mode. connect firewire bewteen machines. Mini off boot mini while pressing the T key firewire symbol will appear on mini's attached screen volume in mini will appear on other machine's desktop as a firewire drive or for more precise and easier moving of

Re: OT - Save the Mac Mini

2007-07-11 Thread Scott Kane
From: <[EMAIL PROTECTED]> Thanks Scott. Spread the word, maybe we can make a difference on this one. Already copying. :-) Scott ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and mana

Re: OT - Save the Mac Mini

2007-07-11 Thread Joe Lewis Wilkins
Excellent thinking, Paul and others who have signed up. I'm not currently using my Mini right now, but it serves as an excellent Back- up for everything I'm doing. To save me some time, is there a way that I can just hook the Mac Mini up to my Intel Mac as an external hard drive? Maybe with

Re: OT - Save the Mac Mini

2007-07-11 Thread SimPLsol
Thanks Scott. Spread the word, maybe we can make a difference on this one. Paul Looney ** See what's free at http://www.aol.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url

Re: OT - Save the Mac Mini

2007-07-11 Thread Scott Kane
From: <[EMAIL PROTECTED]> Hi Paul, If this is important to you (your friends, your family, your customers, your staff) please vote: www.petitiononline.com/macminsa/petition.html Done! :) ___ use-revolution mailing list use-revolution@lists.runr

OT - Save the Mac Mini

2007-07-11 Thread SimPLsol
Everyone, Some of you may not be aware of the rumor that Apple plans to discontinue the Mac Mini. Although this is obviously just a rumor and "off topic", I thought it worth mentioning because there are so many Mac users on this list. The Mini is a great computer for running Rev.: its greatest s

Re: Vista, UAC and Elevation in Rev

2007-07-11 Thread Scott Kane
From: "Ken Ray" <[EMAIL PROTECTED]> Unfortunately this does not work if the user is a "Standard User"... Yup. Forgot to mention that. But then that's only right else the whole idea of an Admin doing Admin stuff would be rendered mute. :) instead of the dialog with Cancel and Allow, you n

Re: Vista, UAC and Elevation in Rev

2007-07-11 Thread Ken Ray
On Wed, 11 Jul 2007 20:07:26 +1000, Scott Kane wrote: > Hi, > > Not sure if anybody has covered this but a few people mentioned a > while back something about elevation in Vista so as to get files in > the Program Files folder to be updateable (ie downloading an updated > library stack that li

Re: High Lighting in a List Field??

2007-07-11 Thread Jan Schenkel
--- Dave <[EMAIL PROTECTED]> wrote: > Hi All, > > I have a list field, with the following script: > > on mouseUp >local mySelectedLine >local myMovieFilePathName >local muNumberOfFrames > >put the selectedLine into mySelectedLine >select empty >put mySelectedLine & cr aft

High Lighting in a List Field??

2007-07-11 Thread Dave
Hi All, I have a list field, with the following script: on mouseUp local mySelectedLine local myMovieFilePathName local muNumberOfFrames put the selectedLine into mySelectedLine select empty put mySelectedLine & cr after msg end mouseUp In order for "selectedLine" to return the cor

Re: localizing software

2007-07-11 Thread Ken Ray
On Wed, 11 Jul 2007 22:51:58 +1000, Scott Kane wrote: > From: "GIRARD Damien" <[EMAIL PROTECTED]> > > G'day Girard, > >> My set of software is the result of hard works; I hope that it will >> be finished before August. > > Sounds fantastic! Same here! Looking forward to seeing it in operation

Re: Peeking Behind Some of Rev's UI Elements

2007-07-11 Thread Stephen Barncard
Revolution-->Prefs--->general---> [checkbox] "revolution UI elements appear in lists of stacks" IDE-->TOOLS--->Application Browser Hello Everyone, How can I peek at some of Rev's UI scripts and the properties of some of the UI objects? I have "Contextual menus work in Revolution windows"

Re: What I did with Rev last night

2007-07-11 Thread Peter Brigham
On Tue, 10 Jul 2007 10:23:44 -0700 Mark Talluto <[EMAIL PROTECTED]> wrote: On Wed, 4 Jul 2007, J. Landman Gay wrote: It is so satisfying to be able to write whatever I need. Anyone else done little personal stacks with Rev lately? I just wrote an app that I have needed

Peeking Behind Some of Rev's UI Elements

2007-07-11 Thread Gregory Lypny
Hello Everyone, How can I peek at some of Rev's UI scripts and the properties of some of the UI objects? I have "Contextual menus work in Revolution windows" enabled in Rev's Preferences, but Control-Click only opens contextual menus in my own stacks and I cannot select Rev's own objects.

Re: Is it possible to automatically open OSX adressbook and import a vcf file?

2007-07-11 Thread William de Smet
Thanks Ian and Klaus, I got a nice icon now on OSX and I got it working. I put this into the script: launch "/Users/william/Desktop/William.vcf" with "/applications/Address Book.app" It took a while to get it going but I find out you have to write "Address Book.app" in stead of "addressbook.app

Re: Is it possible to automatically open OSX adressbook and import a vcf file?

2007-07-11 Thread Ian Wood
Doh! That's what comes when I don't look up the terms before posting... Ian On 11 Jul 2007, at 15:51, Klaus Major wrote: But won't probably work with "open" but with "launch" ... launch "path/to/vcf_file.vcf" with "path/to/Addressbook.app" ___ use-

Re: FTP and HTTP resume?

2007-07-11 Thread David Bovill
OK - thanks Dave and Andre. I'll start off along this path as it all seems doable. I think I'll add the pieces bit by bit starting with HTTP resume. I've linked this thread to the wiki pages below where i will log the progress: - http://handlers.rev-co.de/wiki/HttpResume - http://handlers.rev

Re: Is it possible to automatically open OSX adressbook and import a vcf file?

2007-07-11 Thread Klaus Major
Hi Ian, On 11 Jul 2007, at 15:15, Klaus Major wrote: I'm sure this is possible with AppleScript. Open the AppleScript Editopr and then the "dictionary" of the Adressbook.app. I think "open ..." is the correct command to open/import a VCF file. Rev's built-in 'open x with y' command may wor

Re: FTP and HTTP resume?

2007-07-11 Thread Dave Cragg
On 11 Jul 2007, at 14:52, Andre Garzia wrote: David, for the FTP Resume is not that hard if you use your own socket commands, instead of using RETR to get the file you use REST (I think) and pass the offset as a parameter. The server will proceed just like RETR but will start sending fro

Re: Is it possible to automatically open OSX adressbook and import a vcf file?

2007-07-11 Thread Ian Wood
On 11 Jul 2007, at 15:15, Klaus Major wrote: I'm sure this is possible with AppleScript. Open the AppleScript Editopr and then the "dictionary" of the Adressbook.app. I think "open ..." is the correct command to open/import a VCF file. Rev's built-in 'open x with y' command may work as we

Re: Is it possible to automatically open OSX adressbook and import a vcf file?

2007-07-11 Thread Klaus Major
Dag Willem, Hi there, I am playing with Andre Garzia's vObject Package and I like it. The demo card outputs a .vcf file. I am on OSX and when I drop this file on OSX adressbook it imports a new card. If you are missing the nice VCF icon on OS X, add this line right before writing the data to

Is it possible to automatically open OSX adressbook and import a vcf file?

2007-07-11 Thread William de Smet
Hi there, I am playing with Andre Garzia's vObject Package and I like it. The demo card outputs a .vcf file. I am on OSX and when I drop this file on OSX adressbook it imports a new card. Is there a way in Rev to automatically (after creating the .vcf file) open the adressbook and import the .vc

Re: FTP and HTTP resume?

2007-07-11 Thread Andre Garzia
David, for the FTP Resume is not that hard if you use your own socket commands, instead of using RETR to get the file you use REST (I think) and pass the offset as a parameter. The server will proceed just like RETR but will start sending from the offset. (IIRC) Andre On 7/11/07, David Bovill <

Re: FTP and HTTP resume?

2007-07-11 Thread David Bovill
On 11/07/07, Dave Cragg <[EMAIL PROTECTED]> wrote: For resuming http downloads, take a look at using the Range header in the httpHeaders. It would look something like this (untried): set the httpHeaders to "Range: bytes=1000-1999" This seems the best option... so I'd need to know how many

Re: Vista, UAC and Elevation in Rev

2007-07-11 Thread Scott Kane
From: "Dave Cragg" <[EMAIL PROTECTED]> Thanks for the info. This could be very helpful. You're most welcome. There are some other low level ways but I've not seen (yet) how I can port those to Rev. Given the nature of some of those I'm not even sure I should. We have to remember to be re

Re: Vista, UAC and Elevation in Rev

2007-07-11 Thread Dave Cragg
On 11 Jul 2007, at 11:07, Scott Kane wrote: One simply names an executable charged with the task of performing the update to "Update.exe". This will elevate the app to full Admin and produce a dialog in Vista for the Admin to Cancel or Allow the program to run. In the crudest of tests,

Re: FTP and HTTP resume?

2007-07-11 Thread Dave Cragg
David For resuming http downloads, take a look at using the Range header in the httpHeaders. It would look something like this (untried): set the httpHeaders to "Range: bytes=1000-1999" where 1000 is the start offset in the file, and 1999 is the end offset. Alternatively, you should be ab

Re: launch app from browser

2007-07-11 Thread David Bovill
I have done this before - but it was a long long time ago - so maybe someone else can help you better these are the bits of the puzzle I know: 1. just link to a file as if it were an html page - opn.rev 2. Hope and pray that your ISP has their mim-types set to serve this file correcl

Re: localizing software

2007-07-11 Thread Scott Kane
From: "GIRARD Damien" <[EMAIL PROTECTED]> G'day Girard, My set of software is the result of hard works; I hope that it will be finished before August. Sounds fantastic! (Sorry if I have done some English fault, never I went in an English country). No problems. Your English is better than

re: launch app from browser

2007-07-11 Thread Lars Brehmer
Thanks for the quick reply Stephen! however; Quick, easy question; I need to launch a standalone from within a web browser, Why? The "why" is easy. A publisher making a multi-media language course is interested in integrating a vocabulary trainer of mine into their project. Their

Re: localizing software

2007-07-11 Thread GIRARD Damien
Hi all, Eric Chatonet a écrit : Hi Mark, Le 10 juil. 07 à 20:27, Mark Talluto a écrit : I need to localize one of my apps for different languages. I remember talking with Trevor about this at a SoCalRev Meeting a while back. I just don't remember the details. How are you guys handling mult

Re: Retrieve alphaData From Image In Variable?

2007-07-11 Thread Wilhelm Sanke
On Wed Jul 11, 2007, Scott Rossi scott at tactilemedia.com wrote: Sure. If you have an image on a card, you can script put the alphaData of img myCoolImg into tData But can you do this with a snapshot image that has been exported to a variable (ie export snapshot to coolVar as PNG)? Let m

Re: localizing software

2007-07-11 Thread Jan Schenkel
--- Mark Talluto <[EMAIL PROTECTED]> wrote: > I need to localize one of my apps for different > languages. I > remember talking with Trevor about this at a > SoCalRev Meeting a while > back. I just don't remember the details. > > How are you guys handling multi-lang versions of > your softwa

Re: PDF files handling

2007-07-11 Thread Jan Schenkel
--- Stephen Barncard <[EMAIL PROTECTED]> wrote: > Jan, this file doesn't seem to be a complete stack > -- the 'bang' and > other header stuff isn't there and > > go URL > "http://www.quartam.com/tutorials/pdfmetadata.rev"; > or > go URL > "http://www.quartam.com/tutorials/pdfmetadata.legacy.rev";

Vista, UAC and Elevation in Rev

2007-07-11 Thread Scott Kane
Hi, Not sure if anybody has covered this but a few people mentioned a while back something about elevation in Vista so as to get files in the Program Files folder to be updateable (ie downloading an updated library stack that lives with the main executable in Program Files on Vista). I've fou

Re: Retrieve alphaData From Image In Variable?

2007-07-11 Thread Scott Rossi
Recently, Chipp Walters wrote: >> Does anyone know if it is possible to access or retrieve the alphaData from >> an >> image which has been exported to a variable? I'm wondering if it's possible >> to grab this data without writing the image out to a stack or external file. > I'm not sure exact

Re: localizing software

2007-07-11 Thread Eric Chatonet
Hi Mark, Le 10 juil. 07 à 20:27, Mark Talluto a écrit : I need to localize one of my apps for different languages. I remember talking with Trevor about this at a SoCalRev Meeting a while back. I just don't remember the details. How are you guys handling multi-lang versions of your softwa

Re: Retrieve alphaData From Image In Variable?

2007-07-11 Thread Chipp Walters
Scott, I'm not sure exactly what you are asking. Can you provide an example, or explain in more detail? -C ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription pre