Re: deleting lines from a list-field

2008-06-23 Thread Nicolas Cueto
> Why not sort the hilitedLines first?

Thanks Jan but, the line order has to
remain as is, or else my users
would get distracted/confused by
the visual effect.

-- Nicolas Cueto
___
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 lines from a list-field

2008-06-23 Thread Jan Schenkel
--- Nicolas Cueto <[EMAIL PROTECTED]> wrote:
> I'm hoping there's an elegant
> way of doing the following,
> cause my "solution" is pretty
> messy.
> 
> I have a locked field set to
> list-behavior, multiline, and
> non-contiguous. Now, say
> that in that field there are
> 10 lines, of which the user
> has selected lines 1, 3-to-6
> and 8 for deletion.
> 
> My first solution so far is to
> put a mouseDouble up
> handler in the field and then
> use the field's hilitedline
> property, something like this:
> 
> on mouseDoubleUp
>   put the hilitedline of me into tLinesToDelete
> repeat for each item tLineNr in tLinesToDelete
> delete line tLineNr of me
> end repeat
> end mouseDoubleUp
> 
> But, of course, the problem with
> this is that after the first deletion
> the line numbers in hilitedLine
> no longer correspond to the
> actual line numbers in the field.
> 
> Like I say, I've kludged up one
> possibile way of doing this, but
> there's got to be a better way,
> isn't there?
> 
> Thanks.
> 
> --
> Nicolas Cueto
>

Hi Nicolas,

Why not sort the hilitedLines first?
##
put the hilitedLines of me into tHilitedLines
sort items of tHilitedLines numeric descending
repeat for each item tLineNumber in tHilitedLines
  delete line tLineNumber of me
end repeat
##

Hope this helped,

Jan Schenkel.

Quartam Reports & PDF Library for Revolution


=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)


  
___
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


Transparency of Background in Fields

2008-06-23 Thread Sivakatirswami
Is there a feature request in already to the blend property of just the 
background of fields?  i.e we want the type to remain 100 opaque will 
setting some transparency to the background.  Of course this can be 
accomplished with a background field underneath and the field on top 
being completely transparent, but this is such a "kludge" and an 
unexpected gap in functionality for newbies coming from a more 
sophisticated page layout and graphics world, not to speak of the added 
layer of scripting need if one gets into geometry changes on resize.


___
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 lines from a list-field

2008-06-23 Thread Nicolas Cueto
> Count backwards :-)

Na-ru-ho-do...

I knew there'd be a simple way.
Thanks Sarah.

-- Nicolas Cueto
___
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 lines from a list-field

2008-06-23 Thread Sarah Reichelt
On Tue, Jun 24, 2008 at 12:57 PM, Nicolas Cueto <[EMAIL PROTECTED]> wrote:
> I'm hoping there's an elegant
> way of doing the following,
> cause my "solution" is pretty
> messy.
>
> I have a locked field set to
> list-behavior, multiline, and
> non-contiguous. Now, say
> that in that field there are
> 10 lines, of which the user
> has selected lines 1, 3-to-6
> and 8 for deletion.
>
> My first solution so far is to
> put a mouseDouble up
> handler in the field and then
> use the field's hilitedline
> property, something like this:
>
> on mouseDoubleUp
>  put the hilitedline of me into tLinesToDelete
>repeat for each item tLineNr in tLinesToDelete
>delete line tLineNr of me
>end repeat
> end mouseDoubleUp
>
> But, of course, the problem with
> this is that after the first deletion
> the line numbers in hilitedLine
> no longer correspond to the
> actual line numbers in the field.

Count backwards :-)

repeat with x = the number of items in tLinesToDelete down to 1
   put item x of tLinesToDelete into tLineNr
   delete line tLineNr of me
end repeat

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: How to select a cell instead of a line in a table

2008-06-23 Thread -= JB =-

You mentioned you cannot get the formatted text of a cell.

Did you notice I upgraded the stack Dynamic Table Field and now
it includes the ability to copy and paste to a cell?

-=>JB<=-



On Jun 23, 2008, at 3:37 PM, Kresten Bjerg wrote:


Thanks to JB & Jacqueline for support on this.
Jacqueline: I tried your solutions in several ways, but no way to  
get the formatted text of the cell,

even with the html solution, - only a description of it as chunk.

Grateful for the help
Kresten

___
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


deleting lines from a list-field

2008-06-23 Thread Nicolas Cueto
I'm hoping there's an elegant
way of doing the following,
cause my "solution" is pretty
messy.

I have a locked field set to
list-behavior, multiline, and
non-contiguous. Now, say
that in that field there are
10 lines, of which the user
has selected lines 1, 3-to-6
and 8 for deletion.

My first solution so far is to
put a mouseDouble up
handler in the field and then
use the field's hilitedline
property, something like this:

on mouseDoubleUp
  put the hilitedline of me into tLinesToDelete
repeat for each item tLineNr in tLinesToDelete
delete line tLineNr of me
end repeat
end mouseDoubleUp

But, of course, the problem with
this is that after the first deletion
the line numbers in hilitedLine
no longer correspond to the
actual line numbers in the field.

Like I say, I've kludged up one
possibile way of doing this, but
there's got to be a better way,
isn't there?

Thanks.

--
Nicolas Cueto
___
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: Print card -- inconsistent results -- clarification

2008-06-23 Thread Timothy Miller

Thanks Bill and Jacque.

I keep thinking I have isolated it, then it turns out I haven't.

I'll chip away at it for as long as necessary. If I ever really,  
really isolate it. Maybe I can solve it. If I figure it out, I'll  
check back in.


Cheers,


Tim


On Jun 21, 2008, at 6:40 AM, william humphrey wrote:




What is it?



Magic.
Why not try (using original stack) generating an output from your  
data to a
substack and a new card in that substack and see if that prints ok?  
I do all

my printing that way anyway to get more control.

Bill
___
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: more focus in field problems

2008-06-23 Thread Nicolas Cueto
I have resolved the problem.
I forgot to include a secondary
stack, and so the mainstack
script's call to a field in that
non-existing stack would
obviously fail.

Sorry for the trouble,
and thanks for the help.

-- Nicolas Cueto
___
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: Clearing Dead Groups

2008-06-23 Thread J. Landman Gay

Mikey wrote:

Weird.  Well, that eventually worked.  I couldn't actually delete or clear
the groups or the objects, whether from the card editor or the application
browser.  I actually had to place the groups, then ungroup them, then delete
the objects manually in order to clear them out.


I can usually delete most anything using the App Browser, but the window 
doesn't always update right. Sometimes I have to close it and re-open 
it, or view a different stack in it, to force it to refresh. I don't 
know if that's was the problem in this case though.


But if you know the group is there, you can always just remove it using 
the message box:


  delete bg "nonplacedBg"

The group doesn't have to be placed or visible for that to work. You 
won't get any warnings though, it will just disappear and isn't 
undo-able. Also, when no group is placed on a card, you have to refer to 
it as a "background" or the engine won't find it.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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: Error

2008-06-23 Thread J. Landman Gay

Hershel Fisch wrote:

I got a recipe to be checked out

Create a New main stack, Put a new btn, in the btn put a script,
"on mouseUp
  go to stack "non existent"
End mouseUp"
And save the stack.
When clicking on the btn,
1) no error comes up,


Failure to go to a stack is a silent error. You have to get the result 
after the "go" command to see if it actually suceeded or not.



2) when trying to edit the btn script, the following error comes up and
doesn't let edit the script.

" executing at 7:27:33 PM
TypeFunction: error in function handler
ObjectrevNewScriptEditor 1
Lineput seGetRuggedId(pObject) into tObject
HintseGetRuggedId"


I don't have any trouble editing your example script, even in the latest 
Rev test release. Try going back to version 2.9. The new script editor 
is still under development and isn't recommended for production work. 
You should probably report the script editor bug at the QCC though.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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: GUID generator

2008-06-23 Thread Andre Garzia
I still waiting for my _internal call "give-me-threads"   :-)


On Mon, Jun 23, 2008 at 4:49 PM, Ken Ray <[EMAIL PROTECTED]> wrote:
>> Where was that discovered, and what other goodies can be found there?
>
> I discovered it accidentally - after you build a standalone, if you have the
> message box open and choose "Revolution UI Elements In Lists" from the View
> menu, and then look at the stacks in use (the last btn on the right), you
> see an entry for "revSBLibrary". Edit its script and look at the function
> "revSBGenerateUUID"...
>
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: [EMAIL PROTECTED]
> Web Site: http://www.sonsothunder.com/
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



-- 
http://www.andregarzia.com All We Do Is Code.
___
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: Error

2008-06-23 Thread Hershel Fisch
On 6/16/08 6:42 PM, "Jan Schenkel" <[EMAIL PROTECTED]> wrote:

> --- Hershel Fisch <[EMAIL PROTECTED]> wrote:
>> On 6/13/08 2:51 PM, "Mark Schonewille"
>> <[EMAIL PROTECTED]>
>> wrote:
>> 
>>> What is the "activity" the stack is doing?
>> Doing some SQL stuff.
>> Hershel
> 
> Are you using automated database queries on Rev 2.9?
> If so, have you tried opening the stacks in 2.8.1 and
> does it work properly there?
> Then you might have hit quality center item #6564.
> Hopefully this will be fixed shortly.
No, and I removed the database stuff and the same thing occurs.
 Hershel
> 
> Jan Schenkel.
> 
> Quartam Reports & PDF Library for Revolution
> 
> 
> =
> "As we grow older, we grow both wiser and more foolish at the same time."  (La
> Rochefoucauld)
> 
> 
> 
> ___
> 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: Error

2008-06-23 Thread Hershel Fisch
On 6/13/08 1:35 PM, "Hershel Fisch" <[EMAIL PROTECTED]> wrote:

> Hi, I'm wondering what could be that when I use a stack under "remove
> development tools" it triggers an error and other wise it does not. It
> happens on osx 10.3.9 from 2.9 and up only.
> Hershel
> 

I think I got a bit further with the problem maybe it will it easier to
figure it out.

I got a recipe to be checked out

Create a New main stack, Put a new btn, in the btn put a script,
"on mouseUp
  go to stack "non existent"
End mouseUp"
And save the stack.
When clicking on the btn,
1) no error comes up,
2) when trying to edit the btn script, the following error comes up and
doesn't let edit the script.

" executing at 7:27:33 PM
TypeFunction: error in function handler
ObjectrevNewScriptEditor 1
Lineput seGetRuggedId(pObject) into tObject
HintseGetRuggedId"

Trying to help, Hershel
> ___
> 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: Clearing Dead Groups

2008-06-23 Thread Mikey
Weird.  Well, that eventually worked.  I couldn't actually delete or clear
the groups or the objects, whether from the card editor or the application
browser.  I actually had to place the groups, then ungroup them, then delete
the objects manually in order to clear them out.

Anyway, as usual, thanks, all.
-- 
Frank Lloyd Wright  - "TV is chewing gum for the eyes."
___
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 select a cell instead of a line in a table

2008-06-23 Thread Kresten Bjerg
Thanks to JB & Jacqueline for support on this.
Jacqueline: I tried your solutions in several ways, but no way to get the 
formatted text of the cell, 
even with the html solution, - only a description of it as chunk. 
The fact of different fonts may be an explanation.
Reconsidering the matter I found a way, because the glyph-font of first 
character in each cell
 is the same in a table, so JBs Dynamic table handler is now used to extract 
the plain characters, 
and the glyphfont specific for a given table is added as a global, - for the 
relevant handler in the stackscript. 
Grateful for the help
Kresten
___
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: Clearing Dead Groups

2008-06-23 Thread J. Landman Gay

Mikey wrote:

I believe this is untrue.  I'm using 2.9.1.  This stack has three cards, and
nowhere on any of the three cards do any of the dead groups appear, yet they
appear in the Place menu.



You can have groups that exist but are not placed on any card. If so, 
then they will appear in the Place menu even though they aren't visible 
anywhere. Try placing one of the groups in the menu and see what you 
get. Once it is actually on a card, you can delete it from the entire stack.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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: Sample Project - Video Capture

2008-06-23 Thread Glen Bojsza
Thanks Devin,

I'll take a look and let you know my results.

Glen

On Mon, Jun 23, 2008 at 5:05 PM, Devin Asay <[EMAIL PROTECTED]> wrote:

>
> On Jun 23, 2008, at 3:18 PM, Glen Bojsza wrote:
>
>  Hello,
>>
>> I am playing with the Video Capture stack that comes with Revolutions
>> Sample
>> projects on OS X 10.5.1 and QT 7.4
>>
>> I cannot get the video to record at a greater size than 281x239 even
>> though
>> I have resized the image "video" to 640x480 which the way the stack sets
>> the
>> video record size to. I have also given specific rect numbers with the
>> same
>> result.
>>
>> I was wondering if anybody has had similar problems with using Rev on OS X
>> and recording size.
>>
>
> Hi Glen,
>
> I don't know if I can answer your specific question, but a few weeks back I
> needed to create a video capture app, and I went through all of the
> videoGrabber commands and combed through the sample stack. What I found was
> that the sample stack was unreliable for me, so I worked out a process that
> seemed reliable and made my own sample stack. Then I wrote it all up and you
> can read about it at .
> There are also directions there for downloading my sample stack.
>
> Hopefully these materials will help you to find a clue to sorting out your
> troubles.
>
> Regards,
>
> Devin
>
> Devin Asay
> Humanities Technology and Research Support Center
> Brigham Young University
>
> ___
> 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: Sample Project - Video Capture

2008-06-23 Thread Devin Asay


On Jun 23, 2008, at 3:18 PM, Glen Bojsza wrote:


Hello,

I am playing with the Video Capture stack that comes with  
Revolutions Sample

projects on OS X 10.5.1 and QT 7.4

I cannot get the video to record at a greater size than 281x239  
even though
I have resized the image "video" to 640x480 which the way the stack  
sets the
video record size to. I have also given specific rect numbers with  
the same

result.

I was wondering if anybody has had similar problems with using Rev  
on OS X

and recording size.


Hi Glen,

I don't know if I can answer your specific question, but a few weeks  
back I needed to create a video capture app, and I went through all  
of the videoGrabber commands and combed through the sample stack.  
What I found was that the sample stack was unreliable for me, so I  
worked out a process that seemed reliable and made my own sample  
stack. Then I wrote it all up and you can read about it at revolution.byu.edu/video/videoGrabber.php>. There are also directions  
there for downloading my sample stack.


Hopefully these materials will help you to find a clue to sorting out  
your troubles.


Regards,

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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: Where is the web site?

2008-06-23 Thread James Hurley


Wilhelm Sanke wrote:

Thanks Wilhelm. I have submitted the request the the site you cited.  
I think it should be very easy for RR to include the clickWord  
function in the Revolution vocabulary.


And thanks for the extension. I try it out.

Jim Hurley




The website for reporting bugs and enhancements is

 or


I second you enhancement request.

Your "kludge"-solution is surely one of the best you can come up  
with in

Revolution. The only problem you could encounter is the case when the
text of the line contains more than one instance of the word, because
wordoffset always finds the *first* instance of the word and not
necessarily the word you clicked at.

In a related context - getting the wordnumber of a clicked-at word  
in a

field and at the same time hilite the clicked word - I have found the
following solution:

Script of the text field:

on mouseUp
  Global gchunk, gtext
  put the mousechunk into gchunk
  put the mousetext into gtext
  send "mouseup" to btn "wordoffset"
end mouseUp

Script of btn "wordoffset":

on mouseUp
  Global gchunk, gtext
  put fld 1 into tField
  put tfield into tfield2
  put word 2 of gchunk into tBegin
  put "#" before char tBegin of Tfield2
  put "#" before gtext
  put wordoffset(gtext,tfield2) into tword
  put "word" &&tword&&"in field 1" into fld "wordnumber"
  set the traversalon of fld 1 to true
  select word tword of fld 1
 end mouseUp


___
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


Sample Project - Video Capture

2008-06-23 Thread Glen Bojsza
Hello,

I am playing with the Video Capture stack that comes with Revolutions Sample
projects on OS X 10.5.1 and QT 7.4

I cannot get the video to record at a greater size than 281x239 even though
I have resized the image "video" to 640x480 which the way the stack sets the
video record size to. I have also given specific rect numbers with the same
result.

I was wondering if anybody has had similar problems with using Rev on OS X
and recording size.

thanks,

Glen
___
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: Setting Geometry Manager Properties For A Stack

2008-06-23 Thread Mikey
As usual, the answer is so simple.  I am completely brain-mashed from too
many years of tools that aren't so reasonable.

-- 
Arnold Schwarzenegger  - "I have a love interest in every one of my films -
a gun."
___
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: GUID generator

2008-06-23 Thread Robert Sneidar

Oh, don't tell em! Now they are gonna hide it!! ;-)

Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM

On Jun 23, 2008, at 12:49 PM, Ken Ray wrote:


Where was that discovered, and what other goodies can be found there?


I discovered it accidentally - after you build a standalone, if you  
have the
message box open and choose "Revolution UI Elements In Lists" from  
the View
menu, and then look at the stacks in use (the last btn on the  
right), you
see an entry for "revSBLibrary". Edit its script and look at the  
function

"revSBGenerateUUID"...

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


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
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: Setting Geometry Manager Properties For A Stack

2008-06-23 Thread Ken Ray



On 6/23/08 2:25 PM, "Mikey" <[EMAIL PROTECTED]> wrote:

> I'm trying to limit a stack from being resized smaller beyond a particular
> point.  I've got all the objects on the stack resizing or moving the way I'd
> like them to, but I'd like to keep the user from making the stack too small
> to the point where the controls on the right and toward the bottom are gone
> because there isn't room to display them.  I've tried applying limits to the
> objects on the stack, but that doesn't seem to do it, rather that seems to
> just maintain the geometry and position of the objects relative to the stack
> window size.

How about setting the 'maxHeight' and 'maxWIdth' of the stack?

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


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Setting Geometry Manager Properties For A Stack

2008-06-23 Thread Martin Baxter
Mikey wrote:
> I'm trying to limit a stack from being resized smaller beyond a particular
> point. 
> 

Mikey,

You can set the minwidth and minheight properties of the stack in the
property inspector - size and position pane.

Martin Baxter

-- 
I am Not a Number, I am a free NaN
___
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: GUID generator

2008-06-23 Thread Ken Ray
> Where was that discovered, and what other goodies can be found there?

I discovered it accidentally - after you build a standalone, if you have the
message box open and choose "Revolution UI Elements In Lists" from the View
menu, and then look at the stacks in use (the last btn on the right), you
see an entry for "revSBLibrary". Edit its script and look at the function
"revSBGenerateUUID"...

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


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Setting Geometry Manager Properties For A Stack

2008-06-23 Thread Mikey
I'm trying to limit a stack from being resized smaller beyond a particular
point.  I've got all the objects on the stack resizing or moving the way I'd
like them to, but I'd like to keep the user from making the stack too small
to the point where the controls on the right and toward the bottom are gone
because there isn't room to display them.  I've tried applying limits to the
objects on the stack, but that doesn't seem to do it, rather that seems to
just maintain the geometry and position of the objects relative to the stack
window size.

-- 
Frank Lloyd Wright  - "TV is chewing gum for the eyes."
___
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: what actually happens when sending a message out of a repeat loop?

2008-06-23 Thread Jan Schenkel
--- Eric Chatonet <[EMAIL PROTECTED]>
wrote:
> Bonjour Richard et Sivakatirswami,
> 
> Le 23 juin 08 à 18:45, Richard Gaskin a écrit :
> 
> > Also, in polling timers I've found it very helpful
> to first check  
> > to see if a message is already queued before
> queueing it again, e.g.:
> >
> >  on DoPolling
> >DoSomething
> >if "DoPolling" is not in the pendingMessages
> then
> >  send "DoPolling" to me in 200 millisecs
> >end if
> >  end DoPolling
> 
> I agree so much that I think that the engine itself
> could ignore sent  
> messages that are already in the pending messages
> except when the  
> delay is zero.
> 
> Best regards from Paris,
> Eric Chatonet.
> 

Hi Eric et al,

While I can see the advantages of Revolution
'collapsing' requests, I'm not sure this should be the
default behaviour - and definitely not if there are
parameters involved, as the sequence then becomes very
important.
Plus, what about timers that run every minute?

Jan Schenkel.

Quartam Reports & PDF Library for Revolution


=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)


  
___
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: detecting color beneath img object

2008-06-23 Thread Barry Barber
Thank you Thomas,

I have been experimenting with your idea and it seems feasable.
I was looking for an excuse to buy AE so thanks for the nudge!This seems to a 
good moment for it too.

STOP may be suitable acronynm  though - defined by Tom Clancy  as "Sudden 
Termination Of Project"
Barry



  ___ 
Scopri il Blog di Yahoo! Mail: trucchi, novità, consigli... e la tua opinione!
http://www.ymailblogit.com/blog/
___
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: Clearing Dead Groups

2008-06-23 Thread Mikey
I believe this is untrue.  I'm using 2.9.1.  This stack has three cards, and
nowhere on any of the three cards do any of the dead groups appear, yet they
appear in the Place menu.


-- 
WC Fields  - "I am free of all prejudices. I hate every one equally."
___
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: Help with basic CGI project?

2008-06-23 Thread Sadhunathan Nadesan

| J. Landman Gay wrote:
| I think you can place the file wherever you like. The engine is secure 
| when used as a cgi, provided your scripts don't do anything to breach 
| that security. Here is a repost of a similar question and the reply from 
| Scott Raney, back when the engine was still MetaCard:


Ok, thanks for that!
___
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: Clearing Dead Groups

2008-06-23 Thread Eric Chatonet

Bonjour Mickey,

Le 23 juin 08 à 19:18, Mikey a écrit :

In one of my stacks, I have several groups that appear in the Place  
Group
menu.  However, none of them exist any longer, as can be seen by  
checking
the Application Browser.  I tried "delete group", but that doesn't  
seem to

get rid of them.  What else can I do to remove these buggers?


Which version of Rev do you use?
With 2.9, a deleted group no longer appear in 'Place' sub menu.
Anyway just don't mind :-)

Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.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


Clearing Dead Groups

2008-06-23 Thread Mikey
In one of my stacks, I have several groups that appear in the Place Group
menu.  However, none of them exist any longer, as can be seen by checking
the Application Browser.  I tried "delete group", but that doesn't seem to
get rid of them.  What else can I do to remove these buggers?
___
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: what actually happens when sending a message out of a repeat loop?

2008-06-23 Thread Eric Chatonet

Bonjour Richard et Sivakatirswami,

Le 23 juin 08 à 18:45, Richard Gaskin a écrit :

Also, in polling timers I've found it very helpful to first check  
to see if a message is already queued before queueing it again, e.g.:


 on DoPolling
   DoSomething
   if "DoPolling" is not in the pendingMessages then
 send "DoPolling" to me in 200 millisecs
   end if
 end DoPolling


I agree so much that I think that the engine itself could ignore sent  
messages that are already in the pending messages except when the  
delay is zero.


Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.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: what actually happens when sending a message out of a repeat loop?

2008-06-23 Thread Richard Gaskin

Sivakatirswami wrote:


Aloha, Richard:

I got to see your picture from Andre's camera as you roamed the dry zone 
in Nevada. We had a center in Virginia City for years.  I loved the 
silence of the desert!


After living in Los Angeles for so long, I consider it invaluable. :)

Anyway, I can now put a face to your name. The man who told me about 
metacard years ago and i never looked back...(smile) 


It's been a good journey, eh?

But if I'm not mistaken, didn't we first meet at a SuperCard conference 
in '96?  Or was that another gentleman from your ashram?


I have an interest in the above "send" issues... 

You say "...then the repeat loop will continue, and DoSomething (like 
all timer messages) will only be fired once the engine hits idle."


But, are they not piling up in the MessageQueue, to be executed, one 
after another, never the less? And if params are sent along with the 
cmd, are they also queued up?


That's my understanding:  all pending messages are queued until idle, 
which can raise concerns about the sort of race conditions the original 
poster mentioned.


One of the best ways I've found to reduce CPU usage is to turn down the 
frequency of any polling timers (timers that call themselves); for the 
user there's often not much difference between 1/100th of a second and 
1/20th, but it can take a huge load off the CPU to turn it down.


Also, in polling timers I've found it very helpful to first check to see 
if a message is already queued before queueing it again, e.g.:


 on DoPolling
   DoSomething
   if "DoPolling" is not in the pendingMessages then
 send "DoPolling" to me in 200 millisecs
   end if
 end DoPolling

Without that check, if the time between idle exceeds the time to your 
next pending message you can queue up redundant calls.


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.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: more focus in field problems

2008-06-23 Thread Trevor DeVore

On Jun 23, 2008, at 4:00 AM, Nicolas Cueto wrote:


...
My understanding is that, since the focus is
set to "mainField" -- and, in addition, because
of the "select" command (thank you to Scott
Morrow for that suggestion) -- then when
I hit a key on the keyboard "rawKeyUp"
handler in field "mainField" should be
receiving that keyUp message.

But, it's not.

If it means anything, the insertion cursor
is flashing in field "mainField".

Any guesses as to what's wrong?


You may have confused the engine. If the insertion point and focus  
border appear in and around "mainField" but no characters are entered  
when you type then the selectedField and the focusedObject are out of  
sync (they should always be the same if selectedField is not empty).


There used to be quite a few ways to confuse the engine in this regard  
but most of them were fixed in 2.9. It may be that you found another  
way of doing it. I have a plugin stack that logs the selectedField and  
focusedObject which makes it very easy to determine if this is the  
problem you are experiencing. Email me off-list if you would like to  
investigate further.


Regards,

--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.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: [OT] desktop.dll and iPod

2008-06-23 Thread Thomas McGrath III
There should be a check box in iTunes to allow the iPod to be used for  
disk storage. Maybe if you unselect, apply, reselect that check box  
then it will fix the missing dll???


Tom McGrath

On Jun 23, 2008, at 5:06 AM, viktoras didziulis wrote:

it is off topic, but maybe someone knows how to fix this issue. I  
let my antivirus delete desktop.dll from an iPod device. Antivirus  
complained that it is a troyan TR/Agent.bve.1... But the result is  
that after the deletion on MS Windows iPod contents are not longer  
displayed in file explorer. iTunes shows contents of Music folder.  
But when I try to explore it as an usb disk, it reports a rundll  
eror: desktop.dll not found...

Does anyone know how to fix this issue? Thanks for any hints :-)

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


AW: [OT] desktop.dll and iPod

2008-06-23 Thread Tiemo Hollmann TB
Can't you restore it from a backup or from another PC? Just a shot in the
dark, without knowing the background
Tiemo

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:use-revolution-
> [EMAIL PROTECTED] Im Auftrag von viktoras didziulis
> Gesendet: Montag, 23. Juni 2008 11:07
> An: How to use Revolution
> Betreff: [OT] desktop.dll and iPod
> 
> it is off topic, but maybe someone knows how to fix this issue. I let my
> antivirus delete desktop.dll from an iPod device. Antivirus complained
> that it is a troyan TR/Agent.bve.1... But the result is that after the
> deletion on MS Windows iPod contents are not longer displayed in file
> explorer. iTunes shows contents of Music folder. But when I try to
> explore it as an usb disk, it reports a rundll eror: desktop.dll not
> found...
> Does anyone know how to fix this issue? Thanks for any hints :-)
> 
> Viktoras
> ___
> 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


[OT] desktop.dll and iPod

2008-06-23 Thread viktoras didziulis
it is off topic, but maybe someone knows how to fix this issue. I let my 
antivirus delete desktop.dll from an iPod device. Antivirus complained 
that it is a troyan TR/Agent.bve.1... But the result is that after the 
deletion on MS Windows iPod contents are not longer displayed in file 
explorer. iTunes shows contents of Music folder. But when I try to 
explore it as an usb disk, it reports a rundll eror: desktop.dll not 
found...

Does anyone know how to fix this issue? Thanks for any hints :-)

Viktoras
___
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: more focus in field problems

2008-06-23 Thread Eric Chatonet

Bonjour Nicolas,

Focus is superfluous if you use select: selecting text focuses  
automatically on the field that contains the text.


on openCard
  
  select after text of field "MainField"
end openCard
---
on rawKeyUp pKey
  put pKey
  pass rawKeyUp
end rawKeyUp

Works for me as expected.

Le 23 juin 08 à 10:00, Nicolas Cueto a écrit :


on openCard
go invisible stack "someSubstack" as palette
resetCardObjects
focus on field "mainField"
select after the last char of field "mainField"
end openCard



Along with that, in the script of field "mainField"
I have this:

on rawKeyUp tTheKey
   switch tTheKey
   ...
end rawKeyUp



My understanding is that, since the focus is
set to "mainField" -- and, in addition, because
of the "select" command (thank you to Scott
Morrow for that suggestion) -- then when
I hit a key on the keyboard "rawKeyUp"
handler in field "mainField" should be
receiving that keyUp message.

But, it's not.


Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.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


more focus in field problems

2008-06-23 Thread Nicolas Cueto
In the open card handler of a stack I have this:

on openCard
go invisible stack "someSubstack" as palette
resetCardObjects
focus on field "mainField"
select after the last char of field "mainField"
end openCard



Along with that, in the script of field "mainField"
I have this:

on rawKeyUp tTheKey
   switch tTheKey
   ...
end rawKeyUp



My understanding is that, since the focus is
set to "mainField" -- and, in addition, because
of the "select" command (thank you to Scott
Morrow for that suggestion) -- then when
I hit a key on the keyboard "rawKeyUp"
handler in field "mainField" should be
receiving that keyUp message.

But, it's not.

If it means anything, the insertion cursor
is flashing in field "mainField".

Any guesses as to what's wrong?

Thank you.

--
Nicolas Cueto
___
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