Re: Stack working in MACOS, not in Windows.

2010-02-19 Thread Björnke von Gierke
if it's visa or seven, you might run into virtualisation when writing to the 
system application folder.


On 19 Feb 2010, at 05:12, stephen barncard wrote:

 ...
 Perhaps it's pathnames - On the mac, the folders with the encrypted audio
 data are located right next to the executable in the MacOS folder.
 
 On the PC - I've instructed him to put the folders just outside the .exe
 
 Same path, right?  -- and I use the effective filename of this stack to
 find out where I am for both...


-- 

official ChatRev page:
http://bjoernke.com?target=chatrev

Chat with other RunRev developers:
go stack URL http://bjoernke.com/chatrev/chatrev1.3b3.rev;

___
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: Where do you live? - world map of runrev users

2010-02-19 Thread planix

This is really interesting. I have placed my mark up in Far North Queensland.
Now all we need is 3 more Australian revvers to cover NT, WA and Tassie.
What a fascinating way to visualise information.

thanks guys

Alistair
-- 
View this message in context: 
http://n4.nabble.com/OT-Where-do-you-live-world-map-of-runrev-users-tp1557291p1561379.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: OT: Parallels or VMWare Fusion?

2010-02-19 Thread Ernst Michael Reicher
Need Win Applications in my job.
Started with Parallels and was quit satisfied BUT since version 4 networking 
doesn´t work satisfactory so I went to Fusion and its works well.
Perhaps Par.version 5 works better?!?!!?!?
Parallels had better Mac like look.

Regards,
Ernst

___
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: Parallels or VMWare Fusion?

2010-02-19 Thread Bernard Devlin
On Thu, Feb 18, 2010 at 10:50 PM,  runrev260...@m-r-d.de wrote:

i am in the process of switching  from Windows to Mac.Not really
switching, but i want to develop on Mac OS X.  As i am using some
tools, which are not available for Mac, i need to run a virtual
machine also on my mac. On my windows machines i am running several
virtual machines on VmWare Workstation and i am really satisfied with
it.


There's one other option. QEMU and it's free.  I dismissed this for a
long time, but after I'd had problems with both VMWare and VirtualBox
(both of which I otherwise liked) I tried QEMU.  It appears that QEMU
is the basis for VirtualBox and for the XEN hypervisor, i.e. they are
some fork of QEMU.

Bernard
___
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: Parallels or VMWare Fusion?

2010-02-19 Thread Andre Garzia
I've used Parallels, VMWare Fusion and Virtual Box, in that order,
now, I use only virtual box even as I've paid for Fusion 1.0 and
Parallels from 1.0 to 3.0.

One good thing I like in virtualbox is that I have it on my mac and on
my linux machines, so I can test things on my macbook or fat pc and
keep working on the other machine. Also the FREE part is appealing.

:D

On Fri, Feb 19, 2010 at 9:29 AM, Bernard Devlin bdrun...@gmail.com wrote:
 On Thu, Feb 18, 2010 at 10:50 PM,  runrev260...@m-r-d.de wrote:

 i am in the process of switching  from Windows to Mac.Not really
 switching, but i want to develop on Mac OS X.  As i am using some
 tools, which are not available for Mac, i need to run a virtual
 machine also on my mac. On my windows machines i am running several
 virtual machines on VmWare Workstation and i am really satisfied with
 it.
 

 There's one other option. QEMU and it's free.  I dismissed this for a
 long time, but after I'd had problems with both VMWare and VirtualBox
 (both of which I otherwise liked) I tried QEMU.  It appears that QEMU
 is the basis for VirtualBox and for the XEN hypervisor, i.e. they are
 some fork of QEMU.

 Bernard
 ___
 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: OT: Parallels or VMWare Fusion?

2010-02-19 Thread Pierre Sahores
Same here after a direct switch from Parallels 3.0 to Virtual Box,  
because its smallest processor's time needs and because it never  
crashes ;-)


Le 19 févr. 10 à 14:32, Andre Garzia a écrit :


I've used Parallels, VMWare Fusion and Virtual Box, in that order,
now, I use only virtual box even as I've paid for Fusion 1.0 and
Parallels from 1.0 to 3.0.


Best Regards,

--
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: OT: Where do you live? - world map of runrev users

2010-02-19 Thread Andre Garzia
hohoho,

if this was a game of risk, I would rule an entire continent! :D

:D

On Fri, Feb 19, 2010 at 8:05 AM, planix dr.alist...@gmail.com wrote:

 This is really interesting. I have placed my mark up in Far North Queensland.
 Now all we need is 3 more Australian revvers to cover NT, WA and Tassie.
 What a fascinating way to visualise information.

 thanks guys

 Alistair
 --
 View this message in context: 
 http://n4.nabble.com/OT-Where-do-you-live-world-map-of-runrev-users-tp1557291p1561379.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




-- 
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: OT: Parallels or VMWare Fusion?

2010-02-19 Thread Andre Garzia
Pierre,

Smaller processor's time needs means it doesn't lock the computer all
time like parallels used to?

:D

On Fri, Feb 19, 2010 at 11:53 AM, Pierre Sahores psaho...@free.fr wrote:
 Same here after a direct switch from Parallels 3.0 to Virtual Box, because
 its smallest processor's time needs and because it never crashes ;-)

 Le 19 févr. 10 à 14:32, Andre Garzia a écrit :

 I've used Parallels, VMWare Fusion and Virtual Box, in that order,
 now, I use only virtual box even as I've paid for Fusion 1.0 and
 Parallels from 1.0 to 3.0.

 Best Regards,

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




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


Menu visuals on Vista/Win 7

2010-02-19 Thread Jeffrey Massung
So, I don't know how to describe this as I don't have access to a vista/7 
machine (I use XP), but friends who are testing my RSS app have sent me 
screenshots (which I can post later if needed) that clearly show the menu bar 
only going to the edge of the help menu and then ending.

On XP the menu likely ends abruptly as well, instead of using the entire stack 
width, but is unnoticeable since the menu background is the same as the stack 
background color.

Anyway, I was wondering if there was a simple fix for this. Can I just set the 
width of the menu group to the stack width and it just work or am I going to 
have to do something a little more inventive?

Thanks!

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


[ANN] tRev now sporting 'background' tabs!

2010-02-19 Thread Jerry Daniels

Lovers of tabbed browsing of scripts,

This week's video shows you how to open scripts to objects in new tabs  
while remaining in the current tab.


http://reveditor.com/background-tabs-open-a-tab-without-going-ther

Here are the details along with other improvements...

New Background Tabs
- Now you can open a tab to another object while staying in your  
current tab.

- This allows you to keep working in the browser or on a script.
- Use command key (control on PCs) to open a tab without going to it.
- Works on Browser line items, links-to-handlers in code, and the  
scratchpad.
- Command+double-clicking a line item in Browser no longer edits name  
of line item.


Easier Scratch pad locking
- When scratch pad is unlocked, escape key locks it.

Fixed
- If tRev thinks it's offline on startup, it now tries again.
- Scratch Pad contents now reliably preserved from session-to-session.
- When in zoom mode, controls in list can now be renamed.
- When in zoom mode and controls being renamed, escape key now exits  
renaming.


Best,

Jerry Daniels

Last week's Rev Editor Video:
http://reveditor.com/need-to-move-controls-in-card-snaps-zoom

___
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: Menu visuals on Vista/Win 7

2010-02-19 Thread Hugh Senior
Hi Jeff,

The former... set the width of grp [menubarname] to the width of this stack.
Assuming the lockloc is true it should just expand in the right way for you.
If the lockloc is false, you'll have to set the rect of grp [menubarname] to
0,0,width,height instead.

Alternatively set the opaque of the menubar grp to false.

/H

[snip] Anyway, I was wondering if there was a simple fix for this. Can I
just set the width of the menu group to the stack width and it just work
or am I going to have to do something a little more inventive?

Thanks!

Jeff M.

___
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]Re: Best Release Practices and the word fortnight

2010-02-19 Thread Devin Asay


On Feb 18, 2010, at 6:08 PM, Kay C Lan wrote:


On Fri, Feb 19, 2010 at 6:54 AM, Luis l...@anachreon.co.uk wrote:


I was reading the list of ingredients on an English bottle of  
ketchup we had

bought in Spain


A free weeks subscription to the Rev Use List for anyone who knows the
origin of the word ketchup without looking it up in the dictionary.


Well, the urban legend I've always heard is that Heinz wanted to  
differentiate themselves from the competition, so invented an  
alternate spelling of 'catsup'.


I also remember a tomato-y sauce in Indonesian restaurants in Holland  
called 'ketjap' (I may be misremembering the spelling.)


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


SuperDuper textSize property

2010-02-19 Thread DunbarX
This is nothing new, and has always been the case in HC.

I make a field and I set the textSize of the field to 12. I write three 
lines of text.
I then set the textSize of line 2 of the field to 24. That line gets 
bigger.
If I ask for the textSize of line 2, I get 24. If I ask for the textSize of 
the field, I get 12.
If I then set the textSize of the field to 10, all lines but line 2 obey.

OK, they always did. Lines (or chunks in general) remember their textSize 
(or textStyle, or textAnything) as a personal property, taking precedence 
over the field property. 

So is it true that in order to globally change one of these properties I 
have to explicitly use some sort of chunk expression:

set line 1 to the number of lines of fld myField to plain

I only ask because Rev seems to have a property for everything. There isn't 
an overArchingTextStyle property?

Craig Newman
___
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: stack crashing IDE

2010-02-19 Thread Bernard Devlin
On Thu, Feb 18, 2010 at 4:40 PM, Michael Kann mikek...@yahoo.com wrote:
 You might try running Vista in Safe Mode to see if there is a driver conflict 
 hiding in the shadows.

Michael, thanks for the suggestion - I would not have thought of that.

Unfortunately, it didn't work.  I had no choice but to go back to an
earlier backed-up version and use that.  It seems that the last few
versions I had would all crash Rev on start up.  Very strange.

Bernard
___
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: Best Release Practices and the word fortnight

2010-02-19 Thread Andre Garzia
the portuguese word for being ashamed is the spanish word for being pregnant...

also, funny differences from portugal portuguese to brazil portuguese:

portugal bicha means a queue of people, in brazil it means gay in the
queer sense.

portugal cueca means the girls or boys underwear while in brazil it
means only boys.

portugal durex means condoms while in brazil it is that sticky tape
you use to glue stuff to notebooks.

portugal pica means to get an injection (shot) for medicina, in brazil
is the slang for the mens private parts when it is happy and proud.

portugal propinas means tax while in brazil it means bribe.

portugal tesão means point while in brazil it means being horny.

portugal cacete which is a short bagette bread, in brazil means male
private parts as well, it is also a popular interjection used whenever
you need to scream something, I use it when someone tries to hit my
car when they shouldn't.

but my all time favorite is the portuguese expression that they use
when a woman is on her period, they use estar com historias which
literally means having stories?!?!




On Thu, Feb 18, 2010 at 8:54 PM, Luis l...@anachreon.co.uk wrote:
 And further along the translation highway...

 I was reading the list of ingredients on an English bottle of ketchup we had
 bought in Spain (oh the profanity!) translating as I went along into
 Spanish. I got to 'preservatives' and read it out as 'preservativos', which
 is the official word for a 'rubber' (in the prophylactic sense) in Spain.
 They didn't want any on their chips.

 I also heard of this one:
 In a restaurant in Portugal they had Goose Barnacles on the menu.
 In Spanish, and it appears in Portuguese also, they are called 'Percebes'.
 Now, the proprietor wisely consulted a Portuguese to English dictionary to
 offer these delicacies to a wider audience. Unfortunately (maybe it was  a
 concise dictionary) the other meaning for 'percebes' in Portuguese is
 'understanding', which he didn't. So they were offering 'understandings' on
 the menu.

 It's a weird, wonderful world.

 Cheers,

 Luis.



 Richmond Mathewson wrote:

 On 18/02/2010 21:21, Lynn Fredricks wrote:

 I similarly use acres, furlongs and guinees. I absolutely REFUSE to
 work in metric weights and distances which remain completely
 meaningless to me. I also use the word 'twelvemonth' from time to
 time, as in I haven't seen him in a twelvemonth.


 I think that's just fine for normal communication, but this should be
 food
 for thought about servicing international markets. Even if the receiving
 party knows what these things are, it communicates something else the the
 receiver that you might use local vocabulary or colloquialisms for
 official
 communication.

 Back before I became a souless business person, I taught some high
 school.
 There was a British story that referred to rubber boots as rubbers
 repeatedly. That's not something you can trot out in a high school class
 without expecting disruption ;-)



 Hey-Ho, divided by a common language!  I think you will find that
 rubbers refers in that context to GALOSHES.

 Of course, down in my school, where I teach Primary children, they use
 rubbers all the time . . . but then, unlike standard Bulgarian school
 practice, I insist that the children use pencils so that they can correct
 their mistakes with rubbers rather than leave great, ugly, scrawlings-out
 in their exercise books.

 Possibly, some of us on the use-list are sufficiently old enough to
 remember
 an album by the Beatles called Rubber Soul - presumably that is what you
 are referring to your having lost . . .  :)  It is available on CD:


 http://www.amazon.com/Rubber-Soul-Remastered-Beatles/dp/B0025KVLT2/ref=sr_1_1?ie=UTF8s=musicqid=1266522000sr=8-1

 -

 And there, surely, lies the fundamental difference between British rubbers
 and North American rubbers:

 the former are used to correct mistakes,

 the latter to prevent them.

 What is, arguably the funniest thing of all is that the literal
 translation of the
 Bulgarian word for what North Americans call 'rubbers' is 'preservative' .
 . .

 and I always thought that was something you put in jam!

 ___
 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




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

Re: Best Release Practices and the word fortnight

2010-02-19 Thread Luis

Anyone else spot a trend there?... ;P

Cheers,

Luis.


On 19 Feb 2010, at 17:01, Andre Garzia wrote:

the portuguese word for being ashamed is the spanish word for being  
pregnant...


also, funny differences from portugal portuguese to brazil portuguese:

portugal bicha means a queue of people, in brazil it means gay in the
queer sense.

portugal cueca means the girls or boys underwear while in brazil it
means only boys.

portugal durex means condoms while in brazil it is that sticky tape
you use to glue stuff to notebooks.

portugal pica means to get an injection (shot) for medicina, in brazil
is the slang for the mens private parts when it is happy and proud.

portugal propinas means tax while in brazil it means bribe.

portugal tesão means point while in brazil it means being horny.

portugal cacete which is a short bagette bread, in brazil means male
private parts as well, it is also a popular interjection used whenever
you need to scream something, I use it when someone tries to hit my
car when they shouldn't.

but my all time favorite is the portuguese expression that they use
when a woman is on her period, they use estar com historias which
literally means having stories?!?!




On Thu, Feb 18, 2010 at 8:54 PM, Luis l...@anachreon.co.uk wrote:

And further along the translation highway...

I was reading the list of ingredients on an English bottle of  
ketchup we had

bought in Spain (oh the profanity!) translating as I went along into
Spanish. I got to 'preservatives' and read it out as  
'preservativos', which
is the official word for a 'rubber' (in the prophylactic sense) in  
Spain.

They didn't want any on their chips.

I also heard of this one:
In a restaurant in Portugal they had Goose Barnacles on the menu.
In Spanish, and it appears in Portuguese also, they are called  
'Percebes'.
Now, the proprietor wisely consulted a Portuguese to English  
dictionary to
offer these delicacies to a wider audience. Unfortunately (maybe  
it was  a

concise dictionary) the other meaning for 'percebes' in Portuguese is
'understanding', which he didn't. So they were offering  
'understandings' on

the menu.

It's a weird, wonderful world.

Cheers,

Luis.



Richmond Mathewson wrote:


On 18/02/2010 21:21, Lynn Fredricks wrote:


I similarly use acres, furlongs and guinees. I absolutely  
REFUSE to

work in metric weights and distances which remain completely
meaningless to me. I also use the word 'twelvemonth' from time to
time, as in I haven't seen him in a twelvemonth.



I think that's just fine for normal communication, but this  
should be

food
for thought about servicing international markets. Even if the  
receiving
party knows what these things are, it communicates something  
else the the

receiver that you might use local vocabulary or colloquialisms for
official
communication.

Back before I became a souless business person, I taught some high
school.
There was a British story that referred to rubber boots as  
rubbers
repeatedly. That's not something you can trot out in a high  
school class

without expecting disruption ;-)




Hey-Ho, divided by a common language!  I think you will find that
rubbers refers in that context to GALOSHES.

Of course, down in my school, where I teach Primary children,  
they use
rubbers all the time . . . but then, unlike standard Bulgarian  
school
practice, I insist that the children use pencils so that they can  
correct
their mistakes with rubbers rather than leave great, ugly,  
scrawlings-out

in their exercise books.

Possibly, some of us on the use-list are sufficiently old enough to
remember
an album by the Beatles called Rubber Soul - presumably that is  
what you

are referring to your having lost . . .  :)  It is available on CD:


http://www.amazon.com/Rubber-Soul-Remastered-Beatles/dp/ 
B0025KVLT2/ref=sr_1_1?ie=UTF8s=musicqid=1266522000sr=8-1


 
-


And there, surely, lies the fundamental difference between  
British rubbers

and North American rubbers:

the former are used to correct mistakes,

the latter to prevent them.

What is, arguably the funniest thing of all is that the literal
translation of the
Bulgarian word for what North Americans call 'rubbers' is  
'preservative' .

. .

and I always thought that was something you put in jam!

___
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





--
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list

Re: SuperDuper textSize property

2010-02-19 Thread Jacques Hausser
Hi Craig,

I don't no if it's an overArchingTextStyle property somewhere, but a simple way 
to homogeneize the text of a file id

put the text of fld x into fld x . So you get rid of any chunk formatting

Jacques

Le 19 févr. 2010 à 17:48, dunb...@aol.com a écrit :

 This is nothing new, and has always been the case in HC.
 
 I make a field and I set the textSize of the field to 12. I write three 
 lines of text.
 I then set the textSize of line 2 of the field to 24. That line gets 
 bigger.
 If I ask for the textSize of line 2, I get 24. If I ask for the textSize of 
 the field, I get 12.
 If I then set the textSize of the field to 10, all lines but line 2 obey.
 
 OK, they always did. Lines (or chunks in general) remember their textSize 
 (or textStyle, or textAnything) as a personal property, taking precedence 
 over the field property. 
 
 So is it true that in order to globally change one of these properties I 
 have to explicitly use some sort of chunk expression:
 
 set line 1 to the number of lines of fld myField to plain
 
 I only ask because Rev seems to have a property for everything. There isn't 
 an overArchingTextStyle property?
 
 Craig Newman
 ___
 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

**
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel/fax:++ 41 22 366 19 40
mobile: ++ 41 79 757 05 24
E-Mail: jacques.haus...@unil.ch
***

___
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


revlet newbie questions

2010-02-19 Thread Chris Sheffield
So I'm just now playing with revlets, and was hoping to be able to convert an 
existing desktop app to a revlet, just as kind of a proof of concept thing. So 
far I'm striking out. Running on a Mac, OS X 10.6.2, it's totally locking up 
Firefox and, while Safari doesn't lock up, the revlet doesn't load properly. I 
just get a blank screen.

This is a fairly complex desktop app, basically a front end to a mysql 
database, so I'm sure there is simply code in there that will not run in a 
revlet. So I'm wondering, is there a good, single source out there somewhere 
that lists what works and what doesn't work in a revlet? Things to avoid in 
revlets? One thing I discovered is that the go stack command is supported in 
a revlet, but I can't seem to make it work unless I use the go stack in 
window form. Is that the only way to do it?

This app consists of several stack files, not substacks of one main stack, but 
rather several main stack files that are opened and closed depending on what 
the user is doing. Is that a problem in a revlet? Is it necessary to build each 
stack file into a revlet, or can they remain in their regular stack file and 
still be loaded using go stack from the first stack, which would be built as 
a revlet?

I've noticed in the Rev documentation that the Class column lists whether or 
not handlers work in a revlet, but is there some way to filter  the list? I 
don't seem to be able to. The search field seems to only search on the 
handler/property names.

What would be really nice, and I suppose I could do this myself if I had the 
time right now, would be a little plugin for Rev that could scan through an 
open stack and spit out a list of the incompatilities with revlets that 
appear in that stack. Any takers? If not, can someone point me to a 
step-by-step revlet guide? Hopefully I'm not asking too much. :-)

Thanks,
Chris


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

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


Re: SuperDuper textSize property

2010-02-19 Thread Phil Davis

On 2/19/10 8:48 AM, dunb...@aol.com wrote:

This is nothing new, and has always been the case in HC.

I make a field and I set the textSize of the field to 12. I write three
lines of text.
I then set the textSize of line 2 of the field to 24. That line gets
bigger.
If I ask for the textSize of line 2, I get 24. If I ask for the textSize of
the field, I get 12.
If I then set the textSize of the field to 10, all lines but line 2 obey.

OK, they always did. Lines (or chunks in general) remember their textSize
(or textStyle, or textAnything) as a personal property, taking precedence
over the field property.

So is it true that in order to globally change one of these properties I
have to explicitly use some sort of chunk expression:

set line 1 to the number of lines of fld myField to plain
   


Hi Craig,

You want to REMOVE the chunk-based text property, not set it to another 
value, right? So try this:


   set the textAnything of line 1 to -1 of fld myField to empty

If you set it to a non-empty value, you've only traded one chunk-based 
setting for another. At least that's my understanding.


Phil Davis


I only ask because Rev seems to have a property for everything. There isn't
an overArchingTextStyle property?

Craig Newman
___
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

   


--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.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


Re: SuperDuper textSize property

2010-02-19 Thread Jacques Hausser
Seems it's time to put the lights on... I wanted to write:

I don't know if it's an overArchingTextStyle property somewhere, but a simple 
way to homogeneize the text of a field is

put the text of fld x into fld x . So you get rid of any chunk formatting

Do they still sell Ten thumbs, at RunRev ?

Jacques


Le 19 févr. 2010 à 18:17, Jacques Hausser a écrit :

 Hi Craig,
 
 I don't no if it's an overArchingTextStyle property somewhere, but a simple 
 way to homogeneize the text of a file id
 
 put the text of fld x into fld x . So you get rid of any chunk formatting
 
 Jacques
 
 Le 19 févr. 2010 à 17:48, dunb...@aol.com a écrit :
 
 This is nothing new, and has always been the case in HC.
 
 I make a field and I set the textSize of the field to 12. I write three 
 lines of text.
 I then set the textSize of line 2 of the field to 24. That line gets 
 bigger.
 If I ask for the textSize of line 2, I get 24. If I ask for the textSize of 
 the field, I get 12.
 If I then set the textSize of the field to 10, all lines but line 2 obey.
 
 OK, they always did. Lines (or chunks in general) remember their textSize 
 (or textStyle, or textAnything) as a personal property, taking precedence 
 over the field property. 
 
 So is it true that in order to globally change one of these properties I 
 have to explicitly use some sort of chunk expression:
 
 set line 1 to the number of lines of fld myField to plain
 
 I only ask because Rev seems to have a property for everything. There isn't 
 an overArchingTextStyle property?
 
 Craig Newman
 ___
 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
 
 **
 Prof. Jacques Hausser
 Department of Ecology and Evolution
 Biophore / Sorge
 University of Lausanne
 CH 1015 Lausanne
 please use my private address:
 6 route de Burtigny
 CH-1269 Bassins
 tel/fax:  ++ 41 22 366 19 40
 mobile:   ++ 41 79 757 05 24
 E-Mail:   jacques.haus...@unil.ch
 ***
 
 ___
 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

**
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel/fax:++ 41 22 366 19 40
mobile: ++ 41 79 757 05 24
E-Mail: jacques.haus...@unil.ch
***

___
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: Parallels or VMWare Fusion?

2010-02-19 Thread Pierre Sahores

True and never more than 3-4% while PC's apps are on idle ;-)

Kind Regards,

P.

Le 19 févr. 10 à 15:00, Andre Garzia a écrit :


Pierre,

Smaller processor's time needs means it doesn't lock the computer all
time like parallels used to?

:D

On Fri, Feb 19, 2010 at 11:53 AM, Pierre Sahores psaho...@free.fr  
wrote:
Same here after a direct switch from Parallels 3.0 to Virtual Box,  
because

its smallest processor's time needs and because it never crashes ;-)

Le 19 févr. 10 à 14:32, Andre Garzia a écrit :


I've used Parallels, VMWare Fusion and Virtual Box, in that order,
now, I use only virtual box even as I've paid for Fusion 1.0 and
Parallels from 1.0 to 3.0.


Best Regards,

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





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



--
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: SuperDuper textSize property

2010-02-19 Thread DunbarX
Jacques.

Yes, thanks. I have done that and similar things, especially when cutting 
and pasting from the script editor into these list messages. if you don't, 
the message size gets enormous, and is stopped at the border by the 
moderators.

Craig

In a message dated 2/19/10 12:18:10 PM, jacques.haus...@unil.ch writes:


 
 
 put the text of fld x into fld x . So you get rid of any chunk 
 formatting
 
___
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: SuperDuper textSize property

2010-02-19 Thread DunbarX
Phil.

I was looking for a native way to override chunk text properties with field 
text properties. Your suggestion would work fine, but it is, again, a chunk 
thing, not a field thing.

Craig
___
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: SuperDuper textSize property

2010-02-19 Thread DunbarX
Right, but that still leaves me without a native way to set the textStyle, 
say, to bold. I have to use a chunk-like expression to do that, not a 
field-like expression.

Craig

In a message dated 2/19/10 12:49:34 PM, jacques.haus...@unil.ch writes:


 Seems it's time to put the lights on... I wanted to write:
 
 I don't know if it's an overArchingTextStyle property somewhere, but a 
 simple way to homogeneize the text of a field is
 
 put the text of fld x into fld x . So you get rid of any chunk 
 formatting
 
 Do they still sell Ten thumbs, at RunRev ?
 
___
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: revEnterprise v4.5.0-dp-2

2010-02-19 Thread Thomas McGrath III
Andrew,

Things like this might better be asked on the improve list as not everyone will 
be getting the chance for an update here on the use list and you might end up 
letting out info that is expected to be private and under NDA

I know cause it happened to me once...

Tom McGrath III
Lazy River Software
3mcgr...@comcast.net

iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html

On Feb 18, 2010, at 2:30 PM, Andrew Kluthe wrote:

 
 When I start rev once in a while I get an update message.
 
 I am currently using 4.0.0-gm-1
 
 Should I upgrade to v4.5.0-dp-2
 
 What are the pros and cons?
 
 I don't really want to jack anything up, but some bug fixes wouldn't hurt.
 
 Suggestions?
 -- 
 View this message in context: 
 http://n4.nabble.com/revEnterprise-v4-5-0-dp-2-tp1560716p1560716.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

___
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: Stack working in MACOS, not in Windows.

2010-02-19 Thread stephen barncard
I just need a Windows test bed for REV, not the latest version of Windows. I
really don't want to have to deal with all this extra security crap.

Will Windows XP SP3 do what I need for now to test out Rev Features?

Microsoft is really trying hard to get people to NOT use XP. They are buying
a ton of adwords with keywords like Download Windows XP that swamps the
search engines. These sites are just a bunch of domains that redirect to
the Windows 7 sales site.
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


2010/2/19 Björnke von Gierke b...@mac.com

 if it's visa or seven, you might run into virtualisation when writing to
 the system application folder.


 On 19 Feb 2010, at 05:12, stephen barncard wrote:

  ...
  Perhaps it's pathnames - On the mac, the folders with the encrypted audio
  data are located right next to the executable in the MacOS folder.
 
  On the PC - I've instructed him to put the folders just outside the .exe
 
  Same path, right?  -- and I use the effective filename of this stack to
  find out where I am for both...


 --

 official ChatRev page:
 http://bjoernke.com?target=chatrev

 Chat with other RunRev developers:
 go stack URL http://bjoernke.com/chatrev/chatrev1.3b3.rev;

 ___
 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: Stack working in MACOS, not in Windows.

2010-02-19 Thread stephen barncard
The client is using Windows XP.
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


2010/2/19 Björnke von Gierke b...@mac.com

 if it's visa or seven, you might run into virtualisation when writing to
 the system application folder.


 On 19 Feb 2010, at 05:12, stephen barncard wrote:

  ...
  Perhaps it's pathnames - On the mac, the folders with the encrypted audio
  data are located right next to the executable in the MacOS folder.
 
  On the PC - I've instructed him to put the folders just outside the .exe
 
  Same path, right?  -- and I use the effective filename of this stack to
  find out where I am for both...


 --

 official ChatRev page:
 http://bjoernke.com?target=chatrev

 Chat with other RunRev developers:
 go stack URL http://bjoernke.com/chatrev/chatrev1.3b3.rev;

 ___
 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: SuperDuper textSize property

2010-02-19 Thread Jacques Hausser
Craig,

It's seems logical that a property you set for some object dominates an 
equivalent inherited property. It could not work otherwise, and it is the same 
at any level. So you have to kill the chunk properties (by replacing the 
formatted text by plain text) to actualise the field properties (which can be 
set before or after the kill)...

put the text of fld X into fld X
set the textstyle of fld X to bold

or

set the textstyle of fld X to bold
put the text of fld X into fld X

Jacques




Le 19 févr. 2010 à 19:13, dunb...@aol.com a écrit :

 Right, but that still leaves me without a native way to set the textStyle, 
 say, to bold. I have to use a chunk-like expression to do that, not a 
 field-like expression.
 
 Craig
 
 In a message dated 2/19/10 12:49:34 PM, jacques.haus...@unil.ch writes:
 
 
 Seems it's time to put the lights on... I wanted to write:
 
 I don't know if it's an overArchingTextStyle property somewhere, but a 
 simple way to homogeneize the text of a field is
 
 put the text of fld x into fld x . So you get rid of any chunk 
 formatting
 
 Do they still sell Ten thumbs, at RunRev ?
 
 ___
 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

**
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel/fax:++ 41 22 366 19 40
mobile: ++ 41 79 757 05 24
E-Mail: jacques.haus...@unil.ch
***

___
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: Best Release Practices and the word fortnight

2010-02-19 Thread Hugh Senior
Tesco is the supermarket where we go shopping (in the UK). I know they have
opened stores abroad, but not perhaps in Brazil. Rather understandably, from
what you say!

/H

 portugal tesco means point while in brazil it means being horny.

___
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: Where do you live? - world map of runrev users

2010-02-19 Thread Mikey
yeah, well, if was a game of Risk, I would pwn Oceania - BRING IT N00BZ!

On Fri, Feb 19, 2010 at 09:04, Andre Garzia an...@andregarzia.com wrote:

 hohoho,

 if this was a game of risk, I would rule an entire continent! :D

 :D

 On Fri, Feb 19, 2010 at 8:05 AM, planix dr.alist...@gmail.com wrote:
 
  This is really interesting. I have placed my mark up in Far North
 Queensland.
  Now all we need is 3 more Australian revvers to cover NT, WA and Tassie.
  What a fascinating way to visualise information.
 
  thanks guys
 
  Alistair
  --
  View this message in context:
 http://n4.nabble.com/OT-Where-do-you-live-world-map-of-runrev-users-tp1557291p1561379.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
 



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




-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
  and did a little diving.
And God said, This is good.
___
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: Re : survey - and the word fortnight.

2010-02-19 Thread Mikey
I believe that this fallacy has recently been whipple-whappled.  Indeed
recent observations of the arrival of radiation from black holes
preposterously-far away seems to indicate that regardless of the medium, c
is c, unless it's before i...or something.
___
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: SuperDuper textSize property

2010-02-19 Thread Dave Cragg
On 19 Feb 2010, at 17:48, Jacques Hausser wrote:

 Do they still sell Ten thumbs, at RunRev ?

It seems so:

http://www.tenthumbstypingtutor.com/

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: Stack working in MACOS, not in Windows.

2010-02-19 Thread Jim Bufalini
stephen barncard wrote:

 I just need a Windows test bed for REV, not the latest version of
 Windows. I
 really don't want to have to deal with all this extra security crap.
 
 Will Windows XP SP3 do what I need for now to test out Rev Features?
 
 Microsoft is really trying hard to get people to NOT use XP. They are
 buying
 a ton of adwords with keywords like Download Windows XP that swamps
 the
 search engines. These sites are just a bunch of domains that redirect
 to
 the Windows 7 sales site.

It is true that MS is trying their best to get people over to Windows 7. This 
is because XP is an 8 to 9 year old OS that simply cannot take advantage of 
today's hardware advances or defend against some of today's exploits.

Vista can. But what most people don't know is that the big mistake MS made 
with Vista is they allowed hardware manufacturers to mess with the OS. Large 
hardware manufacturers like Dell, HP, Lenovo (IBM) and hundreds of others put 
in their own versions of, for example, UAC and other features of the OS to 
support things like finger print hardware and other proprietary hardware and 
drivers. This opened up a Pandora's box and is the real source of most of the 
complaints against Vista.

The main thing that's different about Windows 7, besides all the advertised 
features, is that hardware manufacturers can no longer alter the basic OS in 
order to lock customers into their hardware (and their version of the OS). 
This is why in upgrading a Vista machine to Windows 7, you can lose some 
features of a machine or require a BIOS upgrade or whole new driver sets.

Apple, as the sole manufacturer of both the hardware and OS, has never had to 
deal with this issue.

To answer your question, if there is no chance of your software being run on 
Vista or Windows 7, then XP SP3 is all you need in your test bed. Just 
understand that XP is a very forgiving OS and does not enforce many things 
that in its own docs have always said should be a certain way (which is how 
XP dealt with the issue of various hardware manufacturer demands) and which 
Vista and Windows 7 do enforce. 

The difference being that Windows 7 enforces things like security uniformly and 
all manufacturers must conform to a generic standard, where Vista can be all 
over the landscape depending on the brand of hardware.

Aloha from Hawaii,

Jim Bufalini


___
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: stack crashing IDE

2010-02-19 Thread J. Landman Gay

Bernard Devlin wrote:


Unfortunately, it didn't work.  I had no choice but to go back to an
earlier backed-up version and use that.  It seems that the last few
versions I had would all crash Rev on start up.  Very strange.


Plug it into the QCC and attach a copy of both your stack and the error 
log. The team can read that log, even though we can't, and you'll make 
Rev a better product by reporting it. Tag the report as critical and I 
bet it's fixed by the next release. Even though your stack may be an 
anomaly in some obscure way, Rev should never, ever crash and they'll 
want to fix that.


--
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: SuperDuper textSize property

2010-02-19 Thread J. Landman Gay

dunb...@aol.com wrote:
Right, but that still leaves me without a native way to set the textStyle, 
say, to bold. I have to use a chunk-like expression to do that, not a 
field-like expression.


Right. I think the closest you'll get for resetting chunks of text in a 
field is:


 set the textstyle of char 1 to -1 of fld x to plain

Then reset any other styling. Or do what Jacques suggests and just plunk 
the field contents back into the field, which will remove all styling in 
one fell swoop. If you want all the field text to be bold, of course, 
you can set the textstyle of the field itself to that.


I'm not sure how there could be a field-based property that works 
directly with chunks of the field text. Characters have their own 
styling properties independent of the field's. If no character-based 
styling exists in a chunk, then the text inherits it all the way up the 
line.


--
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: Stack working in MACOS, not in Windows.

2010-02-19 Thread J. Landman Gay

stephen barncard wrote:

I just need a Windows test bed for REV, not the latest version of Windows. I
really don't want to have to deal with all this extra security crap.

Will Windows XP SP3 do what I need for now to test out Rev Features?


It will, since your client is using XP, but it may not if anyone else 
uses the app with a later version of Windows, it depends on what the app 
needs to do.


I couldn't find where you said exactly what is failing. What goes wrong 
when it's run on Windows?


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


Browser documentation

2010-02-19 Thread Jeff Massung
In the browser documentation I see the following line:

To prevent the navigatation from occurring, set the global variable
browserCancel to true.

Yet that global variable doesn't appear to exist. Am I missing something or
is the documentation wrong?

Jeff M.
___
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: Browser documentation

2010-02-19 Thread J. Landman Gay

Jeff Massung wrote:

In the browser documentation I see the following line:

To prevent the navigatation from occurring, set the global variable
browserCancel to true.

Yet that global variable doesn't appear to exist. Am I missing something or
is the documentation wrong?


It won't exist until you create it, so just declare it somewhere at the 
top of your script. The browser will check to see if there is a global 
variable with that name in the list of declared globals, which there 
won't be until you put it there. Once it is there, then the browser will 
check to see what its value is.


--
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: Browser documentation

2010-02-19 Thread Mark Schonewille
Have you actually try to put true into the global variable  
browserCancel, Jeff?


--
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 projects.

Op 19 feb 2010, om 22:08 heeft Jeff Massung het volgende geschreven:


In the browser documentation I see the following line:

To prevent the navigatation from occurring, set the global variable
browserCancel to true.

Yet that global variable doesn't appear to exist. Am I missing  
something or

is the documentation wrong?

Jeff M.



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

2010-02-19 Thread Jeff Massung
LOL.

I was thinking this was a global in the same vein as lockMessages and
such.

Okay. Thanks, guys!

Jeff M.
___
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


relative position of a target within a group

2010-02-19 Thread Mark Swindell
How does one get the relative position of a button within a group of buttons?

I want to 

put the (relative to group myGroup) number of the target into vMyVar 

One can say 

select button 3 of group myGroup

without problem.  

But how would one best do this using the target function?


Thanks,
Mark
___
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: Stack working in MACOS, not in Windows.

2010-02-19 Thread Bob Sneidar
On Feb 19, 2010, at 11:48 AM, Jim Bufalini wrote:

 But what most people don't know is that the big mistake MS made with Vista 
 is they allowed hardware manufacturers to mess with the OS. Large hardware 
 manufacturers like Dell, HP, Lenovo (IBM) and hundreds of others put in their 
 own versions of, for example, UAC and other features of the OS to support 
 things like finger print hardware and other proprietary hardware and drivers. 
 This opened up a Pandora's box and is the real source of most of the 
 complaints against Vista.

Oh I have to wholeheartedly disagree! Not to start a MS flame war here, but we 
purchased and installed Open License versions of Vista, which have NOTHING to 
do with any hardware manufacturer. It's straight from MS. The problems we 
experienced led me to ban Vista on our network. 

One thing they did without really saying much about it, is they put a virtual 
bridge between the OS and the LAN connection. Sure they can control network 
traffic better, but unbeknownst to me until recently, there are certain devices 
that can interfere with bridges on networks, one of which is the Spanning Tree 
Protocol, which uses bridging to accomplish some of it's magic. That cause our 
Vista machines network connections to mysteriously fail, and nothing I could do 
would fix them. 

I kept having my Airports crash on a regular basis and could never figure out 
why. Finally the combination of adding a bandwidth management device which had 
a bridge built in, and the spanning tree protocol on my switches interacting 
with it led me to the place where I realized why my airports were crashing, 
because after adding this appliance, ALL my airports went down and stayed that 
way. 

So all that to say this: MS seems detached from the real Windows computing 
world. They implement certain things that turn out to be really bad ideas in 
the end. They seem to have some really bad decision makers that run development 
over there. I suspect a large part of MS doesn't even use Windows, but instead 
uses Unix of some flavor. 

I could go on and on. The good news is that almost everyone agrees that Windows 
7 is really Vista done right. I liken Vista to Windows ME, an intermediate OS 
release to say they actually did SOMETHING about a particular problem, while 
they were working on the real release that they could never get out in a timely 
fashion. 

Bob



___
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: relative position of a target within a group

2010-02-19 Thread DunbarX
A group has a rect, and so do the objects inside it. They all have locs as 
well. So just do a little math and calculate the local position of any 
object within the group, just as the default functions give you that 
information 
relative to the stack window or screen.

Best done as a function, as you indicated.

Craig Newman
___
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: relative position of a target within a group

2010-02-19 Thread DunbarX
Hmmm.

Did you mean the layer or number of a button in a group as opposed to its 
physical location?

Craig Newman
___
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: relative position of a target within a group

2010-02-19 Thread Scott Rossi
Recently, Mark Swindell wrote:

 How does one get the relative position of a button within a group of buttons?
 
 I want to 
 
 put the (relative to group myGroup) number of the target into vMyVar
 
 One can say 
 
 select button 3 of group myGroup
 
 without problem. 
 
 But how would one best do this using the target function?

Here's one way:

on mouseUp
   put 0 into clickedButton
   repeat with N = 1 to number of btns of me
  if long id of the target = long id of btn N of me then
 put N into clickedButton
 exit repeat
  end if
   end repeat
   answer clickedButton
end mouseUp



Or a function:

on mouseUp
   answer clickedButton(long id of the target,long id of owner of the
target)
end mouseUp

function clickedButton pTargetButton,pGroup
   repeat with N = 1 to number of btns of pGroup
  if pTargetButton = long id of btn N of pGroup then
 return N
  end if
   end repeat
   return 0
end clickedButton


Not sure if there's any easier way.

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


Re: Stack working in MACOS, not in Windows.

2010-02-19 Thread stephen barncard
Something is happening between the decoding of the files which are created,
and the playing of them. The player code alone works in Windows, so perhaps
the decryption is messed up.

I can see that if this is to be fixed then I will just have to roll up my
sleeves and go into the Matrix.
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


On 19 February 2010 13:05, J. Landman Gay jac...@hyperactivesw.com wrote:

 stephen barncard wrote:

 I just need a Windows test bed for REV, not the latest version of Windows.
 I
 really don't want to have to deal with all this extra security crap.

 Will Windows XP SP3 do what I need for now to test out Rev Features?


 It will, since your client is using XP, but it may not if anyone else uses
 the app with a later version of Windows, it depends on what the app needs to
 do.

 I couldn't find where you said exactly what is failing. What goes wrong
 when it's run on Windows?

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

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

2010-02-19 Thread J. Landman Gay

Jeff Massung wrote:

LOL.

I was thinking this was a global in the same vein as lockMessages and
such.

Okay. Thanks, guys!


I like that you aren't afraid to ask stuff. A lot of new converts are.

LockMessages is a property, btw. The Rev engine creates those on startup 
with default values, but only creates a handful of actual globals. Those 
all start with $ and are related to shell commands (you can see them 
in the globals pane of the message box.) All other globals are created 
by a script somewhere. The IDE creates a ton of them, which all start 
with gRev.


--
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: relative position of a target within a group

2010-02-19 Thread J. Landman Gay

Mark Swindell wrote:

How does one get the relative position of a button within a group of buttons?

I want to 

	put the (relative to group myGroup) number of the target into vMyVar 

One can say 


select button 3 of group myGroup

without problem.  


But how would one best do this using the target function?


A little cheat:

on mouseUp
  set the hilite of the target to true
  get the hilitedbutton of me
  set the hilite of the target to false
end mouseUp

Put it into the group script. If your buttons are radio buttons (i.e., 
they don't change hilite) then all you need to do is get the hilitedbutton.


--
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: Browser documentation

2010-02-19 Thread Jeff Massung
Follow-up question:

Has anyone here successfully gotten a browser to resize nicely along with
the rest of the stack and controls? I can set the rect just fine, but while
the mouse button is down and I'm resizing the stack or moving controls
around (splitter pane) the browser just completely fubars the rest of the
stack view: not updating, overdrawing its bounds, etc.

On Fri, Feb 19, 2010 at 5:07 PM, J. Landman Gay jac...@hyperactivesw.comwrote:

 Jeff Massung wrote:

 LOL.

 I was thinking this was a global in the same vein as lockMessages and
 such.

 Okay. Thanks, guys!


 I like that you aren't afraid to ask stuff. A lot of new converts are.

 LockMessages is a property, btw. The Rev engine creates those on startup
 with default values, but only creates a handful of actual globals. Those all
 start with $ and are related to shell commands (you can see them in the
 globals pane of the message box.) All other globals are created by a script
 somewhere. The IDE creates a ton of them, which all start with gRev.


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

___
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: relative position of a target within a group

2010-02-19 Thread DunbarX
I used a mouseDown handler so that it might not interfere with mouseUp 
handlers typically already loaded in the button scripts, but you get the idea. 
In the group script:

on mousedown
put the number of the target into tNum
put the number of btns of grp yourGroup into numBtns
repeat with y = 1 to numBtns
   if the number of btn y = tNum then
  put You clicked Button  tNum  of  numBtns into temp
  exit repeat
   end if
end repeat
answer temp
end mousedown

If this is what you needed.

Craig Newman
___
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: relative position of a target within a group

2010-02-19 Thread DunbarX
Jacques.

Adorable, as usual you found a way to use the system to its best advantage, 
as opposed to my brute force thinking all the time.

Craig
In a message dated 2/19/10 6:22:44 PM, jac...@hyperactivesw.com writes:


 
 on mouseUp
    set the hilite of the target to true
    get the hilitedbutton of me
    set the hilite of the target to false
 end mouseUp
 
 Put it into the group script. If your buttons are radio buttons (i.e.,
 they don't change hilite) then all you need to do is get the 
 hilitedbutton.
 
___
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: Stack working in MACOS, not in Windows.

2010-02-19 Thread Jim Bufalini
Bob Sneidar wrote:

 ...One thing they did without really saying much about it, is they put a
 virtual bridge between the OS and the LAN connection. Sure they can
 control network traffic better, but unbeknownst to me until recently,
 there are certain devices that can interfere with bridges on networks,
 one of which is the Spanning Tree Protocol, which uses bridging to
 accomplish some of it's magic. That cause our Vista machines network
 connections to mysteriously fail, and nothing I could do would fix
 them...

OK... I'll amend my statement to say, ...*many* of the *more common* end
user and programmers complaints... 

IT departments had a myriad of other reasons for not wanting to move from XP
to Vista and, in general, the most common complaint amongst ordinary end
users was the intrusive UAC, no matter what flavor it came in.

Airports huh? Then I'm sure you are familiar with the old joke that, if
airplanes were like PCs, you would hear from your pilot in mid-flight,
Please fasten your seatbelt while we shutdown out engines and reboot. ;-)

Actually, one of the things they did fix in Vista was partitioning memory
in such a way that crashing a single application program didn't require
rebooting the entire machine. As to what you refer to, that's a whole other
animal. 

I'm not defending Vista and will be very happy when it (and XP) goes away
and is replaced by Windows 7. I was just addressing the question of a test
bed for testing Rev apps on PC and pointing out a little known fact as
reason to why the test bed might need to be expanded.

Aloha from Hawaii,

Jim Bufalini





___
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: Where do you live? - world map of runrev users

2010-02-19 Thread Sarah Reichelt
Couldn't find a pin for you Mikey, but Andre has South America all to
himself while Ryno owns Africa. There are a few of us in Oceania :-)

Cheers,
Sarah


On Sat, Feb 20, 2010 at 5:22 AM, Mikey mikeyt...@gmail.com wrote:
 yeah, well, if was a game of Risk, I would pwn Oceania - BRING IT N00BZ!

 On Fri, Feb 19, 2010 at 09:04, Andre Garzia an...@andregarzia.com wrote:

 hohoho,

 if this was a game of risk, I would rule an entire continent! :D
___
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: Stack working in MACOS, not in Windows.

2010-02-19 Thread Sarah Reichelt
On Sat, Feb 20, 2010 at 8:57 AM, stephen barncard
stephenrevoluti...@barncard.com wrote:
 Something is happening between the decoding of the files which are created,
 and the playing of them. The player code alone works in Windows, so perhaps
 the decryption is messed up.


Macs use the leading dot in the filename to make the file invisible.
Does Windows have a problem with this?

Can you compare a decrypted file on Mac  Windows i.e. see if the
decrypting process varies between platforms.
If you decrypt a file on Mac can you play that file on Windows?

I have a virtual XP machine if I can help test anything.

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: revlet newbie questions

2010-02-19 Thread Sarah Reichelt
On Sat, Feb 20, 2010 at 3:27 AM, Chris Sheffield cmsheffi...@gmail.com wrote:
 So I'm just now playing with revlets, and was hoping to be able to convert an 
 existing desktop app to a revlet, just as kind of a proof of concept thing. 
 So far I'm striking out. Running on a Mac, OS X 10.6.2, it's totally locking 
 up Firefox and, while Safari doesn't lock up, the revlet doesn't load 
 properly. I just get a blank screen.

 This is a fairly complex desktop app, basically a front end to a mysql 
 database, so I'm sure there is simply code in there that will not run in a 
 revlet. So I'm wondering, is there a good, single source out there somewhere 
 that lists what works and what doesn't work in a revlet? Things to avoid in 
 revlets? One thing I discovered is that the go stack command is supported 
 in a revlet, but I can't seem to make it work unless I use the go stack in 
 window form. Is that the only way to do it?

 This app consists of several stack files, not substacks of one main stack, 
 but rather several main stack files that are opened and closed depending on 
 what the user is doing. Is that a problem in a revlet? Is it necessary to 
 build each stack file into a revlet, or can they remain in their regular 
 stack file and still be loaded using go stack from the first stack, which 
 would be built as a revlet?


This would concern me. Can you check that the extra stack files are
actually compiled into the revlet. Could the lock up be happening when
an external stack file should be loading?

At the moment, you can only open a new stack in the same window,
unless you make multiple revlets in which case they can open in the
same browser window so long as you set the instance IDs to the same
number. There is an example on the revWeb site on how to do this.

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: Parallels or VMWare Fusion?

2010-02-19 Thread Peter Alcibiades

I use Virtual Box, its free and works perfectly.  

But I would never dream of not testing an app on a real physical machine, if
I were a professional developing for that platform.  

Peter
-- 
View this message in context: 
http://n4.nabble.com/OT-Parallels-or-VMWare-Fusion-tp1560956p1562421.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: Stack working in MACOS, not in Windows.

2010-02-19 Thread Peter Alcibiades

 I, of course the ever- mac-evangelist (Yes I was on Guy's Evangel-list)
have put off my day of Windows reckoning until this moment, and cannot test
this out for myself. I am paying the price for my platform bigotry.

It makes no sense.  Virtual machines are not good enough.  If you want to
develop as a professional for a platform, you have to have that platform in
physical form to test on.  The most you can do is share a keyboard and
screen and mouse via hardware switching.  

Anything else, sooner or later, its going to bite you and the customer. 
Spend the tiny amount of money involved, buy one second hand if must be, but
buy one.

Peter 


-- 
View this message in context: 
http://n4.nabble.com/Stack-working-in-MACOS-not-in-Windows-tp1561182p1562425.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: Stack working in MACOS, not in Windows.

2010-02-19 Thread stephen barncard
Well quite frankly my distaste for windows and my involvement in the arts
has pushed me toward macintosh clients,  and in this case I'm helping a
person with no evidence of further profit for me at this point, so investing
in a Dell or whatever is just not in my immediate future.

Anyway, that's one opinion, I see many Rev developers seemingly using a
Macbook exclusively for x-platform dev and turning out good stuff.
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


On 19 February 2010 16:07, Peter Alcibiades
palcibiades-fi...@yahoo.co.ukwrote:


  I, of course the ever- mac-evangelist (Yes I was on Guy's Evangel-list)
 have put off my day of Windows reckoning until this moment, and cannot test
 this out for myself. I am paying the price for my platform bigotry.

 It makes no sense.  Virtual machines are not good enough.  If you want to
 develop as a professional for a platform, you have to have that platform in
 physical form to test on.  The most you can do is share a keyboard and
 screen and mouse via hardware switching.

 Anything else, sooner or later, its going to bite you and the customer.
 Spend the tiny amount of money involved, buy one second hand if must be,
 but
 buy one.

 Peter



___
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: Stack working in MACOS, not in Windows.

2010-02-19 Thread J. Landman Gay

Peter Alcibiades wrote:

 I, of course the ever- mac-evangelist (Yes I was on Guy's Evangel-list)
have put off my day of Windows reckoning until this moment, and cannot test
this out for myself. I am paying the price for my platform bigotry.

It makes no sense.  Virtual machines are not good enough.  If you want to
develop as a professional for a platform, you have to have that platform in
physical form to test on.  The most you can do is share a keyboard and
screen and mouse via hardware switching.  


I guess that disqualifies me then. ;) I had a real PC box 10 years ago, 
but once I moved to Parallels I never looked back. There was a single 
discrepancy (in cursor redraws) in one of my apps in Parallels version 
2.x but ever since version 3.0 I haven't ever found any differences. I'm 
satisifed that I'm getting the PC experience and so far my Windows 
clients have never noticed (and most never know) that I test Windows 
builds in emulation. For a while I had Ubuntu running as well without 
any trouble, but I haven't kept up with that OS since I don't have any 
current clients who need software on it.


I can't speak for other emulators, since I've only used Parallels. But I 
think the technology has matured enough now that needing to duplicate 
physical hardware is becoming a thing of the past.


--
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: FYI: writing to and reading from fields much faster than locals, globals or custom properties

2010-02-19 Thread Josh Mellicker
On Feb 17, 2010, at 10:02 PM, Jan Schenkel wrote:

 --- On Wed, 2/17/10, Josh Mellicker j...@dvcreators.net wrote:
 You all probably know this, but
 thought I would share our experience anyway:
 
 We are working on a project with a 1 millisecond callback
 loop that communicates with an external process in a
 performance-critical application, and when prototyping,
 temporarily used some fields on a card to write and read
 values from during the loop.
 
 Then, while buttoning things up, instead of fields, we
 switched to reading and writing a custom property.
 
 Suddenly, everything went sluggish - you had to click on a
 button several times to trigger it, you could barely move
 stack windows, etc.
 
 It took a while to figure out the culprit, but once we went
 line by line from our original prototype script, wee found
 that going back to reading and writing to a field made
 everything work smoothly again!
 
 Then we tried local, then a global variable... not good...
 same result as custom properties.
 
 So if you are writing an app where performance is critical,
 Rev reads and writes to fields super
 fast!
 
 If the field you're using to set/get data, is _invisible_ then it makes sense 
 that this would be faster than set/get data using a custom property: built-in 
 properties don't have to traverse the message hierarchy for setProp/getProp 
 handlers, and an invisible field doesn't have to redraw itself.
 Why it would be faster than global/local variable access, is a puzzler - are 
 you using arrays or storing the text in the same 'flat' way as field text?


I never tried arrays, just global, local, custom property and a text field.


 
 Jan Schenkel
 =
 Quartam Reports  PDF Library for Revolution
 http://www.quartam.com
 
 =
 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: FYI: writing to and reading from fields much faster than locals, globals or custom properties

2010-02-19 Thread Josh Mellicker

On Feb 17, 2010, at 10:44 PM, Jim Ault wrote:

 
 
 
 On Feb 17, 2010, at 8:10 PM, Josh Mellicker wrote:
 
 You all probably know this, but thought I would share our experience anyway:
 
 We are working on a project with a 1 millisecond callback loop that 
 communicates with an external process in a performance-critical application, 
 and when prototyping, temporarily used some fields on a card to write and 
 read values from during the loop.
 
 Then, while buttoning things up, instead of fields, we switched to reading 
 and writing a custom property.
 
 Suddenly, everything went sluggish - you had to click on a button several 
 times to trigger it, you could barely move stack windows, etc.
 
 It took a while to figure out the culprit, but once we went line by line 
 from our original prototype script, wee found that going back to reading and 
 writing to a field made everything work smoothly again!
 
 Then we tried local, then a global variable... not good... same result as 
 custom properties.
 
 So if you are writing an app where performance is critical, Rev reads and 
 writes to fields super fast!___
 
 
 Something does not seem to be correct in this instance.

I know, I've always had the impression fields were slower.

 
 Which version of Rev?  Which platform?

The latest, Mac 10.6.2

 Is the flag script debug mode set to false?

no

 Are there any pending messages in the queue?

The callback handler calls itself:

if monitorExternalProcess is not in the pendingMessages then send 
monitorExternalProcess to me in 1 milliseconds


 Front scripts? back scripts?

no

 
 I have done many performance-critical event loops using variables and custom 
 properties in networking apps between computers and offices.  Whenever I 
 encounter a slow down, I look at my error trapping loops or status detection 
 code and find that I have added clock cycles by not programming properly.
 
 If you have discovered something that affects the performance so that fields 
 are noticeably faster, then we need to know what is happening.  I have never 
 tested fields to be as fast or faster than custom properties, especially for 
 larger blocks of text (such as whole web page HTML)
 
 Please, when you have time, provide a little more feedback.

I will, we need to get this revision out the door, then I will try and do some 
more tests.


 
 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

___
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: FYI: writing to and reading from fields much faster than locals, globals or custom properties

2010-02-19 Thread Josh Mellicker

On Feb 18, 2010, at 4:29 PM, Kay C Lan wrote:

 On Fri, Feb 19, 2010 at 3:21 AM, Richard Gaskin
 ambassa...@fourthworld.com wrote:
 
 Maybe that should be Benchmark Obsessive. :)
 
 True, I was sleeping at 1AM PST, but when I got up this morning I found this
 intriguing enough to pull out one of my old test stacks.  In fact, while I
 was at it I took some notes for an article on benchmarking I've been itching
 to write and posted it to revJournal:
 
 Hmmm, maybe 'Benchmark Obsessive Compulsive' ;-)
 
 Using Richard's stack:
 
 MBP 17 2.16 GHz, 2GB RAM
 OS X.6.2, Rev 4.0.0 Build 950
 
 Number of iterations for read/write access: 5000
 LockScreen = true
 LockMessages = true
 
 Results:
 Visible field, current card:  24
 Hidden field, current card:   22
 Visible field, unopened card: 13
 Hidden field, unopened card:  14
 Custom property:  4
 Global variable:  2
 Local variable:   1
 
 
 Number of iterations for read/write access: 5000
 LockScreen = false
 LockMessages = false
 
 Results:
 Visible field, current card:  2367
 Hidden field, current card:   2856
 Visible field, unopened card: 15
 Hidden field, unopened card:  14
 Custom property:  37
 Global variable:  2
 Local variable:   1
 
 
 So very similar results.
 
 Josh, we are waiting ???



Just to reiterate:

What we found was that when writing and reading a custom property, or a 
variable, in a 1 ms loop, other stack windows became sluggish - very 
difficult to drag by the header bar, very difficult to click buttons on, 
rollover states sticking.

When we replaced with writing to and reading a text field on a substack (still 
1ms), the other windows responded perfectly normally, you could drag and click 
just like no callback loop was running.

So I just ASSUMED the field was faster. Maybe the truth is that custom 
properties , although faster, somehow interfere with normal mouse-related 
processes... or maybe what we found was just specific to our app, although I 
don't see how that could be.

Anyway, I will do some more tests as soon as I can. I just wanted to post, in 
case someone noticed sluggishness in an app with a fast callback loop, my 
advice is, try fields and see if that fixes it - it did for us!





___
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: relative position of a target within a group

2010-02-19 Thread Mark Swindell
Jaqueline, Scott, and Craig,

As always humbled and appreciative of the quick and everclever help  Both this 
and Scott's method work perfectly out of the chute.  Craig, your method returns 
the same result as just using the target does.  You're putting the number of 
the target (relative to the card, let's say 3) and comparing it to a number 
in the number of buttons in group yourGroup.  When the iteration finds it's 
match (3) it answers you picked button 3.  With some tweaking and finding the 
difference the number of the target and the number of button 1 of me (the 
group) and then factoring that into the equation it should work, as well.

Thanks again,
Mark


On Feb 19, 2010, at 3:22 PM, J. Landman Gay wrote:

 Mark Swindell wrote:
 How does one get the relative position of a button within a group of buttons?
 I want toput the (relative to group myGroup) number of the target into 
 vMyVar One can sayselect button 3 of group myGroup
 without problem.  But how would one best do this using the target function?
 
 A little cheat:
 
 on mouseUp
  set the hilite of the target to true
  get the hilitedbutton of me
  set the hilite of the target to false
 end mouseUp
 
 Put it into the group script. If your buttons are radio buttons (i.e., they 
 don't change hilite) then all you need to do is get the hilitedbutton.
 
 -- 
 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

___
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: relative position of a target within a group

2010-02-19 Thread Phil Davis

Hi Mark,

Here's one way you can use with any grouped object.

on mouseUp -- in a grouped button
   put the locWithinGroup of me
end mouseUp


getProp locWithinGroup
   -- return card-relative loc if target object is not in a group
   if word 1 of the name of the owner of the target is not group
   then return the loc of the target

   -- return the loc of the target object relative to its 'owner' group
   return \
  (item 1 of the loc of the target - the left of the owner of 
the target), \
  (item 2 of the loc of the target - the top of the owner of 
the target)

end locWithinGroup

HTH -
Phil Davis


On 2/19/10 1:55 PM, Mark Swindell wrote:

How does one get the relative position of a button within a group of buttons?

I want to

put the (relative to group myGroup) number of the target into vMyVar

One can say

select button 3 of group myGroup

without problem.

But how would one best do this using the target function?


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

   


--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.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


Re: [OT] Languages and cultures (was Re: survey)

2010-02-19 Thread Kay C Lan
On Fri, Feb 19, 2010 at 2:21 PM, Richmond Mathewson
richmondmathew...@gmail.com wrote:
 On 19/02/2010 04:35, J. Landman Gay wrote:


 :) I think I've posted this before but it's too good a line to let go of.
 A few years ago my husband looked up from the evening news and said, Gay
 marriage has been an institution in our family for generations. I don't see
 what the big deal is.

 You have me stumped; there is absolutely no way I can top THAT ONE! Bravo.

OK, I wasn't going to say anything, but seeings you are stumped, just
think of the other benefits the Gay family enjoys... Divorces must be
cheap, all you need do is move to a State where Gay marriages aren't
recognized ;-)
___
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: FYI: writing to and reading from fields much faster than locals, globals or custom properties

2010-02-19 Thread Scott Rossi
Recently, Josh Mellicker wrote:

 What we found was that when writing and reading a custom property, or a
 variable, in a 1 ms loop, other stack windows became sluggish - very
 difficult to drag by the header bar, very difficult to click buttons on,
 rollover states sticking.
 
 When we replaced with writing to and reading a text field on a substack (still
 1ms), the other windows responded perfectly normally, you could drag and click
 just like no callback loop was running.
 
 So I just ASSUMED the field was faster. Maybe the truth is that custom
 properties , although faster, somehow interfere with normal mouse-related
 processes... or maybe what we found was just specific to our app, although I
 don't see how that could be.
 
 Anyway, I will do some more tests as soon as I can. I just wanted to post, in
 case someone noticed sluggishness in an app with a fast callback loop, my
 advice is, try fields and see if that fixes it - it did for us!

Do you have any custom drag routines in your stack/s?  Do you update any
kind of output while the loop is running?

My guess is your repeat loop is so tight that the writing to the field
causes a screen update which slows the repeat loop and allows other events
such as window dragging to take place.  In my experience, a repeat loop will
only usually down events when updating the screen repeatedly.

You should also fit some lock/unlock screen into your testing to see how
that affects your loop/s and processing speed.

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


Re: Best Release Practices and the word fortnight

2010-02-19 Thread Kay C Lan
On Sat, Feb 20, 2010 at 1:09 AM, Luis l...@anachreon.co.uk wrote:
 Anyone else spot a trend there?... ;P

Yes, I was under the misconception that Brazilians just had an
aversion to women's pubic hair, but now I've learnt that they have a
fetish for word connotations to men's private parts.

Strange...
___
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: FYI: writing to and reading from fields much faster than locals, globals or custom properties

2010-02-19 Thread Jim Bufalini
Josh Mellicker wrote:
 
 What we found was that when writing and reading a custom property, or a
 variable, in a 1 ms loop, other stack windows became sluggish - very
 difficult to drag by the header bar, very difficult to click buttons
 on, rollover states sticking.

Ahhh...Now THIS makes sense. Your repeat loop is so tight that the GUI
becomes unresponsive. It has nothing to do with the actual speed of
variables vs. fields. Please add, somewhere in your repeat loop:

wait 0 milliseconds with messages

 When we replaced with writing to and reading a text field on a substack
 (still 1ms), the other windows responded perfectly normally, you could
 drag and click just like no callback loop was running.

Yes, because here other handlers are starting and stopping and this gives
the engine opportunity to intervene. 

 So I just ASSUMED the field was faster. Maybe the truth is that
 custom properties , although faster, somehow interfere with normal
 mouse-related processes... or maybe what we found was just specific to
 our app, although I don't see how that could be.

It's the repeat loop itself without any wait or other handlers being called.

 Anyway, I will do some more tests as soon as I can. I just wanted to
 post, in case someone noticed sluggishness in an app with a fast
 callback loop, my advice is, try fields and see if that fixes it - it
 did for us!

Just add the wait into your repeat loop with vars or custom props and you
will see it is even faster than fields. ;-)

Aloha from Hawaii,

Jim Bufalini

___
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


Search / replace

2010-02-19 Thread Glen Bojsza
Sorry to bother everyone but either I'm tired or brain dead.

I have a field which has hundreds of lines.

For all [ in the field I need to check to see if the character to it's
immediate left is a number.

If it is a number then the [ is to be converted into an _.

If it is not a number then the [ is to be removed (no substitution or
spaces).

I need to be able to cycle through the entire field which each line may
contain several [.

Any thoughts would be appreciated as I have tried using a combination of
find characters and foundchunk on the field without success.

thanks,
___
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: FYI: writing to and reading from fields much faster than locals, globals or custom properties

2010-02-19 Thread J. Landman Gay

Jim Bufalini wrote:

Josh Mellicker wrote:
 

What we found was that when writing and reading a custom property, or a
variable, in a 1 ms loop, other stack windows became sluggish - very
difficult to drag by the header bar, very difficult to click buttons
on, rollover states sticking.


Ahhh...Now THIS makes sense. Your repeat loop is so tight that the GUI
becomes unresponsive. It has nothing to do with the actual speed of
variables vs. fields. Please add, somewhere in your repeat loop:

wait 0 milliseconds with messages


Exactly what I was thinking. I believe you've nailed it.

--
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: Search / replace

2010-02-19 Thread Kay C Lan
Hi Glen,

look up offset in the Rev Dictionary.

If you are sure that there is no possibility of a space between the
number and [, then something like this should work:

  if (char (offset([,tMyLine) - 1) of tMyLine is an integer) then
--script to replace with _
  else
--script to replace with empty
  end if

HTH


On Sat, Feb 20, 2010 at 10:57 AM, Glen Bojsza gboj...@gmail.com wrote:
 Sorry to bother everyone but either I'm tired or brain dead.

 I have a field which has hundreds of lines.

 For all [ in the field I need to check to see if the character to it's
 immediate left is a number.

 If it is a number then the [ is to be converted into an _.

 If it is not a number then the [ is to be removed (no substitution or
 spaces).

 I need to be able to cycle through the entire field which each line may
 contain several [.

 Any thoughts would be appreciated as I have tried using a combination of
 find characters and foundchunk on the field without success.

 thanks,
 ___
 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: FYI: writing to and reading from fields much faster than locals, globals or custom properties

2010-02-19 Thread Jim Bufalini
BTW, it's the *with messages* that is important. Also, your use of *callback
loop* is interesting. A callback is a handler that is triggered when a
callback event occurs, much like a mouseUp handler is triggered on a mouseUp
event. It's never in a repeat loop.

Aloha from Hawaii,

Jim Bufalini

 -Original Message-
 From: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
 boun...@lists.runrev.com] On Behalf Of Jim Bufalini
 Sent: Friday, February 19, 2010 4:56 PM
 To: 'How to use Revolution'
 Subject: RE: FYI: writing to and reading from fields much faster than
 locals, globals or custom properties
 
 Josh Mellicker wrote:
 
  What we found was that when writing and reading a custom property, or
 a
  variable, in a 1 ms loop, other stack windows became sluggish -
 very
  difficult to drag by the header bar, very difficult to click buttons
  on, rollover states sticking.
 
 Ahhh...Now THIS makes sense. Your repeat loop is so tight that the GUI
 becomes unresponsive. It has nothing to do with the actual speed of
 variables vs. fields. Please add, somewhere in your repeat loop:
 
 wait 0 milliseconds with messages
 
  When we replaced with writing to and reading a text field on a
 substack
  (still 1ms), the other windows responded perfectly normally, you
 could
  drag and click just like no callback loop was running.
 
 Yes, because here other handlers are starting and stopping and this
 gives
 the engine opportunity to intervene.
 
  So I just ASSUMED the field was faster. Maybe the truth is that
  custom properties , although faster, somehow interfere with normal
  mouse-related processes... or maybe what we found was just specific
 to
  our app, although I don't see how that could be.
 
 It's the repeat loop itself without any wait or other handlers being
 called.
 
  Anyway, I will do some more tests as soon as I can. I just wanted to
  post, in case someone noticed sluggishness in an app with a fast
  callback loop, my advice is, try fields and see if that fixes it - it
  did for us!
 
 Just add the wait into your repeat loop with vars or custom props and
 you
 will see it is even faster than fields. ;-)
 
 Aloha from Hawaii,
 
 Jim Bufalini
 
 ___
 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


Decode in tRev

2010-02-19 Thread Mark Swindell
The more I get familiar with this feature of tRev the more I like it.  It's 
quite a brilliant implementation.  Set all the breakpoints you want, and then, 
after your script has run, go back and step forward and backwards through each 
breakpoint snapshot, looking into each set of conditions/states just as they 
occurred at every point along the journey.  Just an excellent tool.  

Mark___
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: revlet newbie questions

2010-02-19 Thread J. Landman Gay

Chris Sheffield wrote:

So I'm wondering, is there a good, single source
out there somewhere that lists what works and what doesn't work in a
revlet? Things to avoid in revlets?


I don't think there is a comprehensive reference yet, since the revlet 
engine is still being revised and some limitations may be lifted 
provided work-arounds can be implemented. A big part of the problem is 
how various browsers handle different things, and some capabilities just 
aren't possible with current browser implementations.


What I know about so far are:

1. Only one active window at a time, as both you and Sarah noted. You 
can alternately display more than one window in the same browser page. 
But opening an external (secondary) window is not currently possible. RR 
was looking into the new Firefox release to see if that would allow such 
a thing, but even if it does, IE and/or Safari may not. So to be safe, 
don't use more than one revlet window.


Ask and Answer dialogs were hacked to allow display, since so many 
stacks use those, but it's a hack that still isn't perfect. In 
particular, the user must manually focus on the window by clicking in it 
before any objects inside will activate.


2. Custom cursors: not supported. This includes cursors the Rev engine 
uses (busy, watch, etc.) For now, we only have the default browser cursor.


3. Quicktime and CoreImage visual effects are not supported. QuickTime 
players are only supported in alwaysBuffer mode - this means the 
controller will not work.


On the up side, there have been a few threads here about reading QT 
movies or other files from the local hard drive. No one was able to do 
it, and the work-around for regular files was to use URL syntax to put 
the file into the revlet. I've since found out that if you use a fully 
qualified file reference, you can retrieve QT movies from the local 
drive, and I think other files as well.


Don't use normal Rev file references (i.e.: user/folder/file.mov). 
Instead, use a fully qualified file reference similar to an http reference:


  file:///user/folder/file.mov -- note the 3 slashes, indicating localhost

If you refer to QT files that way they can be used as the filename for 
players in revlets.


This discrepancy is due to the automatic relative referencing that Rev 
uses when looking for files on disk. They are going to fix that so that 
in the future we can use file references we're used to for local file 
access in revlets. For now, the above works. You still can't play movies 
with an active controller though, but you can use start and stop 
player commands normally to manage playback.


--
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: Search / replace

2010-02-19 Thread Glen Bojsza
Thanks Kay,

I will play with offset but I think the trick will be covering each
different number of ['s per line.

Glen

On Fri, Feb 19, 2010 at 8:20 PM, Kay C Lan lan.kc.macm...@gmail.com wrote:

 Hi Glen,

 look up offset in the Rev Dictionary.

 If you are sure that there is no possibility of a space between the
 number and [, then something like this should work:

  if (char (offset([,tMyLine) - 1) of tMyLine is an integer) then
--script to replace with _
  else
--script to replace with empty
  end if

 HTH


 On Sat, Feb 20, 2010 at 10:57 AM, Glen Bojsza gboj...@gmail.com wrote:
  Sorry to bother everyone but either I'm tired or brain dead.
 
  I have a field which has hundreds of lines.
 
  For all [ in the field I need to check to see if the character to it's
  immediate left is a number.
 
  If it is a number then the [ is to be converted into an _.
 
  If it is not a number then the [ is to be removed (no substitution or
  spaces).
 
  I need to be able to cycle through the entire field which each line may
  contain several [.
 
  Any thoughts would be appreciated as I have tried using a combination of
  find characters and foundchunk on the field without success.
 
  thanks,
  ___
  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: Search / replace

2010-02-19 Thread Jim Bufalini
Glen Bojsza wrote:

 Sorry to bother everyone but either I'm tired or brain dead.
 
 I have a field which has hundreds of lines.
 
 For all [ in the field I need to check to see if the character to it's
 immediate left is a number.
 
 If it is a number then the [ is to be converted into an _.
 
 If it is not a number then the [ is to be removed (no substitution or
 spaces).
 
 I need to be able to cycle through the entire field which each line may
 contain several [.
 
 Any thoughts would be appreciated as I have tried using a combination
 of
 find characters and foundchunk on the field without success.

Use the *offset()* function as in:

On replaceChar
Local tOffset, tCharsToSkip, tFieldText

put 0 into tCharsToSkip
put fld theFieldName into tFieldText
repeat
put offset([,tFieldText,tCharsToSkip) into tOffset
if tOffset = 0 then exit repeat
if char (tOffset - 1) of tFieldText is an integer then
replace char tOffset of tFieldText with _
put tOffset + 1 into tCharsToSkip
else
replace char tOffset of tFieldText with empty
put tOffset into tCharsToSkip
end repeat
put tFieldText into fld theFieldName
end replaceChar

Aloha from Hawaii,

Jim Bufalini


___
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] Languages and cultures (was Re: survey)

2010-02-19 Thread Kay C Lan
On a slightly different note, it's always good to see when someone
tries to do the right thing and translate their signs into a foreign
language to help tourists. Of course it would help a lot more if they
actually used a native speaker, rather than the www:

http://www.kirainet.com/images/errortranslate.jpg

The correct translation would be Dining Room, or maybe Restaurant,
depending on the actual establishment.
___
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: Search / replace

2010-02-19 Thread Jim Bufalini
I missed the *end if* ;-) (see below)


 Glen Bojsza wrote:
 
  Sorry to bother everyone but either I'm tired or brain dead.
 
  I have a field which has hundreds of lines.
 
  For all [ in the field I need to check to see if the character to
 it's
  immediate left is a number.
 
  If it is a number then the [ is to be converted into an _.
 
  If it is not a number then the [ is to be removed (no substitution or
  spaces).
 
  I need to be able to cycle through the entire field which each line
 may
  contain several [.
 
  Any thoughts would be appreciated as I have tried using a combination
  of
  find characters and foundchunk on the field without success.
 
 Use the *offset()* function as in:
 
 On replaceChar
   Local tOffset, tCharsToSkip, tFieldText
   
   put 0 into tCharsToSkip
   put fld theFieldName into tFieldText
   repeat
   put offset([,tFieldText,tCharsToSkip) into tOffset
   if tOffset = 0 then exit repeat
   if char (tOffset - 1) of tFieldText is an integer then
   replace char tOffset of tFieldText with _
   put tOffset + 1 into tCharsToSkip
   else
   replace char tOffset of tFieldText with empty
   put tOffset into tCharsToSkip
END IF
   end repeat
   put tFieldText into fld theFieldName
 end replaceChar
 
 Aloha from Hawaii,
 
 Jim Bufalini
 
 
 ___
 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: Search / replace

2010-02-19 Thread Kay C Lan
Glen,

I wasn't going to offer a 'full' script like Jim has, as the nature of
your data would effect the option taken.

You mentioned many lines of data, and a numeral followed by [ suggests
some kind of specific format. When dealing with many lines of similar
data, repeat for each line is normally considered the fastest way to
attack such a problem. If there were only one [ per line this would be
ideal and very fast. Even if there were mulitple [ per line, as Jim
has shown in his script offset() will return 0 if there are no [
found.

On the other hand if there is no format to the data, just a random
sprinkling of numerals followed by [, then Jim's offering will fit the
bill perfectly.

HTH

On Sat, Feb 20, 2010 at 11:44 AM, Glen Bojsza gboj...@gmail.com wrote:
 Thanks Kay,

 I will play with offset but I think the trick will be covering each
 different number of ['s per line.

 Glen

 On Fri, Feb 19, 2010 at 8:20 PM, Kay C Lan lan.kc.macm...@gmail.com wrote:

 Hi Glen,

 look up offset in the Rev Dictionary.

 If you are sure that there is no possibility of a space between the
 number and [, then something like this should work:

  if (char (offset([,tMyLine) - 1) of tMyLine is an integer) then
    --script to replace with _
  else
    --script to replace with empty
  end if

 HTH


 On Sat, Feb 20, 2010 at 10:57 AM, Glen Bojsza gboj...@gmail.com wrote:
  Sorry to bother everyone but either I'm tired or brain dead.
 
  I have a field which has hundreds of lines.
 
  For all [ in the field I need to check to see if the character to it's
  immediate left is a number.
 
  If it is a number then the [ is to be converted into an _.
 
  If it is not a number then the [ is to be removed (no substitution or
  spaces).
 
  I need to be able to cycle through the entire field which each line may
  contain several [.
 
  Any thoughts would be appreciated as I have tried using a combination of
  find characters and foundchunk on the field without success.
 
  thanks,
  ___
  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: FYI: writing to and reading from fields much faster than locals, globals or custom properties

2010-02-19 Thread Josh Mellicker
 You should also fit some lock/unlock screen into your testing to see how
 that affects your loop/s and processing speed.

Will do, thanks Scott!



On Feb 19, 2010, at 6:35 PM, Scott Rossi wrote:

 Recently, Josh Mellicker wrote:
 
 What we found was that when writing and reading a custom property, or a
 variable, in a 1 ms loop, other stack windows became sluggish - very
 difficult to drag by the header bar, very difficult to click buttons on,
 rollover states sticking.
 
 When we replaced with writing to and reading a text field on a substack 
 (still
 1ms), the other windows responded perfectly normally, you could drag and 
 click
 just like no callback loop was running.
 
 So I just ASSUMED the field was faster. Maybe the truth is that custom
 properties , although faster, somehow interfere with normal mouse-related
 processes... or maybe what we found was just specific to our app, although I
 don't see how that could be.
 
 Anyway, I will do some more tests as soon as I can. I just wanted to post, in
 case someone noticed sluggishness in an app with a fast callback loop, my
 advice is, try fields and see if that fixes it - it did for us!
 
 Do you have any custom drag routines in your stack/s?  Do you update any
 kind of output while the loop is running?
 
 My guess is your repeat loop is so tight that the writing to the field
 causes a screen update which slows the repeat loop and allows other events
 such as window dragging to take place.  In my experience, a repeat loop will
 only usually down events when updating the screen repeatedly.
 
 You should also fit some lock/unlock screen into your testing to see how
 that affects your loop/s and processing speed.
 
 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


Re: FYI: writing to and reading from fields much faster than locals, globals or custom properties

2010-02-19 Thread Josh Mellicker
 Just add the wait into your repeat loop with vars or custom props and you
 will see it is even faster than fields. ;-)


Will do! Thanks Jim, your message cleared some some things!


On Feb 19, 2010, at 6:55 PM, Jim Bufalini wrote:

 Josh Mellicker wrote:
 
 What we found was that when writing and reading a custom property, or a
 variable, in a 1 ms loop, other stack windows became sluggish - very
 difficult to drag by the header bar, very difficult to click buttons
 on, rollover states sticking.
 
 Ahhh...Now THIS makes sense. Your repeat loop is so tight that the GUI
 becomes unresponsive. It has nothing to do with the actual speed of
 variables vs. fields. Please add, somewhere in your repeat loop:
 
 wait 0 milliseconds with messages
 
 When we replaced with writing to and reading a text field on a substack
 (still 1ms), the other windows responded perfectly normally, you could
 drag and click just like no callback loop was running.
 
 Yes, because here other handlers are starting and stopping and this gives
 the engine opportunity to intervene. 
 
 So I just ASSUMED the field was faster. Maybe the truth is that
 custom properties , although faster, somehow interfere with normal
 mouse-related processes... or maybe what we found was just specific to
 our app, although I don't see how that could be.
 
 It's the repeat loop itself without any wait or other handlers being called.
 
 Anyway, I will do some more tests as soon as I can. I just wanted to
 post, in case someone noticed sluggishness in an app with a fast
 callback loop, my advice is, try fields and see if that fixes it - it
 did for us!
 
 Just add the wait into your repeat loop with vars or custom props and you
 will see it is even faster than fields. ;-)
 
 Aloha from Hawaii,
 
 Jim Bufalini
 
 ___
 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: FYI: writing to and reading from fields much faster than locals, globals or custom properties

2010-02-19 Thread Josh Mellicker
Oops.

I learned coding from an old guy in an alley, that's why. :-)

When a handler is not event driven, but just looping, monitoring something, and 
keeps calling itself, what is the proper term?


On Feb 19, 2010, at 7:20 PM, Jim Bufalini wrote:

 BTW, it's the *with messages* that is important. Also, your use of *callback
 loop* is interesting. A callback is a handler that is triggered when a
 callback event occurs, much like a mouseUp handler is triggered on a mouseUp
 event. It's never in a repeat loop.
 
 Aloha from Hawaii,
 
 Jim Bufalini
 
 -Original Message-
 From: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
 boun...@lists.runrev.com] On Behalf Of Jim Bufalini
 Sent: Friday, February 19, 2010 4:56 PM
 To: 'How to use Revolution'
 Subject: RE: FYI: writing to and reading from fields much faster than
 locals, globals or custom properties
 
 Josh Mellicker wrote:
 
 What we found was that when writing and reading a custom property, or
 a
 variable, in a 1 ms loop, other stack windows became sluggish -
 very
 difficult to drag by the header bar, very difficult to click buttons
 on, rollover states sticking.
 
 Ahhh...Now THIS makes sense. Your repeat loop is so tight that the GUI
 becomes unresponsive. It has nothing to do with the actual speed of
 variables vs. fields. Please add, somewhere in your repeat loop:
 
 wait 0 milliseconds with messages
 
 When we replaced with writing to and reading a text field on a
 substack
 (still 1ms), the other windows responded perfectly normally, you
 could
 drag and click just like no callback loop was running.
 
 Yes, because here other handlers are starting and stopping and this
 gives
 the engine opportunity to intervene.
 
 So I just ASSUMED the field was faster. Maybe the truth is that
 custom properties , although faster, somehow interfere with normal
 mouse-related processes... or maybe what we found was just specific
 to
 our app, although I don't see how that could be.
 
 It's the repeat loop itself without any wait or other handlers being
 called.
 
 Anyway, I will do some more tests as soon as I can. I just wanted to
 post, in case someone noticed sluggishness in an app with a fast
 callback loop, my advice is, try fields and see if that fixes it - it
 did for us!
 
 Just add the wait into your repeat loop with vars or custom props and
 you
 will see it is even faster than fields. ;-)
 
 Aloha from Hawaii,
 
 Jim Bufalini
 
 ___
 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


Script Editor Handler List

2010-02-19 Thread Cal Horner
Is anybody out there having trouble with disappearing Handler Lists. Or is
it only me?

The list is there for a while and then it must decide to take a tea break.
It takes a complete stop and cold restart to bring it back again.

Perhaps this is a bug and I have missed the notification.
___
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: Search / replace

2010-02-19 Thread Jim Bufalini
Actually what I hastily typed into the last emails won't work. LOL! This is
because tOffset is always the difference between the starting point and
the found character. I really need to stop these quick answers! Try:

On replaceChar
Local tOffset, tCharsToSkip, tFieldText, tTotalOffset

put 0 into tCharsToSkip
put fld theFieldName into tFieldText
repeat
put offset([,tFieldText,tCharsToSkip) into tOffset
if tOffset = 0 then exit repeat
put tCharsToSkip + tOffset into tTotalOffset
if char (tTotalOffset - 1) of tFieldText is an integer then
replace char tTotalOffset of tFieldText with _
put tTotalOffset + 1 into tCharsToSkip
else
replace char tTotalOffset of tFieldText with empty
put tTotalOffset into tCharsToSkip
end if
end repeat
put tFieldText into fld theFieldName
end replaceChar

Now, if in this one, I misspelled something, just correct it. :-)

Aloha from Hawaii,

Jim Bufalini


 -Original Message-
 From: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
 boun...@lists.runrev.com] On Behalf Of Jim Bufalini
 Sent: Friday, February 19, 2010 5:52 PM
 To: 'How to use Revolution'
 Subject: RE: Search / replace
 
 I missed the *end if* ;-) (see below)
 
 
  Glen Bojsza wrote:
 
   Sorry to bother everyone but either I'm tired or brain dead.
  
   I have a field which has hundreds of lines.
  
   For all [ in the field I need to check to see if the character to
  it's
   immediate left is a number.
  
   If it is a number then the [ is to be converted into an _.
  
   If it is not a number then the [ is to be removed (no substitution
 or
   spaces).
  
   I need to be able to cycle through the entire field which each line
  may
   contain several [.
  
   Any thoughts would be appreciated as I have tried using a
 combination
   of
   find characters and foundchunk on the field without success.
 
  Use the *offset()* function as in:
 
  On replaceChar
  Local tOffset, tCharsToSkip, tFieldText
  
  put 0 into tCharsToSkip
  put fld theFieldName into tFieldText
  repeat
  put offset([,tFieldText,tCharsToSkip) into tOffset
  if tOffset = 0 then exit repeat
  if char (tOffset - 1) of tFieldText is an integer then
  replace char tOffset of tFieldText with _
  put tOffset + 1 into tCharsToSkip
  else
  replace char tOffset of tFieldText with empty
  put tOffset into tCharsToSkip
   END IF
  end repeat
  put tFieldText into fld theFieldName
  end replaceChar
 
  Aloha from Hawaii,
 
  Jim Bufalini
 
 
  ___
  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: Search / replace

2010-02-19 Thread Glen Bojsza
Hi Jim,

I appreciate your efforts.

I was struggling with your last solution when I came back to check on the
posts.

Your new solution won't compile the following two lines?

replace char tTotalOffset of tFieldText  with _

replace char tTotalOffset of tFieldText with empty

Glen

On Fri, Feb 19, 2010 at 9:19 PM, Jim Bufalini j...@visitrieve.com wrote:

 Actually what I hastily typed into the last emails won't work. LOL! This is
 because tOffset is always the difference between the starting point and
 the found character. I really need to stop these quick answers! Try:

 On replaceChar
Local tOffset, tCharsToSkip, tFieldText, tTotalOffset
 
put 0 into tCharsToSkip
put fld theFieldName into tFieldText
repeat
put offset([,tFieldText,tCharsToSkip) into tOffset
if tOffset = 0 then exit repeat
 put tCharsToSkip + tOffset into tTotalOffset
if char (tTotalOffset - 1) of tFieldText is an integer then
replace char tTotalOffset of tFieldText with _
put tTotalOffset + 1 into tCharsToSkip
else
replace char tTotalOffset of tFieldText with empty
put tTotalOffset into tCharsToSkip
end if
 end repeat
put tFieldText into fld theFieldName
 end replaceChar

 Now, if in this one, I misspelled something, just correct it. :-)

 Aloha from Hawaii,

 Jim Bufalini


  -Original Message-
  From: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
  boun...@lists.runrev.com] On Behalf Of Jim Bufalini
  Sent: Friday, February 19, 2010 5:52 PM
  To: 'How to use Revolution'
  Subject: RE: Search / replace
 
  I missed the *end if* ;-) (see below)
 
 
   Glen Bojsza wrote:
  
Sorry to bother everyone but either I'm tired or brain dead.
   
I have a field which has hundreds of lines.
   
For all [ in the field I need to check to see if the character to
   it's
immediate left is a number.
   
If it is a number then the [ is to be converted into an _.
   
If it is not a number then the [ is to be removed (no substitution
  or
spaces).
   
I need to be able to cycle through the entire field which each line
   may
contain several [.
   
Any thoughts would be appreciated as I have tried using a
  combination
of
find characters and foundchunk on the field without success.
  
   Use the *offset()* function as in:
  
   On replaceChar
   Local tOffset, tCharsToSkip, tFieldText
   
   put 0 into tCharsToSkip
   put fld theFieldName into tFieldText
   repeat
   put offset([,tFieldText,tCharsToSkip) into tOffset
   if tOffset = 0 then exit repeat
   if char (tOffset - 1) of tFieldText is an integer then
   replace char tOffset of tFieldText with _
   put tOffset + 1 into tCharsToSkip
   else
   replace char tOffset of tFieldText with empty
   put tOffset into tCharsToSkip
END IF
   end repeat
   put tFieldText into fld theFieldName
   end replaceChar
  
   Aloha from Hawaii,
  
   Jim Bufalini
  
  
   ___
   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: Search / replace

2010-02-19 Thread Jim Bufalini
And lastly, before someone else points it out, since in all cases you are
eliminating the [ char, you don't need to use either tCharsToSkip or
tTotalOffset. But, it's a good example if you weren't always replacing the
[ char. This is absolutely my last post on this topic!

I wrote:
 
 Actually what I hastily typed into the last emails won't work. LOL!
 This is
 because tOffset is always the difference between the starting point
 and
 the found character. I really need to stop these quick answers! Try:
 
 On replaceChar
   Local tOffset, tCharsToSkip, tFieldText, tTotalOffset
   
   put 0 into tCharsToSkip
   put fld theFieldName into tFieldText
   repeat
   put offset([,tFieldText,tCharsToSkip) into tOffset
   if tOffset = 0 then exit repeat
   put tCharsToSkip + tOffset into tTotalOffset
   if char (tTotalOffset - 1) of tFieldText is an integer then
   replace char tTotalOffset of tFieldText with _
   put tTotalOffset + 1 into tCharsToSkip
   else
   replace char tTotalOffset of tFieldText with empty
   put tTotalOffset into tCharsToSkip
   end if
   end repeat
   put tFieldText into fld theFieldName
 end replaceChar
 
 Now, if in this one, I misspelled something, just correct it. :-)
 
 Aloha from Hawaii,
 
 Jim Bufalini
 
 
  -Original Message-
  From: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
  boun...@lists.runrev.com] On Behalf Of Jim Bufalini
  Sent: Friday, February 19, 2010 5:52 PM
  To: 'How to use Revolution'
  Subject: RE: Search / replace
 
  I missed the *end if* ;-) (see below)
 
 
   Glen Bojsza wrote:
  
Sorry to bother everyone but either I'm tired or brain dead.
   
I have a field which has hundreds of lines.
   
For all [ in the field I need to check to see if the character to
   it's
immediate left is a number.
   
If it is a number then the [ is to be converted into an _.
   
If it is not a number then the [ is to be removed (no
 substitution
  or
spaces).
   
I need to be able to cycle through the entire field which each
 line
   may
contain several [.
   
Any thoughts would be appreciated as I have tried using a
  combination
of
find characters and foundchunk on the field without success.
  
   Use the *offset()* function as in:
  
   On replaceChar
 Local tOffset, tCharsToSkip, tFieldText
 
 put 0 into tCharsToSkip
 put fld theFieldName into tFieldText
 repeat
 put offset([,tFieldText,tCharsToSkip) into tOffset
 if tOffset = 0 then exit repeat
 if char (tOffset - 1) of tFieldText is an integer then
 replace char tOffset of tFieldText with _
 put tOffset + 1 into tCharsToSkip
 else
 replace char tOffset of tFieldText with empty
 put tOffset into tCharsToSkip
  END IF
 end repeat
 put tFieldText into fld theFieldName
   end replaceChar
  
   Aloha from Hawaii,
  
   Jim Bufalini
  
  
   ___
   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: Script Editor Handler List

2010-02-19 Thread Scott Rossi
Recently, Cal Horner wrote:

 Is anybody out there having trouble with disappearing Handler Lists. Or is
 it only me?
 
 The list is there for a while and then it must decide to take a tea break.

Happens here as well.  Also, the message box becomes non-responsive (becomes
tied to a hidden or non-open stack).  In both cases, a close of the window
and reopen solves it.

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


RE: FYI: writing to and reading from fields much faster than locals, globals or custom properties

2010-02-19 Thread Jim Bufalini
Josh Mellicker wrote:

 Oops.
 
 I learned coding from an old guy in an alley, that's why. :-)
 
 When a handler is not event driven, but just looping, monitoring
 something, and keeps calling itself, what is the proper term?

Recursion or recursive. This is the same as a tight loop because the handler
never ends until the recursive calling stops. Hence, without waits *with
messages* you will have a sluggish GUI. Also, you could easily hit the
recursive limit if the condition you are looking for does not occur as you
expect, and your program will crash.

Use instead:

send thisHandlerName to me in 1 millisecond

This will solve all of your problems of allowing the GUI to be responsive
and avoid hitting the recursion limit.

One thing to be aware of though, in any case, of using *wait... with
messages* or sending in time. The time factor is not absolute. If, for
example, a handler that takes 10 milliseconds to execute is triggered then
there will be 10 milliseconds between executions of your in-time loops

Aloha from Hawaii,

Jim Bufalini

___
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: Search / replace

2010-02-19 Thread Jim Bufalini
put _ into char tTotalOffset of tFieldText 

put empty into char tTotalOffset of tFieldText

or 

replace char tTotalOffset of tFieldText with _ in tFieldText

replace char tTotalOffset of tFieldText with empty in tFieldText

 -Original Message-
 From: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
 boun...@lists.runrev.com] On Behalf Of Glen Bojsza
 Sent: Friday, February 19, 2010 6:37 PM
 To: How to use Revolution
 Subject: Re: Search / replace
 
 Hi Jim,
 
 I appreciate your efforts.
 
 I was struggling with your last solution when I came back to check on
 the
 posts.
 
 Your new solution won't compile the following two lines?
 
 replace char tTotalOffset of tFieldText  with _
 
 replace char tTotalOffset of tFieldText with empty
 
 Glen
 
 On Fri, Feb 19, 2010 at 9:19 PM, Jim Bufalini j...@visitrieve.com
 wrote:
 
  Actually what I hastily typed into the last emails won't work. LOL!
 This is
  because tOffset is always the difference between the starting point
 and
  the found character. I really need to stop these quick answers! Try:
 
  On replaceChar
 Local tOffset, tCharsToSkip, tFieldText, tTotalOffset
  
 put 0 into tCharsToSkip
 put fld theFieldName into tFieldText
 repeat
 put offset([,tFieldText,tCharsToSkip) into tOffset
 if tOffset = 0 then exit repeat
  put tCharsToSkip + tOffset into tTotalOffset
 if char (tTotalOffset - 1) of tFieldText is an integer
 then
 replace char tTotalOffset of tFieldText with
 _
 put tTotalOffset + 1 into tCharsToSkip
 else
 replace char tTotalOffset of tFieldText with
 empty
 put tTotalOffset into tCharsToSkip
 end if
  end repeat
 put tFieldText into fld theFieldName
  end replaceChar
 
  Now, if in this one, I misspelled something, just correct it. :-)
 
  Aloha from Hawaii,
 
  Jim Bufalini
 
 
   -Original Message-
   From: use-revolution-boun...@lists.runrev.com [mailto:use-
 revolution-
   boun...@lists.runrev.com] On Behalf Of Jim Bufalini
   Sent: Friday, February 19, 2010 5:52 PM
   To: 'How to use Revolution'
   Subject: RE: Search / replace
  
   I missed the *end if* ;-) (see below)
  
  
Glen Bojsza wrote:
   
 Sorry to bother everyone but either I'm tired or brain dead.

 I have a field which has hundreds of lines.

 For all [ in the field I need to check to see if the character
 to
it's
 immediate left is a number.

 If it is a number then the [ is to be converted into an _.

 If it is not a number then the [ is to be removed (no
 substitution
   or
 spaces).

 I need to be able to cycle through the entire field which each
 line
may
 contain several [.

 Any thoughts would be appreciated as I have tried using a
   combination
 of
 find characters and foundchunk on the field without success.
   
Use the *offset()* function as in:
   
On replaceChar
Local tOffset, tCharsToSkip, tFieldText

put 0 into tCharsToSkip
put fld theFieldName into tFieldText
repeat
put offset([,tFieldText,tCharsToSkip) into tOffset
if tOffset = 0 then exit repeat
if char (tOffset - 1) of tFieldText is an integer
 then
replace char tOffset of tFieldText with _
put tOffset + 1 into tCharsToSkip
else
replace char tOffset of tFieldText with empty
put tOffset into tCharsToSkip
 END IF
end repeat
put tFieldText into fld theFieldName
end replaceChar
   
Aloha from Hawaii,
   
Jim Bufalini
   
   
___
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: Script Editor Handler List

2010-02-19 Thread Phil Davis

On 2/19/10 8:50 PM, Scott Rossi wrote:

Recently, Cal Horner wrote:

   

Is anybody out there having trouble with disappearing Handler Lists. Or is
it only me?

The list is there for a while and then it must decide to take a tea break.
 

Happens here as well.  Also, the message box becomes non-responsive (becomes
tied to a hidden or non-open stack).  In both cases, a close of the window
and reopen solves it.
   


Also you can click the current script editor tab (but not the close 
dot!) and the handler list is refreshed.



Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design
   


--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.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


RE: Search / replace

2010-02-19 Thread Jim Bufalini
Do NOT use the *replace* version. Use the *put*. OK, I'm obviously tired.
Aloha and Goodnight! ;-)

 put _ into char tTotalOffset of tFieldText
 
 put empty into char tTotalOffset of tFieldText
 
 or
 
 replace char tTotalOffset of tFieldText with _ in tFieldText
 
 replace char tTotalOffset of tFieldText with empty in tFieldText
 
  -Original Message-
  From: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
  boun...@lists.runrev.com] On Behalf Of Glen Bojsza
  Sent: Friday, February 19, 2010 6:37 PM
  To: How to use Revolution
  Subject: Re: Search / replace
 
  Hi Jim,
 
  I appreciate your efforts.
 
  I was struggling with your last solution when I came back to check on
  the
  posts.
 
  Your new solution won't compile the following two lines?
 
  replace char tTotalOffset of tFieldText  with _
 
  replace char tTotalOffset of tFieldText with empty
 
  Glen
 
  On Fri, Feb 19, 2010 at 9:19 PM, Jim Bufalini j...@visitrieve.com
  wrote:
 
   Actually what I hastily typed into the last emails won't work. LOL!
  This is
   because tOffset is always the difference between the starting
 point
  and
   the found character. I really need to stop these quick answers!
 Try:
  
   On replaceChar
  Local tOffset, tCharsToSkip, tFieldText, tTotalOffset
   
  put 0 into tCharsToSkip
  put fld theFieldName into tFieldText
  repeat
  put offset([,tFieldText,tCharsToSkip) into tOffset
  if tOffset = 0 then exit repeat
   put tCharsToSkip + tOffset into tTotalOffset
  if char (tTotalOffset - 1) of tFieldText is an
 integer
  then
  replace char tTotalOffset of tFieldText with
  _
  put tTotalOffset + 1 into tCharsToSkip
  else
  replace char tTotalOffset of tFieldText with
  empty
  put tTotalOffset into tCharsToSkip
  end if
   end repeat
  put tFieldText into fld theFieldName
   end replaceChar
  
   Now, if in this one, I misspelled something, just correct it. :-)
  
   Aloha from Hawaii,
  
   Jim Bufalini
  
  
-Original Message-
From: use-revolution-boun...@lists.runrev.com [mailto:use-
  revolution-
boun...@lists.runrev.com] On Behalf Of Jim Bufalini
Sent: Friday, February 19, 2010 5:52 PM
To: 'How to use Revolution'
Subject: RE: Search / replace
   
I missed the *end if* ;-) (see below)
   
   
 Glen Bojsza wrote:

  Sorry to bother everyone but either I'm tired or brain dead.
 
  I have a field which has hundreds of lines.
 
  For all [ in the field I need to check to see if the
 character
  to
 it's
  immediate left is a number.
 
  If it is a number then the [ is to be converted into an _.
 
  If it is not a number then the [ is to be removed (no
  substitution
or
  spaces).
 
  I need to be able to cycle through the entire field which
 each
  line
 may
  contain several [.
 
  Any thoughts would be appreciated as I have tried using a
combination
  of
  find characters and foundchunk on the field without success.

 Use the *offset()* function as in:

 On replaceChar
 Local tOffset, tCharsToSkip, tFieldText
 
 put 0 into tCharsToSkip
 put fld theFieldName into tFieldText
 repeat
 put offset([,tFieldText,tCharsToSkip) into
 tOffset
 if tOffset = 0 then exit repeat
 if char (tOffset - 1) of tFieldText is an integer
  then
 replace char tOffset of tFieldText with _
 put tOffset + 1 into tCharsToSkip
 else
 replace char tOffset of tFieldText with
 empty
 put tOffset into tCharsToSkip
  END IF
 end repeat
 put tFieldText into fld theFieldName
 end replaceChar

 Aloha from Hawaii,

 Jim Bufalini


 ___
 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
  
  

Datagrid and Custom Controls

2010-02-19 Thread RevList
I have a custom control that is a series of buttons in the group.  The
mouseup script on each button will return a different numerical value.

I have this custom control on a Data Grid.  What I would like to do is to
set the value of another field on the data Grid based on the button in
that is clicked.

For the sake of simplicity, assume that the datagrid has two columns;
ValueField and CustomControl.  The value assigned to CustomControl is
irrelevant.  What I want to do is set the value of ValueField to a value
based on the button clicked on the CustomControl.

For example, if the user click on button 1, then I want to put 1 into
field ValueField,  if they click on button 2, I want to put 2 into field
ValueField.

Is this possible?

Stewart.


This message and any attachments are intended only for the use of the
individual to whom they are addressed and it may contain information that
is privileged or confidential. If you have received this communication by
mistake, please notify us immediately.


___
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: Stack working in MACOS, not in Windows.

2010-02-19 Thread Peter Alcibiades

Steven, you don't have to buy a 'Dell'.  You can buy a copy of XP for a few
tens of dollars and have a dual boot system.  Its unbelievable to refuse,
for emotional reasons, to test on what you are going to deploy on.  I don't
greatly care for Windows either - or Mac for that matter.  But that would
never stop me getting as close as possible to the client environment for
testing before deployment.  

Possibly Rev treats Windows and Mac sufficiently carefully that you'll get
away with it most of the time, and possibly virtualization of Windows on Mac
is sufficiently complete in how it treats hardware that you will get away
with it most of the time.  I use VirtualBox on Linux to run Windows, and I
can tell you from experience that if I were developing in Rev on Linux and
only tested either on Linux or in the VM, I would have disasters.  And I'd
deserve them, though my clients would not!

Peter
-- 
View this message in context: 
http://n4.nabble.com/Stack-working-in-MACOS-not-in-Windows-tp1561182p1562627.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