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 message would seem to make  
templateField unnecessary because you're changing the style of  
newly created fields using a script after they've been created,  
whereas the point of templateField is to set those properties  
before.  Am I misunderstanding what you've intended?



I think Dan's reply clears it up. There's no need to reset the  
templateField, although I learned it was a good idea back when I  
started with Metacard, and so have followed that advice like a good  
boy. ;-) I think the idea is that by immediately resetting the  
templatex, you don't leave any surprises around for the next time  
you create an object. But if you're solely in charge of what gets  
created, then I guess it doesn't matter.


The main point I wanted to make was that you should use create  
field in your own script to get a field that follows the template  
settings you have made. I don't think you can rely on the tool  
palette in the IDE to respect the settings you have made. I say this  
without knowing how the tool palette creates objects; I was just  
assuming it was likely to set the templateField itself before doing  
so. I also wasn't sure what the palette does after it has created an  
object, but Dan's reply suggests it sets back to the state it was in  
before.


Sorry for any confusion.

Dave

___
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: 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

delete any of the cards.

I move to the card I want to delete, choose object- delete card,  
say 'yes',
but nothing happens. A bug or am I missing something peculiar to  
RunRev?




Check whether you have the cantDelete property of the card set. You  
can see this in the card property inspector (Object menu - Card  
Inspector)


Cheers
Dave
___
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: 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 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 delete any of the cards.

 I move to the card I want to delete, choose object- delete card, say 
 'yes', but nothing happens. A bug or am I missing something peculiar 
 to RunRev?


Check whether you have the cantDelete property of the card set. You can see
this in the card property inspector (Object menu - Card
Inspector)

Cheers
Dave
___
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: 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 from Grenoble
André

Le Monday, 13 Mar 2006, à 00:38 Europe/Paris, Mark Schonewille a écrit :


Hi,

I know this problem was posted a month ago, but it appears that it was 
never answered.


There is a bug in the Revolution IDE that may cause the copy command 
to unhighlight any selected text. This seems not to happen in a 
standalone, though. So, before you try to create a workaround, build a 
standalone and see if the problem persists.


Best,

Mark

Jerry Muelver wrote:
For a helpdesk application, I have fields with hyperlinks in their 
text. The
fields have lockText and traversalOn both set to true, so the links 
will
work. The user can mouse-drag to select text, Ctrl-C to copy 
(highlight
disappears... oh, well...), and Ctrl-V in another app to paste. 
Perfect.

Just what I need for helpdesk and CRM applications.
However, only the first such select-and-copy works. Select another, 
and when
you paste you get the first selection. Select another, even from the 
field

after is is blanked and rewritten, and you can paste only the first
selection. Less than perfect
I've tried How do I allowing copying from lockText in the Help 
file, which

got me this far. Now I need, How do I copy again? to keep me going.





___
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


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 script that would work with
both OS X and Windows?

ciao,
sims

European Rev Conference  2006
www.techietours.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


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 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 the seconds into tStart
  put  into tMaskData
  put the imageData of img mask into tImgData
  put number of chars of tImgData / 4  return into fld status
  lock screen
  repeat with x = 1 to ((number of chars of tImgData) / 4)
if the mouse is down then exit to top
put charToNum(char (x*4)-2 of tImgData) into tR
put charToNum(char (x*4)-1 of tImgData) into tG
put charToNum(char (x*4) of tImgData) into tB
put the round of ((tR + tG + tB)/3) into tM
put numToChar(tM) after tMaskData
--put tM  return after fld status
  end repeat
  unlock screen
  put the seconds - tStart after fld status
end maskStuff

As the project is currently on a Mac I can use AppleScripts to do it  
all in Photoshop from two exported images (and makes it easy to add  
drop-shadows), but for future cross-platform use this is a no-no.


Any ideas for a faster way? Cross-platform command-line tools?

Ian Wood
Panoramic photography, from web to billboard, sunrise to moonrise
http://www.landmarksofbritain.co.uk
http://www.azurevision.co.uk


P.S. OS X 10.4.5, Rev 2.7 (haven't gone back and tried in 2.6 yet).
___
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: 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.

The following handler works on Mac, keeping the html form :

on copySelection
  if the selection is empty then   -- there is no selection then
   answer No selected text
   exit copySelection
 else
   copy the selectedText
   answer The selected text is in the clipboard
   end if
end copier

In order to try on Windows, I made another button, and I intercepted 
command c  using the handler of Jonathan (below).


Nevertheless, I needed to replace  the line if the selectedfield  
empty then by if the selection is empty then (or if the 
selectedText is empty as well).
The reason is that a single click in the field (without any text 
selected) is setting the selectedfield  empty to true (so that it 
is reporting The selected text is in the clipboard and then copying 
nothing).


I have not had the opportunity to test that on Windows yet.
I will inform you about the results as soon as I would have done it :-)


Best regards from Grenoble
André



Le Saturday, 11 Mar 2006, à 00:16 Europe/Paris, Jonathan Lynch a écrit :


This is how I would up doing it:

on RawKeyDown pKey
  if (pKey = 99 or pKey = 67) and the commandkey is down then
if the selectedfield  empty then
  put the selection into tSel
  put the htmltext of the selection into tSelHtml
  set the clipboarddata[text] to tSel
  set the clipboarddata[html] to tSelHtml
  select the selectedchunk
  exit rawkeydown
end if
  end if
  pass rawkeydown
end rawkeydown

This is adapted from a the rawkeydown handler in taskmage, which does a
bunch of other stuff that does not need to be included here.

I find this script works well, and allows you to copy both formatted 
and
unformatted text so that it can be copied from a rev application and 
pasted

into any other application.
___
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: 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 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 script that would work with
both OS X and Windows?

ciao,
sims

European Rev Conference  2006
www.techietours.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


___
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: 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 
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.


Perhaps the following might help?
Also, I think Chipp has done some work along those lines.

I have uploaded a series of images created with the ImageData Toolkit,
which is a modified version of my Colorpattern Toolkit
(http://www.sanke.org/ImageDataArt).


ciao,
sims

European Rev Conference  2006
www.techietours.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: 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 will look into the shell you mention...unless someone knows a 
better way...



ciao,
sims

European Rev Conference  2006
www.techietours.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: 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 answers... and here is mine.

  put 1a,2a,3a,4a,5a,6a into tFieldNames

  # build list of numbers
  put  into DisList
  repeat with K1 = 1 to 45
put K1 into item K1 of DisList
  end repeat

  #shuffle the list
  repeat 20
put the random of 45 into Fred
put item Fred ofDisList  , before DisList
delete item (Fred + 1) of DisList
  end repeat
  # for general-purpose scrambling, you might want to repeat this more than 
20 times.
  # in this case, however, we're only interested in the first six items. 
therefore,
  # 20 times should be (more than?) enough

  # put the first six items of DisList into the six fields
  repeat with K1 = 1 to the number of items in tFieldNames
put item K1 of DisList into fld (item K1 of tFieldNames)
  end repeat
___
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: 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.


Gregory

On Mon, Mar 13, 2006, at 4:48 AM, Dave Cragg wrote:


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 message would seem to make
templateField unnecessary because you're changing the style of
newly created fields using a script after they've been created,
whereas the point of templateField is to set those properties
before.  Am I misunderstanding what you've intended?



I think Dan's reply clears it up. There's no need to reset the
templateField, although I learned it was a good idea back when I
started with Metacard, and so have followed that advice like a good
boy. ;-) I think the idea is that by immediately resetting the
templatex, you don't leave any surprises around for the next time
you create an object. But if you're solely in charge of what gets
created, then I guess it doesn't matter.

The main point I wanted to make was that you should use create
field in your own script to get a field that follows the template
settings you have made. I don't think you can rely on the tool
palette in the IDE to respect the settings you have made. I say this
without knowing how the tool palette creates objects; I was just
assuming it was likely to set the templateField itself before doing
so. I also wasn't sure what the palette does after it has created an
object, but Dan's reply suggests it sets back to the state it was in
before.


___
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


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

Paul Claude


___
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: 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

this target.


very quick guess (not tested, but worth a try :-):
Maybe one could create an alias to the app in the folder Startupitems?
- Bootvolume/Library/Startupitems/


Greetings

Paul Claude


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
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: 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 XML libraries only for
this target.


 Applescript  (watch the word wrap so you get the path right):

tell application System Events
get exists login item MyCoolProgram
if result is false then
		make new login item at end of login items with 
properties {path:/Applications/MyCoolProgram.app, hidden:true, 
kind:application, name:MyCoolProgram}

end if
end tell


ciao,
sims

European Rev Conference  2006
www.techietours.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: .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 HFS+


Maybe a look at www.macosxhints.com might have some info on this.   
Can't do it myself right now...


w.

On Mar 10, 2006, at 6:03 AM, Francis Nugent Dixon wrote:


Hi Robert,

Sigh ! Well I suppose that is an obvious solution
that I hadn't even thought about.

And it represents no more than five minutes of
scripting time !

Back to the drawing board  !

Thanks

-Francis



I more or less guessed what the files were. My problem
is not what they are for, but HOW TO STOP THEM FROM
BEING COPIED, when I move from Mac to PC. Simply
because they are a PAIN ! Sometimes I copy folders with 200
or 300 files from my Mac to my PC, and I can tell you, ignoring
these .xxx files is not as easy as it looks !

-Francis


A job for a nifty Rev plugin (or just a function) that zaps those
files into oblivion given a folder path?



___
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



___
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: 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 PROTECTED] wrote:

 very quick guess (not tested, but worth a try :-):
 Maybe one could create an alias to the app in the folder Startupitems?
 - Bootvolume/Library/Startupitems/


___
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: 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 to the list was tested and works fine 
here...just ran it,

checked login items, rebooted and all worked fine.


ciao,
sims

European Rev Conference  2006
www.techietours.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: 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
 properties {path:/Applications/MyCoolProgram.app, hidden:true,
 kind:application, name:MyCoolProgram}
 end if
 end tell


___
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: 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 study complex XML libraries  
only for

this target.


 Applescript  (watch the word wrap so you get the path right):

tell application System Events
get exists login item MyCoolProgram
if result is false then
		make new login item at end of login items with properties {path:/ 
Applications/MyCoolProgram.app, hidden:true, kind:application,  
name:MyCoolProgram}

end if
end tell


very cool, sims :-)

Went straight into my archieves!


ciao,
sims

European Rev Conference  2006
www.techietours.com


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
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


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 
data.  The programs ran smoothly and were very responsive under 
Rosetta - no problems there.


Incidentally, has any one else had trouble with zooming into and out 
of QuickTime panoramas using 2.7.1?


Chrsi
--
Dr. Christopher D. Condit,  Associate Prof.,  Dept. of Geosciences
Univ. Massachusetts,  611 North Pleasant St., Amherst, MA, 01003-9297
[EMAIL PROTECTED]  413-545-0272
My Web Page:  http://www.geo.umass.edu/faculty/condit.htm
Revolution Dynamic Digital Maps: http://ddm.geo.umass.edu


___
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: 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: 512.879.6286
Skype: jerry.daniels



On Mar 12, 2006, at 2:14 PM, Stephen Barncard wrote:


Well, not while Constellation is active not there..


Stephen Barncard wrote:
I have never seen the Edit menu Copy as Formatted String. It is  
not in 2.7. I just checked.


Are you sure this isn't some kind of customization?


It's only available when the script editor is open.


--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
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


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 Mar 2006, at 15:56, Chris Condit wrote:

Incidentally, has any one else had trouble with zooming into and  
out of QuickTime panoramas using 2.7.1?


Chrsi


___
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: 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 the seconds into tStart
   put  into tMaskData
   put the imageData of img mask into tImgData
   put number of chars of tImgData / 4  return into fld status
   lock screen
   repeat with x = 1 to ((number of chars of tImgData) / 4)
 if the mouse is down then exit to top
 put charToNum(char (x*4)-2 of tImgData) into tR
 put charToNum(char (x*4)-1 of tImgData) into tG
 put charToNum(char (x*4) of tImgData) into tB
 put the round of ((tR + tG + tB)/3) into tM
 put numToChar(tM) after tMaskData
 --put tM  return after fld status
   end repeat
(snip)
Any ideas for a faster way? Cross-platform command-line tools?

Ian Wood
Panoramic photography, from web to billboard, sunrise to moonrise
http://www.landmarksofbritain.co.uk




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 chars have to be processed (640 * 480 * 3)

Running the script takes *one* second on my Windows XP computer (2 GHz):

on mouseUp
 set the cursor to watch
 put the milliseconds into Start
 put the imageData of image 2 into iData
 put empty into tmaskdata
 put 2560 into re # i.e. 640 * 4
 repeat with i = 0 to 479
   repeat with j = 0 to 639
 put  chartonum(char (i*re + (j*4+2)) of idata) into tC1
 put chartonum(char (i*re + (j*4+3)) of idata) into tC2
 put  chartonum(char (i*re + (j*4+4)) of idata) into tC3
 put the round of ((tc1 + tc2 + tc3)/3) into tM
 put numToChar(tM) after tMaskData
   end repeat
 end repeat
 put the milliseconds - Start into fld test
end mouseUp

Best regards,

Wilhelm Sanke
http://www.sanke.org/MetaMedia
http://www.sanke.org/ImageDataArt



___
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: 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 longer using 100% of a processor...


This is a result of the Rev transition to the newer QuickTime APIs  
that report how often an application needs to idle QuickTime movies.   
How often you idle a QTVR determines how smooth the playback is.  It  
should be fixed in the 2.7.1 release but for the time being you can  
reduce the idleRate property to something like 10 and see really  
smooth playback.



--
Trevor DeVore
Blue Mango Learning Systems - http://www.bluemangolearning.com
[EMAIL PROTECTED]


___
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: 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

sims wrote:



Also, I think Chipp has done some work along those lines.


___
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: 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 G4, 1G of memory, on OSX  
10.4).  The property inspector went blank a few times, the  
application crashed once, the sample database query in the example  
solutions was updating records, demo videos weren't displaying, to  
mention a few.


After 10 years of developing applications in Director and Filemaker,  
5 years of Flash  LiveStage Pro, a couple years of PHP/MySQL and  
doing some thorough exploration and testing with RealBasic and Ruby  
on Rails I plan to (try to) create most every project in Revolution  
from here on out.


Bottom line: The ability to switch tools and instantly run the app  
without any 'compiling' eliminates RealBasic, Java, C++ and many  
other options for me. The superior Quicktime performance, card  
paradigm and database implementation beats Director. The ease of  
coding with Constellation beats Flash Studio. The ease of integrating  
MySQL beats FileMaker. The interface consistency, speed and  
reliability beats Ruby on Rails.


I have seen various descriptions of noobs like me as they travel  
those first few wobbly steps- the aha factor, etc.


I think of as a kind of love/dismay relationship... Revolution in  
many ways is so powerful and fast to produce results it lives up to  
any hype you've heard. On the other hand the dev environment is buggy  
(for me anyway), some commands just don't work or work in clearly  
different ways than intended, sometimes I have to force quit (thanks  
for Constellation autosave) but the final standalone product is rock- 
solid- 3,000+ users of one app developed by Fourth World for us with  
zero problems or problems- that's right folks, ZERO! Director  
projects have always at best demonstrated scattered incompatibilities  
with certain OS/QT combos and sometimes severe performance problems.


There is a 3rd party script editor called Constellation without  
which, in my opinion, Revolution is barely usable in a professional  
setting.


For a small user base, there is excellent support available on this  
email list and on the websites of the major developers.


I am currently (attempting to) develop a system utilizing a remote  
MySQL multiuser database (12 tables currently, will probably end up  
at 20) and I'm amazed at well it's going whenever I have time to  
devote to it. It's fast, reliable, solid and once you figure out what  
works, it works every time.


I can now do in 10-15 minutes what it takes a Rails expert an hour or  
more to do- and that's with a framework app!


I hope soon Rev gets Guy Kawasaki for Marketing VP and sells millions  
of copies and is able to subsidize the hero pioneers efforts who  
without which Rev would die a quick death, the Kens, Richards,  
Jerrys, Jans, and so on, and fix all the bugs and make the wish list  
come true... but until then, I will use it anyway!





So the quesiton is, how good of an environment to work on is it?

And how stable are the final applications?

For users who have used Rev for databases, I was wondering what  
it's like to develop a system with, say, 20 tables and lots or  
relationships and methods?


Where would one store all the methods?


I am currently storing functions, scripts and even data in fields on  
a data card, it's great seeing your variables live!




For relationships, would one just keep a VERYlong list of Database  
Queries?


Finally, does any one know if Runtime Revolution Ltd has any plans  
to have a connection to an open source, embeddable database, such  
as SQLite?


Thanks for your help,

Michael Reade


___
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: 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 Use to Constellation!
http://daniels-mara.com/products/5reasons.htm

Voice: 512.879.6286
Skype: jerry.daniels



___
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: 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!

ciao,
sims

European Rev Conference  2006
www.techietours.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: 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 WshShell = WScript.CreateObject(\WScript.Shell\)) into
tVBS
  put tVBS  cr  WshShell.AppActivate  quote  pTitle  quote into tVBS
  put C:\vbs_temp.vbs into tVBSPath
  put tVBS into url (file:  tVBSPath)
  set the hideConsoleWindows to true
  get shell(cscript.exe //nologo  tVBSPath)
  put it into tResult
  if there is a file tVBSPath then
send delete file  quote  tVBSPath  quote to me in 1 second
  end if
  if tResult   then return Error:   tResult
end VBS_AppActivate


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]

___
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: 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
NSThousandsSeparator),(\s|\(|\)),) into gThousandsSeparator

but nothing.

OS X 10.4.5

Any help much appreciated.


Steve  Flavel



___
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


Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-628-4588 


___
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: 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 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.

 Gregory

 On Mon, Mar 13, 2006, at 4:48 AM, Dave Cragg wrote:

  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 message would seem to make
  templateField unnecessary because you're changing the style of
  newly created fields using a script after they've been created,
  whereas the point of templateField is to set those properties
  before.  Am I misunderstanding what you've intended?
 
 
  I think Dan's reply clears it up. There's no need to reset the
  templateField, although I learned it was a good idea back when I
  started with Metacard, and so have followed that advice like a good
  boy. ;-) I think the idea is that by immediately resetting the
  templatex, you don't leave any surprises around for the next time
  you create an object. But if you're solely in charge of what gets
  created, then I guess it doesn't matter.
 
  The main point I wanted to make was that you should use create
  field in your own script to get a field that follows the template
  settings you have made. I don't think you can rely on the tool
  palette in the IDE to respect the settings you have made. I say this
  without knowing how the tool palette creates objects; I was just
  assuming it was likely to set the templateField itself before doing
  so. I also wasn't sure what the palette does after it has created an
  object, but Dan's reply suggests it sets back to the state it was in
  before.

 ___
 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




--
~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, Revolution: Software at the Speed of Thought
From http://www.shafermediastore.com/tech_main.html
___
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


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 change the color of the 
background of each object on enter and then change it back on leaving. 
I have the objects named individually like this box1 all the way 
through box200.  So determining which object fired the event is not an 
issue.


But I don't have any experience with front scripts, so I don't know if 
this would be a situation where a front script would be of benefit or 
not.  If so, can someone point me to a tutorial on front scripts?


Thanks,
-Garrett
___
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: 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:


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 change the color of  
the background of each object on enter and then change it back on  
leaving. I have the objects named individually like this box1 all  
the way through box200.  So determining which object fired the  
event is not an issue.


But I don't have any experience with front scripts, so I don't know  
if this would be a situation where a front script would be of  
benefit or not.  If so, can someone point me to a tutorial on front  
scripts?


Thanks,
-Garrett
___
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


--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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: 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 front script, handlers in the card script would probably  
be easier. This takes advantage of the Rev message hierarchy. If the  
mouseEnter and mouseLeave messages aren't handled in the objects  
themselves, the messages pass on to the card.




All of them will do the same thing, which is change the color of  
the background of each object on enter and then change it back on  
leaving. I have the objects named individually like this box1 all  
the way through box200.  So determining which object fired the  
event is not an issue.


Small suggestion, although perhaps not so important in this case.  
When you have many items named basically the same but appended with a  
number, I find it more useful to make the names into two words. For  
example, box 1, box 2, box 115, etc. Then it's easy to get the  
numbered part by using word 2 of the short name of whatever.


The handlers in this case might look like this:

## in card script

  on mouseEnter
if word 1 of the short name of the target is box then
   set the backcolor of the target to color
end if
  end mouseEnter

  on mouseLeave
if word 1 of the short name of the target is box then
   set the backcolor of the target to color
end if
  end mouseLeave

Cheers
Dave



___
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: 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 chars have to be processed (640 * 480 * 3)
Running the script takes *one* second on my Windows XP computer (2  
GHz):


on mouseUp
 set the cursor to watch
 put the milliseconds into Start
 put the imageData of image 2 into iData
 put empty into tmaskdata
 put 2560 into re # i.e. 640 * 4
 repeat with i = 0 to 479
   repeat with j = 0 to 639
 put  chartonum(char (i*re + (j*4+2)) of idata) into tC1
 put chartonum(char (i*re + (j*4+3)) of idata) into tC2
 put  chartonum(char (i*re + (j*4+4)) of idata) into tC3
 put the round of ((tc1 + tc2 + tc3)/3) into tM
 put numToChar(tM) after tMaskData
   end repeat
 end repeat
 put the milliseconds - Start into fld test
end mouseUp

Best regards,

Wilhelm Sanke
http://www.sanke.org/MetaMedia
http://www.sanke.org/ImageDataArt


Wow! The 200x200 image processed in 200ms.

And making a universal version to work with any image dimensions is  
trivial, just change a few lines and make it a function, just pass  
the name of the img - or to be safer, edit to make it run off the  
long ID...


function makeMask tMaskImg
  set the cursor to watch
  put width of tMaskImg into tW
  put height of tMaskImg into tH
  put the milliseconds into Start
  put the imageData of tMaskImg into iData
  put empty into tmaskdata
  put tW * 4 into re
  repeat with i = 0 to (tH - 1)
repeat with j = 0 to (tW - 1)
  put  chartonum(char (i*re + (j*4+2)) of idata) into tC1
  put chartonum(char (i*re + (j*4+3)) of idata) into tC2
  put  chartonum(char (i*re + (j*4+4)) of idata) into tC3
  put the round of ((tc1 + tc2 + tc3)/3) into tM
  put numToChar(tM) after tMaskData
end repeat
  end repeat
  return tMaskData
end makeMask

Thanks a lot,

Ian
___
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


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 is selected, but anything else does not  
work.


How can I apply a filter to a list based on say item 3 of each line  
of that list?  Is that possible?


Thanks,
Chris


--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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


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
___
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: 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
___
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



--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
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: 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 to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


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?


Instead of a front script, handlers in the card script would probably be 


Thanks Dave, and Chris too.  :-)

-Garrett
___
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: 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 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 is selected, but anything else does not  work.


How can I apply a filter to a list based on say item 3 of each line  of 
that list?  Is that possible?


Thanks,
Chris


--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.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: 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 tItemNum

-- do the first filter to reduce the list
filter tList with *  tFilter  *

-- loop through making sure it appears in the right item
put empty into tMatches
repeat for each line L in tList
  if item tItemNum of L contains tFilter then put L  cr after tMatches
end repeat

-- remove the trailing cr
delete last char of tMatches

-- display the matching results
put tMatches into fld Results


Cheers.
Sarah

On 3/14/06, Phil Davis [EMAIL PROTECTED] wrote:
 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 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 is selected, but anything else does not  work.
 
  How can I apply a filter to a list based on say item 3 of each line  of
  that list?  Is that possible?
 
  Thanks,
  Chris
 
 
  --
  Chris Sheffield
  Read Naturally
  The Fluency Company
  http://www.readnaturally.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

___
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: 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 the 
current sort column.  I can get the filter to work fine  so long as the 
first column is selected, but anything else does not  work.


___
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


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 the stack with the mouse every possible point of the window : it  
doesn't move !


Any idea how i can proceed ?

Thank you.



Greetings.

Yves COPPE
[EMAIL PROTECTED]

___
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: 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 with the mouse every possible point of the window : it
 doesn't move !


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 allowed for in another way. Have a look at the
scripts in Klaus's stack and you'll see how this can be done.

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


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 allowed for in another way. Have a look at the
scripts in Klaus's stack and you'll see how this can be done.

Cheers,
Sarah


Thank you Sarah. it's just the answer to my question.

Greetings.

Yves COPPE
[EMAIL PROTECTED]

___
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


[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 
time to check it out!


If you're not subscribed, you can view the newsletter at:
http://www.altuit.com/webs/revCentral/Number7/default.htm

-Chipp

___
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


[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 installs the 
connector and QueryBuilder files correctly on Rev 2.7.


Plus, Mac users now get a free update to altSQLite3 which fixes a few 
obscure bugs, and updates the SQLite version so it's more compatible 
with other open source SQLite products.


Enjoy,
Chipp

___
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