Re: The templateField Keyword

2006-03-13 Thread Dave Cragg
On 13 Mar 2006, at 00:03, Gregory Lypny wrote: What you say below is not how I expect templateField to work based on its description. I thought that setting the templateField was a one-time thing and that it remained in effect until it was reset. Your handler based on the createField

Re: Deleting A Card

2006-03-13 Thread Dave Cragg
On 13 Mar 2006, at 07:31, Andy Calloway wrote: Hiya all, I'm still just playing with RunRev, but I've come across what appears to be a problem. I created a mainstack and added seven cards (just running through the tutorials). I've now come to do something proper with them but I can't

RE: Deleting A Card

2006-03-13 Thread Andy Calloway
Nope, that's not set. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Cragg Sent: 13 March 2006 08:33 To: How to use Revolution Subject: Re: Deleting A Card On 13 Mar 2006, at 07:31, Andy Calloway wrote: Hiya all, I'm still just playing with

Re: copy locked text

2006-03-13 Thread André . Bisseret
Hi ! I just had the same problem as Jerry and I posted a question a couple of days ago ; Have a look at the thread copy from a locked, focusable fld under Windows Nice ideas and solutions have been posted there, from Jonathan Linch, Wilhelm Sanke, Jim Ault and Chipp Walter. Best regards

activate

2006-03-13 Thread sims
On a Mac I can use the applescript: tell application myApp activate end tell to bring to the front an application (make it pop out in front of all other open application windows). On Windows is there some way to do the same? Some shell script perhaps? Might there even be some shell

Turning imageData into alphaData (quickly)?

2006-03-13 Thread Ian Wood
Hi all, I've been lurking for a few years, but not posted for some time... I'm doing quite a lot of stuff generating PNGs with transparency, and wondered if there is any fast way to combine an 'image' img and a 'transparency' img? A handler that goes through each RGB pixel and reduce it to

Re: copy from a locked, focusable fld under Windows

2006-03-13 Thread André . Bisseret
Thanks a lot to Jonathan, Wilhelm, Jim and Chipp for their very useful ideas and solutions. I confirm that here (G4, OSX, 10.2.8 -RR 2.6.1) neither command c nor command C is working (; but as Wilhelm said Copy text from Edit menu works. Meanwhile, command v as well as command V works.

Re: activate

2006-03-13 Thread Ian Wood
Have a look in the Docs for the 'launch' command which will work on both platforms if the app isn't already running, but it also mentions get shell(start MyProgram.exe) for Windows which might work. Ian On 13 Mar 2006, at 10:45, sims wrote: On a Mac I can use the applescript: tell

Re: Turning imageData into alphaData (quickly)?

2006-03-13 Thread sims
Hi all, I've been lurking for a few years, but not posted for some time... I'm doing quite a lot of stuff generating PNGs with transparency, and wondered if there is any fast way to combine an 'image' img and a 'transparency' img? A handler that goes through each RGB pixel and reduce it to a

Re: activate

2006-03-13 Thread sims
Have a look in the Docs for the 'launch' command which will work on both platforms if the app isn't already running, but it also mentions get shell(start MyProgram.exe) for Windows which might work. Ian Thanks Ian, my app will already be open so 'launch' will not do it for the Mac. I'll

Re: random

2006-03-13 Thread Cubist
In a message dated 3/13/06 2:49:16 AM, liamlambert [EMAIL PROTECTED] writes: I have this code for a random number in 6 fld's how do I stop the same number form appearing in more then one fld As Ms. Reichelt noted, this is one of those questions that tends to attract a wide variety of

Re: The templateField Keyword

2006-03-13 Thread Gregory Lypny
Thanks once again, Dan, Dave, and Jacqueline. I think I get it. When all is said and done, it seems that for development it's easier and faster to create a little stack of fields and other things with the features I want and simply copy and paste them into the project I'm working on.

Add your app to login items (Mac)

2006-03-13 Thread Paul Claude
There is a way to do a script that may add or delete your app to Mac Login Items (to auto run your app at Mac startup)? I know that you could read/write the loginwindow.plist, but there is a more simple way? I don't like to adopt and study complex XML libraries only for this target. Greetings

Re: Add your app to login items (Mac)

2006-03-13 Thread Klaus Major
Bonjour Paul, There is a way to do a script that may add or delete your app to Mac Login Items (to auto run your app at Mac startup)? I know that you could read/write the loginwindow.plist, but there is a more simple way? I don't like to adopt and study complex XML libraries only for

Re: Add your app to login items (Mac)

2006-03-13 Thread sims
At 3:23 PM +0100 3/13/06, Paul Claude wrote: There is a way to do a script that may add or delete your app to Mac Login Items (to auto run your app at Mac startup)? I know that you could read/write the loginwindow.plist, but there is a more simple way? I don't like to adopt and study complex

Re: .xxx files

2006-03-13 Thread Wally Rodriguez
Here you go. http://www.macosxhints.com/article.php?story=20051121091532444 have not tested these, but just trying to help... W. On Mar 12, 2006, at 4:20 PM, Wally Rodriguez wrote: I remember seeing a setting somewhere that turns off the copying of resource forks for drives that are not

Re: Add your app to login items (Mac)

2006-03-13 Thread Paul Claude
Thanks Klaus, I had thought about to this possibility, but I believed there was a way in order to work directly with login items... I must also check if creating an alias (or deleting it) in the startupItems folder needs an authentication. on 13-03-2006 15:40, Klaus Major at [EMAIL

Re: Add your app to login items (Mac)

2006-03-13 Thread sims
At 4:18 PM +0100 3/13/06, Paul Claude wrote: I had thought about to this possibility, but I believed there was a way in order to work directly with login items... I must also check if creating an alias (or deleting it) in the startupItems folder needs an authentication. The applescript I sent

Re: Add your app to login items (Mac)

2006-03-13 Thread Paul Claude
Ciao Sims, Thank you very much, I will test ASAP this Applescript. Greetings Paul Claude on 13-03-2006 15:43, sims at [EMAIL PROTECTED] wrote: tell application System Events get exists login item MyCoolProgram if result is false then make new login item at end of login items with

Re: Add your app to login items (Mac)

2006-03-13 Thread Klaus Major
Hi sims, At 3:23 PM +0100 3/13/06, Paul Claude wrote: There is a way to do a script that may add or delete your app to Mac Login Items (to auto run your app at Mac startup)? I know that you could read/write the loginwindow.plist, but there is a more simple way? I don't like to adopt and

Rev on Intel iMacs

2006-03-13 Thread Chris Condit
I used a couple of stand-alones on an iMac last week. They are both a big (20 to 29 meg programs that you can download from http://ddm.geo.umass.edu/ddm-svf/ and http://ddm.geo.umass.edu/ddm-ne) that essentially manage the integrated display of maps, images, field guides and analytical

Re: Making the move...

2006-03-13 Thread Jerry Daniels
Constellation doesn't use the Rev script editor menu. That function would make a good tool for the script editor toolbar, though. Best, Jerry Daniels Artists, Consultants Developers http://www.daniels-mara.com/art http://www.daniels-mara.com/products http://www.daniels-mara.com Voice:

QTVRs (was: Rev on Intel iMacs)

2006-03-13 Thread Ian Wood
2.7.1 !?! I just had a look at a QTVR file - zooming in and out was quite jerky, in fact the performance was appalling overall, frame rates must have been in single figures on a dual G5. On the other hand, simply showing a QTVR file is no longer using 100% of a processor... Ian On 13

Re: Turning imageData into alphaData (quickly)?

2006-03-13 Thread Wilhelm Sanke
On Mon Mar 13, 2006, Ian Wood revlist at azurevision.co.uk wrote: (snip) A handler that goes through each RGB pixel and reduce it to a grayscale value for use as alphaData was pretty easy, but for a 200x200px image that's 40,000 repeats, and takes minutes on a G5. on maskStuff put

Re: QTVRs (was: Rev on Intel iMacs)

2006-03-13 Thread Trevor DeVore
On Mar 13, 2006, at 8:31 AM, Ian Wood wrote: 2.7.1 !?! I just had a look at a QTVR file - zooming in and out was quite jerky, in fact the performance was appalling overall, frame rates must have been in single figures on a dual G5. On the other hand, simply showing a QTVR file is no

Re: Turning imageData into alphaData (quickly)?

2006-03-13 Thread Chipp Walters
I'd get rid of as much math as you can in the repeat loops. Precalculate your loop vars. But, I think you're pretty much stuck for now with the solution you have. We're working on an image external toolset which does this and much more. But it's not yet ready for primetime ;-) best, Chipp

Re: Making the move...

2006-03-13 Thread Josh Mellicker
On Mar 10, 2006, at 7:45 AM, Mvreade wrote: Hi, I've been playing with Revolution for a few days and am VERY impressed with its capabilities and ease of use. I do however, have a few questions and reservations, which hopefully you guys can answer. I found it a bit buggy (using a iBook

Re: Making the move...

2006-03-13 Thread Jerry Daniels
On Mar 13, 2006, at 1:16 PM, Josh Mellicker wrote: There is a 3rd party script editor called Constellation without which, in my opinion, Revolution is barely usable in a professional setting. That is one heckuva quote. Thanks, Josh. Best, Jerry Daniels 5 Reasons 12 Top Rev Developers

Re: activate

2006-03-13 Thread sims
At 12:18 PM -0600 3/13/06, Ken Ray wrote: On 3/13/06 4:45 AM, sims [EMAIL PROTECTED] wrote: On Windows is there some way to do the same? Here's a VBS version. NOTE: Pass it the *title* of the window, not the path to the app... this is how Windows locates running apps. Thanks a bunch Ken!

Re: activate

2006-03-13 Thread Ken Ray
On 3/13/06 4:45 AM, sims [EMAIL PROTECTED] wrote: On Windows is there some way to do the same? Here's a VBS version. NOTE: Pass it the *title* of the window, not the path to the app... this is how Windows locates running apps. Watch for line wraps: on VBS_AppActivate pTitle put format(set

Re: Thousands Separator on OSX

2006-03-13 Thread Peter T. Evensen
To me it seems the Rev engine should give one access to this setting... Has someone BZed it? At 07:24 PM 3/10/2006, you wrote: My brain is hurting try to get the current thousands separator on a Mac OS. I have tried put replaceText(shell(defaults read NSGlobalDomain

Re: The templateField Keyword

2006-03-13 Thread Dan Shafer
Gregory. Yep and you'll find that creating one or more libraries of scripts that you can use with start using will be another great productivity gain in Rev. On 3/13/06, Gregory Lypny [EMAIL PROTECTED] wrote: Thanks once again, Dan, Dave, and Jacqueline. I think I get it. When all is

Would this be a situation for a Front Script?

2006-03-13 Thread Garrett Hylltun
Rev 2.6.1 Greetings, I have about 200 objects on a card, and I want to have mouseEnter and mouseLeave handlers for all of them, but instead of writing code for each one, would it be better to just use a front script to intercept these events? All of them will do the same thing, which is

Re: Would this be a situation for a Front Script?

2006-03-13 Thread Chris Sheffield
Hi Garrett, Just use a group. Group all your fields together, then place your handlers in the group's script. You can use the target if necessary to determine which fields the script should refer to. No need for a front script. Chris On Mar 13, 2006, at 2:07 PM, Garrett Hylltun wrote:

Re: Would this be a situation for a Front Script?

2006-03-13 Thread Dave Cragg
On 13 Mar 2006, at 21:07, Garrett Hylltun wrote: I have about 200 objects on a card, and I want to have mouseEnter and mouseLeave handlers for all of them, but instead of writing code for each one, would it be better to just use a front script to intercept these events? Instead of a

Re: Turning imageData into alphaData (quickly)?

2006-03-13 Thread Ian Wood
On 13 Mar 2006, at 16:56, Wilhelm Sanke wrote: Hi Ian, I modified your script to the solution below, i.e. I took the script of my gray-scale button of my ImageData Toolkit and adapted it to your needs. The script is for a 640 X 480 image, meaning that more than about one million of

filter question

2006-03-13 Thread Chris Sheffield
I'm trying to apply a filter to a list field. The columns of the field are tab delimited. I have a separate filter field that allows the user to apply a filter to the list based on whichever column is the current sort column. I can get the filter to work fine so long as the first column

How to use checkbox in Rev?

2006-03-13 Thread Garrett Hylltun
Rev 2.6.1 Greetings, I must be missing something... I can't find any info on how to use the check box. How do I determine if the box is checked and not checked? And how would I set the check mark of it from within my own code? Thanks, -Garrett

Re: How to use checkbox in Rev?

2006-03-13 Thread Stephen Barncard
the hilite of btn x Rev 2.6.1 Greetings, I must be missing something... I can't find any info on how to use the check box. How do I determine if the box is checked and not checked? And how would I set the check mark of it from within my own code? Thanks, -Garrett

Re: How to use checkbox in Rev?

2006-03-13 Thread Garrett Hylltun
Stephen Barncard wrote: the hilite of btn x Rev 2.6.1 Greetings, I must be missing something... I can't find any info on how to use the Thanks! :-) -Garrett ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url

Re: Would this be a situation for a Front Script?

2006-03-13 Thread Garrett Hylltun
Dave Cragg wrote: On 13 Mar 2006, at 21:07, Garrett Hylltun wrote: I have about 200 objects on a card, and I want to have mouseEnter and mouseLeave handlers for all of them, but instead of writing code for each one, would it be better to just use a front script to intercept these events?

Re: filter question

2006-03-13 Thread Phil Davis
Hi Chris, To filter on column 3, are you using something like this? put fld list into tList filter tList \ with * tab * tab fld filter tab * put tList into fld list If so, it seems like that should work. Phil Davis Chris Sheffield wrote: I'm trying to apply a filter to a

Re: filter question

2006-03-13 Thread Sarah Reichelt
It might be faster to filter the list simply to reduce it to lines that contain the filter string anywhere, and then do a loop to check if the filter string is in the correct item. -- gather the original data and the required settings put fld List into tList put fld Filter into Filter put 3 into

Re: filter question

2006-03-13 Thread Chipp Walters
sort lines of field tFldName numeric by item 3 of each Chris Sheffield wrote: I'm trying to apply a filter to a list field. The columns of the field are tab delimited. I have a separate filter field that allows the user to apply a filter to the list based on whichever column is

Move stack problem

2006-03-13 Thread Yves COPPE
Hi list On MAC OS X Tiger 10.4.5 with rev 2.7 I've made a stack, one only, no substack and set the windowshape of this stack to an img. OK BUT I cannot move the stack. It appears on the screen and I cannot move this window to put it on another place of the screen. I've tried to grab

Re: Move stack problem

2006-03-13 Thread Sarah Reichelt
On MAC OS X Tiger 10.4.5 with rev 2.7 I've made a stack, one only, no substack and set the windowshape of this stack to an img. OK BUT I cannot move the stack. It appears on the screen and I cannot move this window to put it on another place of the screen. I've tried to grab the stack

Re: Move stack problem

2006-03-13 Thread Yves COPPE
Le 14 mars 06 à 07:47, Sarah Reichelt a écrit : Check out Klaus's Christmas tree stack http://www.major-k.de/staxx/xmastree1.rev.zip. When you use a window shape, you loose the title bar which is normally used for moving. You also lose the close button, so both these functions need to be

[OT] RevCentral Newsletter #7 [ANN] RevConWest is ALIVE!!!

2006-03-13 Thread Chipp Walters
Hey gang, Once again, another issue of RevCentral Newsletter is making the rounds. If haven't already seen it in your InBox, then you can subscribe (free) at: http://www.altuit.com/webs/revCentral/revCentralHome/default.htm This issue has all the news about RevConWest from Dan. Hope you take

[ANN] altSQLite ships Linux Version and more...

2006-03-13 Thread Chipp Walters
You altSQLite users are in for a treat. The new Linux version is out and it's a FREE upgrade to existing altSQLite3 users! Check out the altSQLite website for details: http://www.altuit.com/webs/altuit2/altSQLiteCover/default.htm Also, there's a new version of the Demo/Installer which