Re: downladed stack is not being actually saved

2010-03-16 Thread Mark Wieder
Nicolas-

Monday, March 15, 2010, 9:41:46 PM, you wrote:

 The solution was to use put ... into url instead of go URL. And
 didn't need revert.

Revert should give you a live update instead of having to wait until
the next launch of the stack.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

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


AW: can rev supply image editing features?

2010-03-16 Thread Tiemo Hollmann TB
Hi Stephen,
yes, that's what I would like to have. I know that this originally is a feature 
of image editing programs, though I think it is not a patent of Adobe. But 
sometimes there are so unexpected approaches with rev, I even didn't thought 
about that you could do it with rev or an external. That’s why I just asked 
here.
Thanks
Tiemo


 -Ursprüngliche Nachricht-
 Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
 boun...@lists.runrev.com] Im Auftrag von stephen barncard
 Gesendet: Montag, 15. März 2010 15:06
 An: How to use Revolution
 Betreff: Re: can rev supply image editing features?
 
 you mean you want a magic wand or replace color tool? I don't think
 rev
 can do that natively. Adobe may even have a patent on it.
 
 On 15 March 2010 07:52, Tiemo Hollmann TB toolb...@kestner.de wrote:
 
  Hello,
 
  I am not that familiar with the image manipulating capabilities of
 rev. I
  have a batch of images with a person in front of a blue background.
 
  What I would like to do is to change the blue background against a
 white
  background, so that a printed image has a better contrast. Up to now
 I
  thought that this is a photoshop job, but I am always again surprised
 what
  people do with rev (blending, masking, etc.). Or any externals for
 Mac and
  Win? I don't know if at all it would be possible, to find and select
  automatically the background (e.g. select always the topleft
 corner) and
  select all of the blue, like photoshops wizard selecting tool with
 some
  tolerance of 10 or 20%, because the RGB isn't that plain over the
 whole
  background.
 
  So I wonder, if there are any ideas on this list, how to do this job
 
  Thanks
 
  Tiemo
 
 
 
 
 
 
 
  ___
  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
 currently in Fairhope AL
 ___
 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: Inserting a photo into a polygon?

2010-03-16 Thread Malte Pfaff-Brill
Late to the party, sorry. :-) 

If you design your stackcleverly, you can play with blending and to some sort 
fake it.

on a stack with a white background

create a graphic
set opaque to true
set the backcolor to black
import image
group graphic and image
move image on top of graphic
set the ink of image to srcOr

make sure other controls layer on top of the group, otherwise they will bleed 
through.

Obviously this will not work if the card background is colored or if there are 
other controls layered underneath that group, 
so this is either just an unpractical experiment or a design challenge. :-) Not 
very usable, but at least the image can be shifted inside the poly.

Cheers,

Malte___
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: Getting a Label Field to Scroll with Another Field

2010-03-16 Thread Andre.Bisseret

Bonjour,

Gregory, I have several several layouts like yours (one Titles field  
on top of one Table). My titles fields are a text fields, not label  
fields.


I don't think it'is a matter of different formattedWidth of the  
contents of the columns. I have columns where the formattedWidth of  
titles and data is very different (titles longer than data or vice  
versa).


set the hScroll of fld titles to the hScroll of fld table works  
well.


But actually, what Sarah said is important (as usual ;-))). I missed  
to pinpoint that. You need to get one tab more in the title fields  
than in the data field (the longest data field line in fact).


I Never used label fields before for showing a line of several  
headers. I just tried it and seems OK, but only if the text is left  
aligned.

Learning something each day ;-))

Best regards from Grenoble

André


Le 15 mars 10 à 21:35, Gregory Lypny a écrit :


Hi André,

Thanks.  No problem, I knew what you meant.  Unfortunately, the  
scrolling still does not align the two because, I believe, the title  
field's contents are not as wide as that of the data field.  I think  
I need to pad the title field with spaces to get make it the same  
formattedWidth as the data field.


Thanks again,


Gregory

Montreal

On Mon, Mar 15, 2010, at 3:51 PM, use-revolution-requ...@lists.runrev.com 
 wrote:



Gregory, in my previous post, I wanted to mean changing the
alignement to LEFT aligned for your label field!!
and actually, by default a label field is right aligned.

Sorry for this mistake!

André


___
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: adjusting speed of set arcangle of graphic

2010-03-16 Thread Malte Pfaff-Brill
Hi Nicolas,

what you would need to do to make it accurate on all machines is calculate the 
value for the arcangle as it *should* be at the current time stamp. 
that way it might look a bit jerky on slower machines, though I doubt that 
would be noticeable. I am afraid I´ll need to blow my own horn here, so
*toot* *toot* You can do this with a timer using AEs easing functions.

The following script will always last 1800 millisecs (+- 40 millisecs, but 
those are neglectible)

on mouseUp
   local tDuration
   put 1800 into tDuration
   setArcAngle the milliseconds,tDuration
end mouseUp

on setArcAngle pSecs,pDuration
   local tElapsed,tAngle
   lock screen
   put the millisecs - pSecs into tElapsed
   put aeEaseIn(0,360,pDuration,tElapsed,1) into tAngle
   set the arcAngle of grc circle to round(tAngle)
   unlock screen
   if tAngle360 then 
  if setArcAngle is not in the pendingmessages then
 send setArcAnglepSecs,pDuration to me in 40 millisecs
  end if
   else
  set the arcAngle of grc circle to 360
   end if
end setArcAngle

All the best,

Malte___
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: Fwd: Cross platform design tool

2010-03-16 Thread viktoras d.

Hi Randal,
many issues in your list can be solved by using ImageMagick 
(www.imagemagick.org). It has already solved many of image manipulation 
issues for Perl, PHP and other languages alike. However from revTalk you 
can only shell out commands to it. It would be *very cool* to get this 
tool integrated with revTalk.


One more alternative is to use netpbm (http://netpbm.sourceforge.net/). 
Again, you will need to shell out all your communications with it.


Best regards
Vitoras

Randall Reetz wrote:
Sorry.  Didn't know.  What about the rest of my list?  
___

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: how to set the textStyle of word 1 of the selection?

2010-03-16 Thread Andre.Bisseret

Bonjour Peter,

Ouaah! very clever :-)))
No problem with tabs, spaces, cr etc.

adopted :-)

Thanks a lot

Best regards from Grenoble

André

Le 15 mars 10 à 22:52, Peter Brigham MD a écrit :


Or this way:

on mouseup
  put the selectedchunk into selCh
  if the selectedtext = empty then exit mouseup
  put the long id of the selectedfield into fldRef
  put value(fldRef) into fldText
  put word 2 of selCh into startChar
  put the number of words of char 1 to startChar \
 of fldText into wordNbr
  set the textstyle of word wordNbr of \
 fldRef to link
end mouseup

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


On Mar 15, 2010, at 10:16 AM, Andre.Bisseret wrote:



Le 15 mars 10 à 14:26, Klaus on-rev a écrit :


Bonjour Andre,


Thank you Richmond for your prompt answer.
But with the first word instead of word 1 I get the same  
errors. Does not work

Any other idea?


the selection returns the selected text and NOT a chunk  
describing the selection!


So you may need to check the selectedchunk or something to get  
to know what to

format the way you want to.


Guten tag Klaus,

Ah! OK !
I wrote that :
-
on mouseUp
 local firstCharNum,firstWordLength,lastChar,lastCharNum,
 --
 put the number  of chars of word 1 of the selection into  
firstWordLength

 put word 2 of the selectedChunk into firstCharNum
 put firstCharNum + firstWordLength - 1 into lastCharNum
 set the textStyle of char firstCharNum to lastCharNum of fld 1 to  
link

end mouseUp

not really straightforward ;-)) but that works!

Danke sehr!

André




___
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


AW: Fwd: Cross platform design tool

2010-03-16 Thread Tiemo Hollmann TB
Labas Vitoras,
do you think I could change colors as in my can rev supply image editing
features post described with imagemagick?
I know, how to do this job by hand in photoshop, but I can't think of it is
possible to automize such a job by a shell tool? Especially the selecting of
the background color Do you have any experiences?
Tiemo

 -Ursprüngliche Nachricht-
 Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
 boun...@lists.runrev.com] Im Auftrag von viktoras d.
 Gesendet: Dienstag, 16. März 2010 10:22
 An: How to use Revolution
 Betreff: Re: Fwd: Cross platform design tool
 
 Hi Randal,
 many issues in your list can be solved by using ImageMagick
 (www.imagemagick.org). It has already solved many of image manipulation
 issues for Perl, PHP and other languages alike. However from revTalk
 you
 can only shell out commands to it. It would be *very cool* to get this
 tool integrated with revTalk.
 
 One more alternative is to use netpbm (http://netpbm.sourceforge.net/).
 Again, you will need to shell out all your communications with it.
 
 Best regards
 Vitoras
 
 Randall Reetz wrote:
  Sorry.  Didn't know.  What about the rest of my list?
  ___
  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: how to set the textStyle of word 1 of the selection?

2010-03-16 Thread BNig

André,
I would test Peters solution a little more. If you start your selection with
a space the word before the space will be the one that is targeted for your
textstyle. The same with return and tab.
regards
Bernd
-- 
View this message in context: 
http://n4.nabble.com/how-to-set-the-textStyle-of-word-1-of-the-selection-tp1593292p1594668.html
Sent from the Revolution - User mailing list archive at Nabble.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: AW: Fwd: Cross platform design tool

2010-03-16 Thread viktoras d.

Hallo Tiemo :-)

something like this:
http://www.fmwconcepts.com/imagemagick/magicwand/index.php

Viktoras

Tiemo Hollmann TB wrote:

Labas Vitoras,
do you think I could change colors as in my can rev supply image editing
features post described with imagemagick?
I know, how to do this job by hand in photoshop, but I can't think of it is
possible to automize such a job by a shell tool? Especially the selecting of
the background color Do you have any experiences?
Tiemo

  

-Ursprüngliche Nachricht-
Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
boun...@lists.runrev.com] Im Auftrag von viktoras d.
Gesendet: Dienstag, 16. März 2010 10:22
An: How to use Revolution
Betreff: Re: Fwd: Cross platform design tool

Hi Randal,
many issues in your list can be solved by using ImageMagick
(www.imagemagick.org). It has already solved many of image manipulation
issues for Perl, PHP and other languages alike. However from revTalk
you
can only shell out commands to it. It would be *very cool* to get this
tool integrated with revTalk.

One more alternative is to use netpbm (http://netpbm.sourceforge.net/).
Again, you will need to shell out all your communications with it.

Best regards
Vitoras

Randall Reetz wrote:


Sorry.  Didn't know.  What about the rest of my list?
___
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

  


___
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: Getting a Label Field to Scroll with Another Field

2010-03-16 Thread Gregory Lypny
Thank you, Sarah and Bernd,

Padding on the right is the trick then, perhaps even with spaces.  And I like 
your idea, Bernd, of padding a line other then the first.  That way, if the 
title line is copied as headers of an export file, you're getting only the 
original titles and not the padding.

Thanks again,

Gregory
___
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 Data Grid Difficulties - Making it request data

2010-03-16 Thread Trevor DeVore

On Mar 16, 2010, at 12:15 AM, Len Morgan wrote:

I found the manual pages for coloring lines in a data grid table but  
it's not working.  I'm pretty sure that the reason is because I'm  
settting the dgText to the array I create from the database records  
and that is bypassing the FillInData routine.


Setting the dgText does not bypass FillInData. You can't actually  
display any data in the Data Grid without FillInData being called.


What makes you think it is being bypassed?

What columns have you defined in your data grid table and how are you  
assigning in the dgText?


--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.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 Data Grid Difficulties - Making it request data

2010-03-16 Thread Len Morgan

On 3/16/2010 6:57 AM, Trevor DeVore wrote:

On Mar 16, 2010, at 12:15 AM, Len Morgan wrote:

I found the manual pages for coloring lines in a data grid table but 
it's not working.  I'm pretty sure that the reason is because I'm 
settting the dgText to the array I create from the database records 
and that is bypassing the FillInData routine.


Setting the dgText does not bypass FillInData. You can't actually 
display any data in the Data Grid without FillInData being called.


What makes you think it is being bypassed?

What columns have you defined in your data grid table and how are you 
assigning in the dgText?


To answer your first question, the lines aren't getting colored and I 
have a message that's supposed to print to the message box as it goes 
by.  I went so far as to put a 500 ms delay in this routine (so EVERY 
column would wait 1/2 a second just in case the message got overwritten 
by a later message.


I'm not sure what you mean exactly by what columns have you defined.  
They are all text fields, (e.g., no icons, images, buttons, etc).  I 
create the data array by going though the returned data a line at a time 
and creating a tab (col) delimited, cr (row) delimited variable then use:


set the dgText of group searchResults to theDataA

To clarify your first comment,  if I set the entire data array using 
dgText, does it call FillInData for every line possible or only the 
visible ones?  The reason I ask is that one of the things I want to do 
with FillInData is to get three more fields that don't come out of the 
original query.  I have two dates that come out of another table and 
have not been able to come up with any SQL query that would return these 
fields in the original query.  What I want to do is when FillIndata gets 
to the first field (key field), I can call another query for that one 
record only.  As each row is processed, I can get these two dates.  This 
will not be a processing burden IF I only fill the data that is on the 
screen at the time.


The last field I need isn't really a field but rather, based on the 
value of this field, I need to set the row color.  This field I DO have 
at the time theDataA array is created.


len
___
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 Data Grid Difficulties - Making it request data

2010-03-16 Thread Trevor DeVore

On Mar 16, 2010, at 8:10 AM, Len Morgan wrote:

To answer your first question, the lines aren't getting colored and  
I have a message that's supposed to print to the message box as it  
goes by.  I went so far as to put a 500 ms delay in this routine (so  
EVERY column would wait 1/2 a second just in case the message got  
overwritten by a later message.


I think I need some more information about how you have set up your  
data grid. Where have you defined FillInData? Have you created a  
custom column behavior for your table as described in this lesson?


http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7327-How-Do-I-Override-the-Default-Behavior-For-Rendering-Data-to-a-Cell-

I'm not sure what you mean exactly by what columns have you  
defined.  They are all text fields, (e.g., no icons, images,  
buttons, etc).  I create the data array by going though the returned  
data a line at a time and creating a tab (col) delimited, cr (row)  
delimited variable then use:


On the Columns tab of the data grid object inspector you define the  
columns in your data grid. This affects which columns appear in your  
data grid table.


To clarify your first comment,  if I set the entire data array using  
dgText, does it call FillInData for every line possible or only the  
visible ones?


Only the visible ones. A data grid will only ask for data on an as- 
needed basis UNLESS you set the cache controls property to true. But  
that only works with forms so it won't apply in your case.


The reason I ask is that one of the things I want to do with  
FillInData is to get three more fields that don't come out of the  
original query.  I have two dates that come out of another table and  
have not been able to come up with any SQL query that would return  
these fields in the original query.


In situations like this I have run the necessary queries, joined the  
results and then assigned the resulting data to the data grid.


 What I want to do is when FillIndata gets to the first field (key  
field), I can call another query for that one record only.  As each  
row is processed, I can get these two dates.  This will not be a  
processing burden IF I only fill the data that is on the screen at  
the time.


If you want to go this route you could modify your FillInData routine  
to look something like this:


on FillInData pData
## Note: Not very efficient as FillInData is called for every  
column of every row

## Check if date column has been fill in yet.
if GetDataOfIndex(the dgIndex of me, Date 1) is empty then
## Query db and get date values...

## Assign to row in Data Grid
SetDataOfIndex the dgIndex of me, Date 1, theDateValue
end if

set the text of me to pData
end FillInData

The last field I need isn't really a field but rather, based on  
the value of this field, I need to set the row color.  This field I  
DO have at the time theDataA array is created.


The instructions for colorizing a line described in the lesson should  
work then. Let me know about whether or not you set up the custom  
column behavior and we can go from there.


--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.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


AW: AW: Fwd: Cross platform design tool

2010-03-16 Thread Tiemo Hollmann TB
Wow, I knew there are real specialists on this list. That hint sounds
interesting, I'll go into that.
Next time I will ask you in German if you speak fluently German ;)
Dekui!
Tiemo


 -Ursprüngliche Nachricht-
 Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
 boun...@lists.runrev.com] Im Auftrag von viktoras d.
 Gesendet: Dienstag, 16. März 2010 11:44
 An: How to use Revolution
 Betreff: Re: AW: Fwd: Cross platform design tool
 
 Hallo Tiemo :-)
 
 something like this:
 http://www.fmwconcepts.com/imagemagick/magicwand/index.php
 
 Viktoras
 
 Tiemo Hollmann TB wrote:
  Labas Vitoras,
  do you think I could change colors as in my can rev supply image
 editing
  features post described with imagemagick?
  I know, how to do this job by hand in photoshop, but I can't think of
 it is
  possible to automize such a job by a shell tool? Especially the
 selecting of
  the background color Do you have any experiences?
  Tiemo
 
 
  -Ursprüngliche Nachricht-
  Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
  boun...@lists.runrev.com] Im Auftrag von viktoras d.
  Gesendet: Dienstag, 16. März 2010 10:22
  An: How to use Revolution
  Betreff: Re: Fwd: Cross platform design tool
 
  Hi Randal,
  many issues in your list can be solved by using ImageMagick
  (www.imagemagick.org). It has already solved many of image
 manipulation
  issues for Perl, PHP and other languages alike. However from revTalk
  you
  can only shell out commands to it. It would be *very cool* to get
 this
  tool integrated with revTalk.
 
  One more alternative is to use netpbm
 (http://netpbm.sourceforge.net/).
  Again, you will need to shell out all your communications with it.
 
  Best regards
  Vitoras
 
  Randall Reetz wrote:
 
  Sorry.  Didn't know.  What about the rest of my list?
  ___
  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
 
 
 
 ___
 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


Confusing Errors

2010-03-16 Thread Dan Friedman
Greetings,

My standalone is is throwing some errors that I can't seem to figure out.   The 
errors are being thrown because I included the Bug Reports option when I 
generated the standalone.   Here is the error:

-

Executing at 12:10:02 AM on Tuesday, March 16, 2010
Type: Handler: error in source expression
Object: button 'Save' of card 'card id 1002' of stack 'EditComment'
Line: if the hilite of btn 'Lang1' of stack 'reportWindow' = true then
Line Num: 0
Hint: field id 1106932 of group id 1106552 of card id 1002 of stack
'ReportWindow'

Comments: 

-

Why would the Line Num be zero?  The if is valid so I don't understand why 
there would be an error is source expression.

Here is another one:

-

Executing at 5:44:49 PM on Monday, March 15, 2010
Type: Object: does not have this property
Object: button 'Save' of card 'card id 1002' of stack 'EditComment'
Line: put the IDNumber of currentTarget into fPane
Line Num: 0
Hint: field id 1104880 of group id 1104445 of card id 1002 of stack
'ReportWindow'

-

Object does not have this property?  It's a custom property.  In my experience, 
if a custom property doesn't exist, the value is empty.  So, why an error?  
Notice that Line Num is zero again.


ANY thoughts would be appreciated.

Thanks in advance,
Dan___
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 set the textStyle of word 1 of the selection?

2010-03-16 Thread Peter Brigham MD

On Mar 16, 2010, at 6:40 AM, BNig wrote:


André,
I would test Peters solution a little more. If you start your  
selection with
a space the word before the space will be the one that is targeted  
for your

textstyle. The same with return and tab.
regards
Bernd



True. I was assuming that the beginning of the selection would be a  
character and not white space. Here's a function that tells you if the  
character in a field is white space or not:


function isWhiteSpace charNbr,fldRef
put value(fldRef) into fldText
put the number of words of char 1 to charNbr of fldText \
   into firstPartCount
put the number of words of char charNbr to -1 of fldText \
   into secondPartCount
return firstPartCount + secondPartCount = \
   the number of words of fldText
end isWhiteSpace

So incorporating that into the handler would give:

on mouseup
   put the selectedchunk into selCh
   if the selectedtext = empty then exit mouseup
   put the long id of the selectedfield into fldRef
   put value(fldRef) into fldText
   put word 2 of selCh into startChar
   put the number of words of char 1 to startChar \
  of fldText into wordNbr
   if isWhiteSpace(startChar,fldRef) then add 1 to wordNbr
   set the textstyle of word wordNbr of \
  fldRef to link
end mouseup

On a different note, I'm confused about the behavior of full control  
references, eg, fldRef in the above example, which contains a long id  
of a field. The last line of the mouseup handler works, because the  
engine evaluates the variable fldRef before executing the command, but  
if instead of set the textstyle of word wordNbr of fldRef you do this:

   put word wordNbr of fldRef
you get the corresponding word of field id 3521 of card id 1009 of  
stack... -- ie, the unevaluated string contained in the variable  
fldRef.


So under what circumstances does Rev evaluate a full control  
reference? It's clearly not in all contexts.



-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig

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

2010-03-16 Thread Mark Schonewille

Hi Dan,

The Line Num may be zero because your stack is protected by a  
password. Sometimes the debugging tools just don't work properly and  
can't find the offending line. It also happens that the actual error  
occurs in a Revolution script library, which the debugger can't figure  
out.


Looking at the error message, I wonder whether you really put single  
quotes about stack names. If so, this is probably a cause of errors.


Something might be wrong with the variable currentTarget. Perhaps, you  
need to include something like:


if there is a currentTarget then
  -- your script
else
  beep
  answer error Error: can't find  currentTarget with OK
end if

It might help if you posted your script.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new software development  
projects. Feel free to contact me for a quote.


Op 16 mrt 2010, om 15:55 heeft Dan Friedman het volgende geschreven:


Greetings,

My standalone is is throwing some errors that I can't seem to figure  
out.   The errors are being thrown because I included the Bug  
Reports option when I generated the standalone.   Here is the error:


-

Executing at 12:10:02 AM on Tuesday, March 16, 2010
Type: Handler: error in source expression
Object: button 'Save' of card 'card id 1002' of stack 'EditComment'
Line: if the hilite of btn 'Lang1' of stack 'reportWindow' = true then
Line Num: 0
Hint: field id 1106932 of group id 1106552 of card id 1002 of stack
'ReportWindow'

Comments:

-

Why would the Line Num be zero?  The if is valid so I don't  
understand why there would be an error is source expression.


Here is another one:

-

Executing at 5:44:49 PM on Monday, March 15, 2010
Type: Object: does not have this property
Object: button 'Save' of card 'card id 1002' of stack 'EditComment'
Line: put the IDNumber of currentTarget into fPane
Line Num: 0
Hint: field id 1104880 of group id 1104445 of card id 1002 of stack
'ReportWindow'

-

Object does not have this property?  It's a custom property.  In my  
experience, if a custom property doesn't exist, the value is empty.   
So, why an error?  Notice that Line Num is zero again.



ANY thoughts would be appreciated.

Thanks in advance,
Dan



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

2010-03-16 Thread Richard Gaskin

Dan Friedman wrote:
...
-

 Executing at 5:44:49 PM on Monday, March 15, 2010
 Type: Object: does not have this property
 Object: button 'Save' of card 'card id 1002' of stack 'EditComment'
 Line: put the IDNumber of currentTarget into fPane
 Line Num: 0
 Hint: field id 1104880 of group id 1104445 of card id 1002 of stack
 'ReportWindow'
 
-


 Object does not have this property?  It's a custom property.  In
 my experience, if a custom property doesn't exist, the value is
 empty.  So, why an error?  Notice that Line Num is zero again.

I don't know about the first report, but errors dealing with does not 
have this property are related to built-in properties, such as trying 
to set the vScroll of a button or the htmlText of a stack.


Not sure why the line number is reported as zero.  I see those 
sometimes, but very rarely.


Because the error reporting is using the same engine that encountered 
the error, sometimes getting error info in Rev is like doing watch 
repair where the only tool you have is another watch. ;)


--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
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: Confusing Errors

2010-03-16 Thread Mark Wieder
Richard-

Tuesday, March 16, 2010, 8:16:22 AM, you wrote:

 Because the error reporting is using the same engine that encountered
 the error, sometimes getting error info in Rev is like doing watch 
 repair where the only tool you have is another watch. ;)

...and that one's broken, too...

-- 
-Mark Wieder
 mwie...@ahsoftware.net

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


Confusing Errors

2010-03-16 Thread Dan Friedman
Mark (and others),

Thanks for the info.   Here's some more...

The stack is not password protected.  I did use normal quotes (it wouldn't 
compile if I hadn't), the debugger presents quotes as single-quotes in it's 
errors.  And, currentTarget is a valid pointer to a field.  The stack wouldn't 
have opened if it wasn't.  Here is the snippet:

on mouseUp
  global activeRCMStudentIDNum
  global currentReportIDNum
  global currentTarget
  global GlobalModeOption
  global gStudentXML
  global pMode
  
  set cursor to watch
  lock screen
  
  put the IDNumber of currentTarget into fPane  --this is where it's tripping
  .
  .
  .

As you can see, it's the first [evaluated] line in the script.  If it matters, 
this is a modal dialog.  Also noteworthy, is that I can't repeat this error.  
These reports are coming from users.  Also, they are coming from 1% of my 
users.  So for more than 99% of my clients, this isn't failing!

Are you as confused as me yet?   :)

-Dan



 Hi Dan,
 
 The Line Num may be zero because your stack is protected by a  
 password. Sometimes the debugging tools just don't work properly and  
 can't find the offending line. It also happens that the actual error  
 occurs in a Revolution script library, which the debugger can't figure  
 out.
 
 Looking at the error message, I wonder whether you really put single  
 quotes about stack names. If so, this is probably a cause of errors.
 
 Something might be wrong with the variable currentTarget. Perhaps, you  
 need to include something like:
 
 if there is a currentTarget then
-- your script
 else
beep
answer error Error: can't find  currentTarget with OK
 end if
 
 It might help if you posted your script.
 
 --
 Best regards,
 
 Mark Schonewille

   
  -
 
  Executing at 5:44:49 PM on Monday, March 15, 2010
  Type: Object: does not have this property
  Object: button 'Save' of card 'card id 1002' of stack 'EditComment'
  Line: put the IDNumber of currentTarget into fPane
  Line Num: 0
  Hint: field id 1104880 of group id 1104445 of card id 1002 of stack
  'ReportWindow'
 
  
 -
___
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 set the textStyle of word 1 of the selection?

2010-03-16 Thread Andre.Bisseret


Le 16 mars 10 à 11:40, BNig a écrit :



André,
I would test Peters solution a little more. If you start your  
selection with
a space the word before the space will be the one that is targeted  
for your

textstyle. The same with return and tab.
regards
Bernd


Bernd, you are absolutely right!
It is a pity! it was so nice ;-)))
Thank you much for this remark.

Then, I am looking for a solution. I will try to control the selection  
made by the user and to edit it.


Something like the following (just tested for space at the moment :-))

on mouseUp
   local selText,
   --
   put the selectedText into selText
   repeat
  if char 1 of selText is space then
 put empty into char 1 of selText
  else
 find whole selText in fld tText
 if the result is not found then exit mouseUp
 select the foundChunk
 find empty
 linkWord1
 exit mouseUp
  end if
   end repeat
end mouseUp

on linkWord1
   local selCh,fldRef,fldText,StartChar,wordNbr,selText
   put the selectedChunk into selCh
   put selCh
   if the selectedText = empty then exit linkWord1
   put the long ID of the selectedField into fldRef
   put value(fldRef) into fldText
   put word 2 of selCh into startChar
   put the number of words of char 1 to startChar \
 of fldText into wordNbr
   set the textStyle of word wordNbr of \
 fldRef to link
end linkWord1

Danke sehr Bernd

André

___
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 'put URL ftp://... if username contains @

2010-03-16 Thread runrev260805
Hi,
 
how can i use the comand 
put URL FTP://username:passw...@...
if the username already contains a @.
I tried to put the username into a var, but that does not the trick.
 
Is it even possible?
 
Regards,
 
Matthias

 
___
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 'put URL ftp://... if username contains @

2010-03-16 Thread Andre Rombauts
how can i use the comand
put URL FTP://username:passw...@...
if the username already contains a @.
I tried to put the username into a var, but that does not the trick.

Strange to me that a name including a '@' is accepted as a valit FTP
username. But perhaps you mean the username contains also the domain, as
in 'usern...@domain.tld'. If so, try using only the part in front of the '@'.
Or do you mean the user name is 'du...@username@domain.tld'?

--

André Rombauts,
an...@rombauts.be

Envoyé par Powermail 6.0.3 Build 4609

___
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 'put URL ftp://... if username contains @

2010-03-16 Thread Björnke von Gierke
It's possible that the parts after the @ in the user name can be omitted. If 
not, try to urlencode the name, and/or the password before putting them into 
the url query string.

On 16 Mar 2010, at 16:55, runrev260...@m-r-d.de wrote:

 Hi,
 
 how can i use the comand 
 put URL FTP://username:passw...@...
 if the username already contains a @.
 I tried to put the username into a var, but that does not the trick.
 
 Is it even possible?
 
 Regards,
 
 Matthias
 
 
 ___
 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: How to use 'put URL ftp://... if username contains @

2010-03-16 Thread Mark Schonewille

Hi Matthias,

Yes, this is possible and happens quite often. However, almost equally  
often you can replace @ with % or +.

Try ftp://username+domain.com:passw...@ftp.domain.com .

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new software development  
projects. Feel free to contact me for a quote.


Op 16 mrt 2010, om 16:55 heeft runrev260...@m-r-d.de het volgende  
geschreven:



Hi,

how can i use the comand
put URL FTP://username:passw...@...
if the username already contains a @.
I tried to put the username into a var, but that does not the trick.

Is it even possible?

Regards,

Matthias


___
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 'put URL ftp://... if username contains @

2010-03-16 Thread Bill Marcy
There isn't a way to escape out a character?

2010/3/16 Björnke von Gierke b...@mac.com

 It's possible that the parts after the @ in the user name can be omitted.
 If not, try to urlencode the name, and/or the password before putting them
 into the url query string.

 On 16 Mar 2010, at 16:55, runrev260...@m-r-d.de wrote:

  Hi,
 
  how can i use the comand
  put URL FTP://username:passw...@...
  if the username already contains a @.
  I tried to put the username into a var, but that does not the trick.
 
  Is it even possible?
 
  Regards,
 
  Matthias
 
 
  ___
  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




-- 
ǝuoɥdı ʎɯ ɯoɹɟ ʇuǝs
___
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 'put URL ftp://... if username contains @

2010-03-16 Thread Andre Garzia
replace @ with %40

:D

On Tue, Mar 16, 2010 at 12:55 PM, runrev260...@m-r-d.de wrote:

 Hi,

 how can i use the comand
 put URL FTP://username:passw...@...
 if the username already contains a @.
 I tried to put the username into a var, but that does not the trick.

 Is it even possible?

 Regards,

 Matthias


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

2010-03-16 Thread Ryno Swart


I get (iBook OS x 10.4.11) this message:

Sorry the HD View Beta is not supported on this platform. Must be  
Internet Explorer, Firefox, Flock, Netscape, or Safari on Windows XP,  
Server 2003, or Vista.


Ryno.
http://artistvision.org/
Still all alone in Africa : )
___
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: Paris

2010-03-16 Thread René Micout
It is good with Mac OS X 10.6.2 for HD and Flash
Try Flash version...
René

Le 16 mars 2010 à 17:50, Ryno Swart a écrit :

 
 I get (iBook OS x 10.4.11) this message:
 
 Sorry the HD View Beta is not supported on this platform. Must be Internet 
 Explorer, Firefox, Flock, Netscape, or Safari on Windows XP, Server 2003, or 
 Vista.
 
 Ryno.
 http://artistvision.org/
 Still all alone in Africa : )
 ___
 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: Inserting a photo into a polygon?

2010-03-16 Thread Alejandro Tejada
Hi,

When i need to show an image within a polygon,
i use the palette Mask Bitmap 02:

http://andregarzia.on-rev.com/alejandro/stacks/mask_bitmap02.zip
http://capellan2000.000space.com/mask_bitmap02.zip

This palette creates a mask for bitmaps using vector
graphics as templates. This script uses a screenshot to
create the bitmap mask, but more experienced users,
(like Wilhem Sanke) could create this mask using
scripts only. ;-)

Many thanks to Andre and Sean for providing
space in their servers for this webpage. :-D

Alejandro
___
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 set the textStyle of word 1 of the selection?

2010-03-16 Thread Andre.Bisseret

Peter,

Thank you a lot for your attention to my problem.  I am impressed by  
the way you think about a problem.

Very nice solutions really; works well :-))

Meanwhile, I am trying to edit the selection made by the user, using a  
repeat loop to delete the possible spaces (and/or tab) before the  
selection, for several spaces might be selected before a word.


In fact, my field does not include text. It is populated by the day  
numbers of the twelve months (one line for each month). Generally two  
numbers are separated by one space (weeks are separated by tab).


But before the first of a month there can be several spaces (when the  
month don't begin on the first day of a week.). Not likely the user'  
selection would included much spaces, but 2 or 3 could be possible!


Thank you again Peter

Best regards

André


Le 16 mars 10 à 15:59, Peter Brigham MD a écrit :


On Mar 16, 2010, at 6:40 AM, BNig wrote:


André,
I would test Peters solution a little more. If you start your  
selection with
a space the word before the space will be the one that is targeted  
for your

textstyle. The same with return and tab.
regards
Bernd



True. I was assuming that the beginning of the selection would be a  
character and not white space. Here's a function that tells you if  
the character in a field is white space or not:


function isWhiteSpace charNbr,fldRef
   put value(fldRef) into fldText
   put the number of words of char 1 to charNbr of fldText \
  into firstPartCount
   put the number of words of char charNbr to -1 of fldText \
  into secondPartCount
   return firstPartCount + secondPartCount = \
  the number of words of fldText
end isWhiteSpace

So incorporating that into the handler would give:

on mouseup
  put the selectedchunk into selCh
  if the selectedtext = empty then exit mouseup
  put the long id of the selectedfield into fldRef
  put value(fldRef) into fldText
  put word 2 of selCh into startChar
  put the number of words of char 1 to startChar \
 of fldText into wordNbr
  if isWhiteSpace(startChar,fldRef) then add 1 to wordNbr
  set the textstyle of word wordNbr of \
 fldRef to link
end mouseup

On a different note, I'm confused about the behavior of full control  
references, eg, fldRef in the above example, which contains a long  
id of a field. The last line of the mouseup handler works, because  
the engine evaluates the variable fldRef before executing the  
command, but if instead of set the textstyle of word wordNbr of  
fldRef you do this:

  put word wordNbr of fldRef
you get the corresponding word of field id 3521 of card id 1009 of  
stack... -- ie, the unevaluated string contained in the variable  
fldRef.


So under what circumstances does Rev evaluate a full control  
reference? It's clearly not in all contexts.



-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig

___
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: how to set the textStyle of word 1 of the selection?

2010-03-16 Thread Peter Brigham MD
Not sure if this got through the first time, if so, sorry for any  
duplication...


On Mar 16, 2010, at 6:40 AM, BNig wrote:


André,
I would test Peters solution a little more. If you start your  
selection with
a space the word before the space will be the one that is targeted  
for your

textstyle. The same with return and tab.
regards
Bernd



True. I was assuming that the beginning of the selection would be a  
character and not white space. Here's a function that tells you if the  
character in a field is white space or not:


function isWhiteSpace charNbr,fldRef
   put value(fldRef) into fldText
   put the number of words of char 1 to charNbr of fldText \
  into firstPartCount
   put the number of words of char charNbr to -1 of fldText \
  into secondPartCount
   return firstPartCount + secondPartCount = \
  the number of words of fldText
end isWhiteSpace

So incorporating that into the handler would give:

on mouseup
  put the selectedchunk into selCh
  if the selectedtext = empty then exit mouseup
  put the long id of the selectedfield into fldRef
  put value(fldRef) into fldText
  put word 2 of selCh into startChar
  put the number of words of char 1 to startChar \
 of fldText into wordNbr
  if isWhiteSpace(startChar,fldRef) then add 1 to wordNbr
  set the textstyle of word wordNbr of \
 fldRef to link
end mouseup

On a different note, I'm confused about the behavior of full control  
references, eg, fldRef in the above example, which contains a long id  
of a field. The last line of the mouseup handler works, because the  
engine evaluates the variable fldRef before executing the command, but  
if instead of set the textstyle of word wordNbr of fldRef you do this:

  put word wordNbr of fldRef
you get the corresponding word of field id 3521 of card id 1009 of  
stack... -- ie, the unevaluated string contained in the variable  
fldRef -- and not the word in the field referred to.


So under what circumstances does Rev evaluate a full control  
reference? It's clearly not in all contexts.



-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
___
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 'put URL ftp://... if username contains @

2010-03-16 Thread Matthias Rebbe
Thanks to all who replied. In my case the username has to be
usern...@domain.tld. A + or a % as a replacement are not accepted.

But urlencode and of course Andre´s suggestion to use %40 did the trick.

Regards,

Matthias
Am 16.03.2010 um 17:13 schrieb Andre Garzia:

 replace @ with %40
 
 :D
 
 On Tue, Mar 16, 2010 at 12:55 PM, runrev260...@m-r-d.de wrote:
 
 Hi,
 
 how can i use the comand
 put URL FTP://username:passw...@...
 if the username already contains a @.
 I tried to put the username into a var, but that does not the trick.
 
 Is it even possible?
 
 Regards,
 
 Matthias
 
 
 ___
 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

___
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


Communication between JADE and Runrev

2010-03-16 Thread zeeshan aamir
Hi,
i need examples of Communication between JADE and Runrev through sockets.

Kindly send me complete procedure how to communicate between them.

Is there is any video tutorial available for this. on youtube or any other?

One Stck is in stack RunRev  (*vending*
machinehttp://www.google.se/search?hl=svei=yMOfS5vjKZaUnwPY1rTuDAsa=Xoi=spellresnum=0ct=resultcd=1ved=0CAUQBSgAq=vending+machinespell=1is
placed on 5 different position, their or many custommer who come
through
street and buy newspaper)
Other coading of each agents in JADE   (All programming how machine behave
etc)

how to communicate?
___
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: ANN: old HTTP FTP servers in RevTalk

2010-03-16 Thread Alejandro Tejada

Hi Andre,

This web server stack works great, after i copied
all modules to the same folder where simple server.rev
resides.

Noticed that you included a wiki.rev stack, but
at least in my side, throws an error.

Andre, How could we use this server to search, create and
display wikipedia webpages inside a browser?
(using a custom index and their xml database compressed
as gzip)

Thanks in advance!

Alejandro


-- 
View this message in context: 
http://n4.nabble.com/ANN-old-HTTP-FTP-servers-in-RevTalk-tp1593701p1595285.html
Sent from the Revolution - User mailing list archive at Nabble.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: how to set the textStyle of word 1 of the selection?

2010-03-16 Thread Andre.Bisseret


Le 16 mars 10 à 18:13, Peter Brigham MD a écrit :

Not sure if this got through the first time, if so, sorry for any  
duplication...


Yes I received it and replied




On a different note, I'm confused about the behavior of full control  
references, eg, fldRef in the above example, which contains a long  
id of a field. The last line of the mouseup handler works, because  
the engine evaluates the variable fldRef before executing the  
command, but if instead of set the textstyle of word wordNbr of  
fldRef you do this:

 put word wordNbr of fldRef
you get the corresponding word of field id 3521 of card id 1009 of  
stack... -- ie, the unevaluated string contained in the variable  
fldRef -- and not the word in the field referred to.


I tried replacing  set the textstyle of word wordNbr of fldRef to  
link

with

put word wordNbr of fldRef

Curiously I got nothing in the message box!?

André



So under what circumstances does Rev evaluate a full control  
reference? It's clearly not in all contexts.







___
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: Communication between JADE and Runrev

2010-03-16 Thread Pierre Sahores

Hi,

Are asking this about JADE as the Java Agent DEvelopment Framework or  
as the Java-based web Application's DEvelopment Framework ?


P.

Le 16 mars 10 à 18:47, zeeshan aamir a écrit :


Hi,
i need examples of Communication between JADE and Runrev through  
sockets.


Kindly send me complete procedure how to communicate between them.

Is there is any video tutorial available for this. on youtube or any  
other?


One Stck is in stack RunRev  (*vending*
machinehttp://www.google.se/search?hl=svei=yMOfS5vjKZaUnwPY1rTuDAsa=Xoi=spellresnum=0ct=resultcd=1ved=0CAUQBSgAq=vending+machinespell=1 
is

placed on 5 different position, their or many custommer who come
through
street and buy newspaper)
Other coading of each agents in JADE   (All programming how machine  
behave

etc)

how to communicate?
___
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



--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.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: Communication between JADE and Runrev

2010-03-16 Thread Mark Schonewille
Pierre, from the URL, it looks like Zeeshan wants to communicate with  
the Jade vending machine. I'm not sure that this is possible.


Zeeshan, if you really want to communicate with Jade vending machines,  
you need to ask the Jade company whether this is possible and allowed.  
If you really want to communicate with the Java Agent DEvelopment  
Framework, you'll just have to create a server or client that  
communicates through sockets. Is your question actually how sockets  
work?


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new software development  
projects. Feel free to contact me for a quote.


Op 16 mrt 2010, om 19:51 heeft Pierre Sahores het volgende geschreven:


Hi,

Are asking this about JADE as the Java Agent DEvelopment Framework  
or as the Java-based web Application's DEvelopment Framework ?


P.

Le 16 mars 10 à 18:47, zeeshan aamir a écrit :


Hi,
i need examples of Communication between JADE and Runrev through  
sockets.


Kindly send me complete procedure how to communicate between them.

Is there is any video tutorial available for this. on youtube or  
any other?


One Stck is in stack RunRev  (*vending*
machinehttp://www.google.se/search?hl=svei=yMOfS5vjKZaUnwPY1rTuDAsa=Xoi=spellresnum=0ct=resultcd=1ved=0CAUQBSgAq=vending+machinespell=1 
is

placed on 5 different position, their or many custommer who come
through
street and buy newspaper)
Other coading of each agents in JADE   (All programming how machine  
behave

etc)

how to communicate?

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.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: Card Name space conflicts in the Rev IDE

2010-03-16 Thread Jerry Daniels

Stephen,

Your tRev license to get updates is good until July. You will see a  
notice at bottom left of tRev window telling you when your renewal  
date gets 60 days or less. You'll also get a link to initiate the  
renewal process.


Best,

Jerry Daniels

The latest Rev Editor Video:
http://reveditor.com/background-tabs-open-a-tab-without-going-ther

On Mar 15, 2010, at 2:24 PM, stephen barncard wrote:

I just tested the same exact situation and it seems work fine in  
tRev...

thanks again for your quick work.

By the way, don't I owe you money for a renewal pretty soon??? What  
should I

do?

thanks

sqb


On 15 March 2010 14:00, Jerry Daniels jerry.dani...@me.com wrote:


Stephen,

The unique card situation has I BELIEVE been fixed in the latest tRev
build. Tricky stuff.

JD


On Mar 15, 2010, at 12:49 AM, stephen barncard wrote:

Thanks for the help guys.


It's not about creating new cards. It's what happens when one  
creates a

new
substack, and the automatic ID assignment of the first card in the  
new

stack.

I had been using the inspector to try to get there. That triangle  
below

the
lock that can reveal objects.


click on stack2
use the inspector to see the first card.
but it's the name that I called the first card in the first  
stack,  I

never
can reveal card id 1002 of stack2

It's like the that function (the popup under lock) is looking at  
card IDs

and not names for reference.

I just tried navigation via the Application Browser,

I now can see the names in the application browser and actually do  
the

navigation there.  And I have had this problem lately in tRev.

But the navigation seems to be broken in the popup in the  
Inspector with
regards to recognizing cards with the same ID. Should this be  
posted

as
a bug?


-
Stephen Barncard
currently in Fairhope AL




How are you creating new cards?  How are you determining that you  
can't

see the newly created cards?

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



___

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





--
-
Stephen Barncard
currently in Fairhope AL
___
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


Replace colors (was: can rev supply image editing features?)

2010-03-16 Thread Wilhelm Sanke

On  March 15, 2010, Tiemo Hollmann TB toolbook at kestner.de wrote:


I am not that familiar with the image manipulating capabilities of rev. I
have a batch of images with a person in front of a blue background.

What I would like to do is to change the blue background against a white
background, so that a printed image has a better contrast. Up to now I
thought that this is a photoshop job, but I am always again surprised what
people do with rev (blending, masking, etc.). Or any externals for Mac and
Win? I don't know if at all it would be possible, to find and select
automatically the background (e.g. select always the topleft corner) and
select all of the blue, like photoshops wizard selecting tool with some
tolerance of 10 or 20%, because the RGB isn't that plain over the whole
background.


and

stephen barncard stephenREVOLUTION2 at barncard.com answered:

you mean you want a magic wand or replace color tool? I don't 
think rev

can do that natively. Adobe may even have a patent on it.



I think to replace a color in an image is one of the simpler tasks 
feasable with Rev (see farther below for the recipes).


There are some on this list that have explored possibilities of image 
editing with Rev - and from which I have learned much when I started 
myself to experiment with such things. Some of the results and related 
image-manipulating tools can be inspected on my website


http://www.sanke.org/MetaMedia.

The two Imagedata Toolkits from 2006 and 2007 contain more than 
hundred filters and other tools to manipulate images. A number of newer 
stacks are still in the process of being prepared for public release.


The basic problem with using Rev for image processing is that with 
big-sized images the processing speed can be very, very slow. Another 
problem are a number of bugs in Rev that led to rather frequent crashes 
when I was working on a set of other tools (Photo Patchworks, 
Gradientology, Kaleidoscope Tool), which has substantially delayed 
their release - along with the fact that Rev is no longer in the center 
of my interests as it has been before.


I have addressed the speed and crash problems on various occasions and 
also in my last post to this list of March 9: Language comparisons: 
Lua - simpler and faster than RevTalk? (which you can also get from here:

http://www.sanke.org/MetaMedia/LanguageComparisonsLua.rtf)

and in which I announced two other stacks Exploring Hues and Lua 
Filters. Both stacks contain replace tools, one that I ported from 
Lua and others that I had developed earlier on my own.


Concerning Tiemo's question:

I replaced (a range of) colors colors in two images in two different ways:

1. Replacing a color range with a plain replace color

2. Replacing a color range while preserving structures in the color 
area being replaced, for examples the clouds on the blue sky that now 
look red like the replaced color of the sky, but remain discernible 
inside the new red background.


Two examples for each approach:

http://www.sanke.org/MetaMedia/Town-original.jpg
http://www.sanke.org/MetaMedia/Town-RedBG-plain.jpg

and
http://www.sanke.org/MetaMedia/Landscape-original.jpg
http://www.sanke.org/MetaMedia/Landscape-RedBG.jpg

You find the necessary scripts here:

http://www.sanke.org/MetaMedia/ReplaceScripts.rtf

The procedures to replace the colors in this case are like here (many 
other approaches are of course possible).


- select a color-to-be-replaced by clicking on the image and getting the 
mousecolor using a script in the image


- define a range for that color via an ask dialog

- get the replace color from somewhere; in my case I used a color field 
whose background colors I set with RGB sliders - as in the Color 
Chooser stack.


- finally press the replace button (and repeat that process if necessary 
to refine color selection and range).


I also use a movable graphic on top of the image to restrict such 
replace color (or any other) effects to a specific area of the image.


Kind regards,

Wilhelm Sanke

___
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 'put URL ftp://... if username contains @

2010-03-16 Thread Jim Ault
When using a server/host that handles multiple domains, many systems  
require the [user's account name @ the domain ]   in order to validate  
the login, thus


   donaldd...@domaindisneyland.com:mickeymo...@domaindisneyland.com

donaldd...@domaindisneyworld.com:mickeymo...@domaindisneyworld.com


The server should be able to parse this correctly.  It is expecting  
this format as a possibility.  This works fine on my hosted sites.

I wouldtry Andre's URL encode %40




On Mar 16, 2010, at 9:08 AM, Bill Marcy wrote:


There isn't a way to escape out a character?

2010/3/16 Björnke von Gierke b...@mac.com

It's possible that the parts after the @ in the user name can be  
omitted.
If not, try to urlencode the name, and/or the password before  
putting them

into the url query string.

On 16 Mar 2010, at 16:55, runrev260...@m-r-d.de wrote:


Hi,

how can i use the comand
put URL FTP://username:passw...@...
if the username already contains a @.
I tried to put the username into a var, but that does not the trick.

Is it even possible?

Regards,

Matthias


Jim Ault
Las Vegas



___
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 set the textStyle of word 1 of the selection?

2010-03-16 Thread J. Landman Gay

Andre.Bisseret wrote:

Then, I am looking for a solution. I will try to control the selection 
made by the user and to edit it.


Does this work?

on mouseUp
  get the selection
  put word 1 of it into tWord
  if tWord =  then exit mouseUp
  put (word 2 of the selectedchunk)-1 into tStart
  set the textstyle of char (offset(tWord,it))+tStart to \
len(tWord)+tStart of fld 1 to link
end mouseUp

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
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: how to set the textStyle of word 1 of the selection?

2010-03-16 Thread J. Landman Gay

J. Landman Gay wrote:

Andre.Bisseret wrote:

Then, I am looking for a solution. I will try to control the selection 
made by the user and to edit it.


Does this work?

on mouseUp
  get the selection
  put word 1 of it into tWord
  if tWord =  then exit mouseUp
  put (word 2 of the selectedchunk)-1 into tStart
  set the textstyle of char (offset(tWord,it))+tStart to \
len(tWord)+tStart of fld 1 to link
end mouseUp



Answering my own question: no, it doesn't. Not in all cases. Only in some.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
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


[OT] Poor man's Photoshop

2010-03-16 Thread Richmond Mathewson

 Those of you who:

Cannot afford Photoshop,  and

Cannot cope with GIMP

could do far worse than this:

http://www.sumopaint.com/app/

It blew me away.
___
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 'put URL ftp://... if username contains @

2010-03-16 Thread Dave Cragg

On 16 Mar 2010, at 17:28, Matthias Rebbe wrote:

 Thanks to all who replied. In my case the username has to be
 usern...@domain.tld. A + or a % as a replacement are not accepted.
 
 But urlencode and of course Andre´s suggestion to use %40 did the trick.
 

Just to confirm. libUrl always urlDecodes any username and password in URLs. So 
it's always safe to urlEncode these before adding them to the URL, and 
advisable if they contain any strange characters.

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

2010-03-16 Thread Sarah Reichelt
 Ryno.
 http://artistvision.org/
 Still all alone in Africa : )

Not quite alone
I added a neat Flash globe to my web site which plots visitors
http://www.troz.net/rev/.
I would assume most visitors are after Rev material and there are a
few dots scattered over Africa.

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: [OT] Poor man's Photoshop

2010-03-16 Thread stephen barncard
you are totally right - this is an amazing web app!

It just feels more like a 'desktop app'.

I'll be surprised if Google doesn't try to buy it and add it to their office
suite.



On 16 March 2010 16:16, Richmond Mathewson richmondmathew...@gmail.comwrote:

  Those of you who:

 Cannot afford Photoshop,  and

 Cannot cope with GIMP

 could do far worse than this:

 http://www.sumopaint.com/app/

 It blew me away.
 ___
 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
currently in Fairhope AL
___
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: Confusing Errors

2010-03-16 Thread Sarah Reichelt
 on mouseUp
  global activeRCMStudentIDNum
  global currentReportIDNum
  global currentTarget
  global GlobalModeOption
  global gStudentXML
  global pMode

  set cursor to watch
  lock screen

  put the IDNumber of currentTarget into fPane  --this is where it's tripping

I would guess that currentTarget is not set when this gets called.
Can you add some logging to see what it is set to when this routine runs?

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: Saving files to database

2010-03-16 Thread zryip theSlug
2010/3/15 Devin Asay devin_a...@byu.edu:
 On Mar 15, 2010 Andrew Kluthe and...@rjdfarm.com wrote:

 I have a need to store image files and document files (reports) to my
 mySQL
 database. I know it is arguably unconventional to do this, but the need
 and
 requirement is there. Does anyone have any experience doing this within
 rev?
 I have seen alot of tutorials documenting this in PHP.

 Worst case: I use a php script to handle this process. But, I would like
 to
 do this straight from my rev program.


 Bob and Slug,

 I've been doing this for years, but I have never used base 64 encoding and
 decoding. I've moved multiple gigabytes of binary data back and forth
 between local machine and mySql server without any trouble at all. So my
 question is, why use base 64 encoding if it doesn't make any difference?

 Devin

 Devin Asay
 Humanities Technology and Research Support Center
 Brigham Young University

Devin,

Interesting remark.

Well, when I tried to restore my blob without base64
encoding/decoding, I encounter corruption problems with a pdf and an
application. With the encoding all was OK.
I conclude that base64 was necessary to preserve the original state of a file.

My experiment was the transposition of what I could habitually doing
with other language.

I'm using blob
- to store printing or export templates
- transfer documents from a server to clients without mount network
drive (ie to store bills in pdf format in a server disk)
- store help documentation or application in hybrid networks (mac and pc)
- store printers preset
- and a couple of various other things difficult to explain because
specific to the language

In this language, blob are special objects and the database structure
don't require encoding excepts if we need to send the blob as
attachment to an email.

-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: adjusting speed of set arcangle of graphic

2010-03-16 Thread Nicolas Cueto
Malte, thank you... and a further AE question! (Apologies to the list.)

Instead of the arcangle increasing, how could I use AE to make it
decrease? So that the circle disappears.

I tried reversing the aeEaseIn function's start/end values and setting
a negative exponent value, but the only think I could come up that
worked was to change:

  set the arcAngle of grc circle to round(tAngle)

to

  set the arcAngle of grc circle to round(360 - tAngle)


Is there a better AE way?


--
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: adjusting speed of set arcangle of graphic

2010-03-16 Thread Sarah Reichelt
On Wed, Mar 17, 2010 at 11:00 AM, Nicolas Cueto nicon...@gmail.com wrote:
 Malte, thank you... and a further AE question! (Apologies to the list.)

No apology needed, at least as far as I am concerned.
AE is a Rev development tool and so this is a perfect place for a
discussion of it's abilities.

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: Confusing Errors

2010-03-16 Thread Kay C Lan
On Tue, Mar 16, 2010 at 11:39 PM, Dan Friedman d...@clearvisiontech.com wrote:

 As you can see, it's the first [evaluated] line in the script.  If it 
 matters, this is a modal dialog.  Also noteworthy, is that I can't repeat 
 this error.  These reports are coming from users.  Also, they are coming from 
 1% of my users.  So for more than 99% of my clients, this isn't failing!

What Platform and OS are 99% of your users on, what Platform and OS
are 1% of your users on and what Platform and OS did you develop and
build your application on? Are there any other possible distinctions
between the 99  1, ie are the 99% all sole 'administrative' users of
their computers whilst the 1% are in a shared multi-user environment?

If your code works then it tends to imply that it's something about
the individual set-up.
___
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 set the textStyle of word 1 of the selection?

2010-03-16 Thread J. Landman Gay

J. Landman Gay wrote:

J. Landman Gay wrote:

Andre.Bisseret wrote:

Then, I am looking for a solution. I will try to control the 
selection made by the user and to edit it.


Does this work?

on mouseUp
  get the selection
  put word 1 of it into tWord
  if tWord =  then exit mouseUp
  put (word 2 of the selectedchunk)-1 into tStart
  set the textstyle of char (offset(tWord,it))+tStart to \
len(tWord)+tStart of fld 1 to link
end mouseUp



Answering my own question: no, it doesn't. Not in all cases. Only in some.



So I'm being really stupid today. This should have been pretty obvious:

on mouseUp
  select word 1 of the selection
  if the number of words in the selection = 0 then exit mouseUp
  set the textstyle of the selectedChunk to link
end mouseup

Like, duh.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
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