Re: A Rev Web Project and On-Rev working together?

2009-12-17 Thread Sivakatirswami

� wrote:

On 17 Dec 2009, at 04:23, John Patten wrote:


Bj?rnke, as for copying the sentence to the clipboard...

Is it because the user might have been saving something else on the clipboard 
and that action replaces what they had previously saved?


Yes. And deleting the users data is a very bad idea. 



OTOH:

Most of my xTalk work through the years has revolved around building in 
house production applications that do all kinds of "work". In  many 
instances putting data on the clipboard is part of an otherwise tedious 
work flow that, clipping for them saves the user the "burden" of using 
the mouse to hit a button or remove hands from he keyboard to mouse to a 
field and drag of click and shift clic to select text and hitting cmd-C 
prior to switch to another app that needs to have that text pasted into 
to proceed. Additionally it prevent user error where they hit cmd-X by 
mistake and wipe out what they are trying to copy.


My users are *very* appreciative of this added tool selecting text for 
them and consider it a "cool" feature and RunRev gets added points...


Just make sure the users know that this is the behavior. Typically my 
Help or "Getting started" will explain this, and I always put a tool tip 
saying this will happen where the object is that triggers it. And I 
usually have  status field (not a dialog box, which again requires the 
user to interrupt work and dismiss) that indicates: "The member ID you 
need is now on your clipboard" just before activating the other program.


For the most part everyone thinks this behavior is really helpful.




Have fun
Bj�rnke



___
use-revolution mailing list
use-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: datagrids in revLets on Win (Vista / 7)

2009-12-17 Thread Trevor DeVore

On Dec 17, 2009, at 8:42 PM, Malte Pfaff-Brill wrote:

was happiely coding away on a web project. Build the revlet, works  
fine on the mac. On Win Vista and 7 it fails with the following  
error (on setting the dgText of the datagrid to empty.:


682,119,17
465,119,1
587,117,1
253,113,1
241,113,1,_Initialize
353,0,0,button id 1005 of bkgnd id 1004 of stack  
"revDataGridLibrary" of stack "webmon"

573,4512,18
253,4512,1
241,4512,1,dgData
353,0,0,button id 1005 of bkgnd id 1004 of stack  
"revDataGridLibrary" of stack "webmon"

90,3205,36
449,3205,5
535,3205,1
241,3205,1,_table.SetText


Line 119 of the Data Grid button script is (edit script of btn "Data  
Grid" of stack "revDataGridLibrary":


put queryregistry("HKEY_CURRENT_USER\Control Panel\Colors 
\HilightText") into sSystemA["hilited text color"]


My guess is the revLet doesn't like to have the registry queried.

You can probably update the switch statement in the _Initialize  
handler with following. I'm just wrapping the queryRegistry calls with  
a check to see if the code is running in the browser:


 switch the platform
case "Win32"
if the environment is not "browser" then
put queryregistry("HKEY_CURRENT_USER\Control Panel 
\Colors\HilightText") into sSystemA["hilited text color"]

if sSystemA["hilited text color"] is not empty then
replace space with comma in sSystemA["hilited  
text color"]

end if
put queryregistry("HKEY_CURRENT_USER\Control Panel 
\Desktop\WindowMetrics\ScollWidth") into theValue

if theValue is an integer then
put abs(theValue/15) into  
sSystemA["scrollbarWidth"]

end if
end if

break
end switch


--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [VOTE] Tool Palette dissapear randomly Report #8500

2009-12-17 Thread J. Landman Gay

Alejandro Tejada wrote:

Today, while teaching how to use RevMedia 4.00 v950
to a group of teachers, the tool palette dissapear
and sometimes reappear when users click at the
open stack. Sometimes, the tool palette completely
dissapears and it was necessary to close the IDE and
restart RevMedia to use again the palette.

Fortunately, no stack was lost, but it's a real problem
that this bug happens when you are teaching how to
use RevMedia.

I saw this bug in computer's students running Windows XP
and MacOS X alike.


Look in the preferences, in the Script Editor pane, to make sure that 
the palettes are not hidden when the script editor is open. The default 
setting is to hide them. When you click on the stack, they come back.


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

2009-12-17 Thread Malte Pfaff-Brill
Just for the record: It was a server side problem. The server required 
connection: keep alive in the http headers to fully download the pdf file.

Thanks for the help though.

All the best,

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


datagrids in revLets on Win (Vista / 7)

2009-12-17 Thread Malte Pfaff-Brill
Hi there,

was happiely coding away on a web project. Build the revlet, works fine on the 
mac. On Win Vista and 7 it fails with the following error (on setting the 
dgText of the datagrid to empty.:

682,119,17
465,119,1
587,117,1
253,113,1
241,113,1,_Initialize
353,0,0,button id 1005 of bkgnd id 1004 of stack "revDataGridLibrary" of stack 
"webmon"
573,4512,18
253,4512,1
241,4512,1,dgData
353,0,0,button id 1005 of bkgnd id 1004 of stack "revDataGridLibrary" of stack 
"webmon"
90,3205,36
449,3205,5
535,3205,1
241,3205,1,_table.SetText

Anybody got an idea what could cause this?

Cheers,

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


[VOTE] Tool Palette dissapear randomly Report #8500

2009-12-17 Thread Alejandro Tejada

Today, while teaching how to use RevMedia 4.00 v950
to a group of teachers, the tool palette dissapear
and sometimes reappear when users click at the
open stack. Sometimes, the tool palette completely
dissapears and it was necessary to close the IDE and
restart RevMedia to use again the palette.

Fortunately, no stack was lost, but it's a real problem
that this bug happens when you are teaching how to
use RevMedia.

I saw this bug in computer's students running Windows XP
and MacOS X alike.

Vote for Report #8500 if you use RevMedia or want to
introduce RevMedia to someone that you know.

http://quality.runrev.com/qacenter/show_bug.cgi?id=8500

Thanks in advance.

Alejandro
-- 
View this message in context: 
http://n4.nabble.com/VOTE-Tool-Palette-dissapear-randomly-Report-8500-tp974505p974505.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: Web interface for executable software

2009-12-17 Thread Alejandro Tejada

Great pointers to start
experimenting. :-D

Many thanks for your
helpful answers!

Alejandro
-- 
View this message in context: 
http://n4.nabble.com/Web-interface-for-executable-software-tp965693p974502.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: Saving standalone stacks

2009-12-17 Thread James Hurley

James Hurley wrote:

> What would be s much easier if I would have access to the  
satellite
> stack itself. All the data would be intact and I could easily make  
the

> changes in the IDE and send it back as a stand alone.
> There would seem to be an advantage to using StackRunner or the  
RunRev

> Player in that the satellite stack is still intact and more easily
> modified.

They all work the same way as a splash stack. When you save a  
satellite
stack with new data, it gets altered on disk, no matter what vehicle  
the
engine is attached to. There isn't a way around that, except to  
separate

the data from the stacks entirely (which is generally the recommended
approach anyway, for just these reasons.)

>
> Is there some was in the stand alone to make a clone of the  
satellite

> stack, or in some other way recreate the stack as a dot rev and
> available to the IDE?

You don't really need to. Satellite stacks are just plain rev stacks.
You can open them at any time in the IDE. They aren't part of the
standalone, they are just documents sitting in the same folder that  
the
standalone engine opens. You can grab them, open them in the IDE,  
edit,

and save them back to their permanent location. That's one of the nice
things about these files.

A standalone is just a copy of the engine with at least one stack
attached. You can't save data to that attached stack, but if the
standalone opens a separate stack file (your satellite stacks,) then
it's exactly like opening it in the IDE, only without the editing  
tools.


Jacque,

Ah, I found it. It is in the package contents. Beautiful. Just as I  
had hoped.


Thanks,

Jim


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


Re: Saving standalone substacks

2009-12-17 Thread J. Landman Gay

James Hurley wrote:

What would be s much easier if I would have access to the satellite 
stack itself. All the data would be intact and I could easily make the 
changes in the IDE and send it back as a stand alone.
There would seem to be an advantage to using StackRunner or the RunRev 
Player in that the satellite stack is still intact and more easily 
modified.


They all work the same way as a splash stack. When you save a satellite 
stack with new data, it gets altered on disk, no matter what vehicle the 
engine is attached to. There isn't a way around that, except to separate 
the data from the stacks entirely (which is generally the recommended 
approach anyway, for just these reasons.)




Is there some was in the stand alone to make a clone of the satellite 
stack, or in some other way recreate the stack as a dot rev and 
available to the IDE?


You don't really need to. Satellite stacks are just plain rev stacks. 
You can open them at any time in the IDE. They aren't part of the 
standalone, they are just documents sitting in the same folder that the 
standalone engine opens. You can grab them, open them in the IDE, edit, 
and save them back to their permanent location. That's one of the nice 
things about these files.


A standalone is just a copy of the engine with at least one stack 
attached. You can't save data to that attached stack, but if the 
standalone opens a separate stack file (your satellite stacks,) then 
it's exactly like opening it in the IDE, only without the editing tools.


--
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: Data Grid deployment question

2009-12-17 Thread Trevor DeVore

On Dec 17, 2009, at 4:16 PM, Josh Mellicker wrote:

revDataGridLibrary is not a library stack. It just needs to be in  
memory.


So, would one of these be better?

go invisible stack "revdatagridlibrary.rev"?

or just

open stack "revdatagridlibrary.rev"?


I prefer:

put there is a stack "revdatagridlibrary.rev" into theStackIsNowInMemory

This loads the stack without issuing any messages to it or opening it.


No. You need to load the stack in memory before your stack that has  
the data grid is opened in memory. At least that is what I've seen  
in my tests.


It seems to be working now with "start using" in preOpenStack... are  
there any problems we should be looking out for in particular? Or is  
it as simple as the data grid just won't work?


The Data Grid will not work. If you have everything working then you  
are good to go (just switch to loading the stack in memory rather than  
using it as a library).


--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Data Grid deployment question

2009-12-17 Thread Josh Mellicker

On Dec 17, 2009, at 12:59 PM, Trevor DeVore wrote:

> On Dec 17, 2009, at 3:57 PM, Josh Mellicker wrote:
> 
>>> b) Include the revDataGridLibrary.rev stack as a stack file in your 
>>> application distribution. You need load this stack in memory before ANY of 
>>> your application stacks open up or the behavior property of the Data Grid's 
>>> won't resolve properly.
>> 
>> If we say:
>> 
>> start using stack "revdatagridlibrary.rev"
> 
> revDataGridLibrary is not a library stack. It just needs to be in memory.

So, would one of these be better?

go invisible stack "revdatagridlibrary.rev"?

or just

open stack "revdatagridlibrary.rev"?



> 
>> in the PreOpenStack of the stack that has a data grid, is that acceptable?
> 
> No. You need to load the stack in memory before your stack that has the data 
> grid is opened in memory. At least that is what I've seen in my tests.


It seems to be working now with "start using" in preOpenStack... are there any 
problems we should be looking out for in particular? Or is it as simple as the 
data grid just won't work?





> 
> -- 
> Trevor DeVore
> Blue Mango Learning Systems
> ScreenSteps: http://www.screensteps.com
> Releasable Revolution Resources for Developers: 
> http://revolution.bluemangolearning.com
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: Saving standalone substacks

2009-12-17 Thread James Hurley


Message: 26
Date: Wed, 16 Dec 2009 16:30:22 -0600
From: "J. Landman Gay" 
Subject: Re: Saving standalone substacks
To: How to use Revolution 
Message-ID: <4b295f7e.3030...@hyperactivesw.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

James Hurley wrote:


Things I didn't know:

1)  I thought I would be saving to a substack.


Substacks -- the ones embedded into a main stack -- become part of the
standalone. Executables can't save data to themselves, no matter how
many stacks they are composed of. So yeah, you need separate stacks on
disk if you want to save them.


2)  I was unaware of the "shutDownRequest" handler.

Another question or two.

1)  How would  "StackRunner" differ from using my own splash screen?
2)  How would "Revolution Player" differ from using my own splash  
screen?


I don't think either of these would be much different. They are both
basically splash standalones, though Rev's player has a few more
restrictions I think. But with either of these, you'd need to put your
saving instructions into each satellite stack, or else into a  
backscript

that you insert when your first stack opens. That's because both of
these are already built standalones, so to add any scripted behavior  
you

have to use another stack to store the scripts in.

(snip)
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com



Jacque,

Thanks again. I put all of this to good use and it all seems to be  
working.


But I foresee one problem. I am setting up a  utility for a local  
volunteer group.


There will surely be occasion for upgrades and bug fixes down the  
road. And all of this after they have made additional data entries in  
the stand alone.
It would be possible for me to incorporate a means of extracting all  
the data entry work they have performed, make changes in the original  
satellite stack in the RunRev IDE, repopulate the fields with saved  
data and return it to them for further use.


What would be s much easier if I would have access to the  
satellite stack itself. All the data would be intact and I could  
easily make the changes in the IDE and send it back as a stand alone.
There would seem to be an advantage to using StackRunner or the RunRev  
Player in that the satellite stack is still intact and more easily  
modified.


Is there some was in the stand alone to make a clone of the satellite  
stack, or in some other way recreate the stack as a dot rev and  
available to the IDE?


Jim Hurley



___
use-revolution mailing list
use-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: Data Grid deployment question

2009-12-17 Thread Trevor DeVore

On Dec 17, 2009, at 3:57 PM, Josh Mellicker wrote:

b) Include the revDataGridLibrary.rev stack as a stack file in your  
application distribution. You need load this stack in memory before  
ANY of your application stacks open up or the behavior property of  
the Data Grid's won't resolve properly.


If we say:

start using stack "revdatagridlibrary.rev"


revDataGridLibrary is not a library stack. It just needs to be in  
memory.


in the PreOpenStack of the stack that has a data grid, is that  
acceptable?


No. You need to load the stack in memory before your stack that has  
the data grid is opened in memory. At least that is what I've seen in  
my tests.


--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: regex question in matchChunk function

2009-12-17 Thread zryip theSlug
It seems that I have missed the good tread. Apologizes if it's a double
message ;)

To enclose a word without its punctuation you have to define a list of
substitute strings like this :
-> the list of possible form
"  ",",",".",".",".."
-> the substitute list
" 
",",",".",".",".."

With this approach you'll be able to keep your punctuation alive. I'm sure
it'll thank us 8)

To create a list of possible form of whole word, you could:
1) Define the list of punctuation which could starts a word
i.e. : colon,space,nothing,comma 
2) Define the list of punctuation which could ends a word
i.e. : -,colon,dot,comma ...
3) Then mix all possibilities by two imbricated loops (okay it's like
cooking i'm presume 8))

So you'll obtain something like that :
put "colon,space,comma,nothing,quote" into startCharsList
put "colon,dot,comma,-" into endCharsList

put "" into keyWord
put "" into htmlTag
put "" into wholeWordList
put "" into substituteList

-- Create the list of whole words and its substitute list
repeat with startCharNum = 1 to number of items of startCharsList
repeat with endCharNum = 1 to number of items of endCharsList
put item startCharNum of startCharsList & keyWord & item endCharNum of
endCharsList&"," after wholeWordList
put item startCharNum of startCharsList & htmlTag & keyWord & htmlTag & item
endCharNum of endCharsList&"," after substituteList
end repeat
end repeat

-- Search and boxed one or a list of words
repeat with aWord in wordList
repeat with wholeWordForm in wholeWordList
put replaceText(wholeWordForm,"",aWord) into wholeWordForm --
replace the "" key in your pattern by the word that you need
get fld "yourField"
replace wholeWordForm with itSubstituteForm in it
end repeat
end repeat

See how it could work ?
However not sure of the time of processing...

Not tested but it's a possibility.

Anyway you've already found your way and that is the main, so try this if
you would ;)


-Zryip TheSlug- wish you the best ! 8)

2009/12/17 Chris Sheffield 

> Thanks to all who replied and offered suggestions. I ended up using the
> "find" command on my field in order to accomplish what I need. While
> probably not super speedy, it seems to be working well. Fortunately the
> story passages are not too long, so the decreased speed is really not that
> noticeable.
>
> Thanks again,
> 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
>
___
use-revolution mailing list
use-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: Data Grid deployment question

2009-12-17 Thread Josh Mellicker
Hi Trevor, and thanks for the quick answer!


On Dec 17, 2009, at 12:08 PM, Trevor DeVore wrote:

> On Dec 17, 2009, at 2:55 PM, Josh Mellicker wrote:
> 
>> Here's our situation:
>> 
>> We have a product that uses a "splash" standalone that checks our server for 
>> updates in the secondary stack (the secondary stack is actually the real 
>> app) and downloads the updated secondary stack if it's newer.
>> 
>> We just, for the first time, put a data grid in the secondary stack.
>> 
>> So the question is, how do we deploy the "revdatagridlibrary.rev" library in 
>> this situation? Do we just make "revdatagridlibrary.rev" a substack of the 
>> secondary stack, and put a "start using" in the preOpenStack of the 
>> secondary stack? I thought I should ask before we started experimenting.
> 
> I would either
> 
> a) Bundle the library with the splash stack using the directions in this 
> lesson:
> 
> 


We don't want to do this, for a few reasons: 1. if there are improvements in 
the datagrid library we are stuck with an old version, 2. we want to avoid 
making users re-download an executable when we have such a slick, 
behind-the-scenes updater :-)


> 
> or
> 
> b) Include the revDataGridLibrary.rev stack as a stack file in your 
> application distribution. You need load this stack in memory before ANY of 
> your application stacks open up or the behavior property of the Data Grid's 
> won't resolve properly.


If we say:

start using stack "revdatagridlibrary.rev"

in the PreOpenStack of the stack that has a data grid, is that acceptable?

Or would it be better to have an intermediary stack that opens libraries, then 
launches a third stack which is actually the real program?


Also, is it better, when using a library, to say "start using", or "insert the 
script of... into back"?


> 
> You could potentially include the stack as a substack to your stack but Rev 
> would complain when you opened the stack in the IDE and had two versions of 
> revDataGridLibrary in memory.

Strangely, we have not seen that message yet!


> 
>> (Obviously we don't want to make thousands of users re-download a 
>> standalone.)
> 
> You might want to consider updating the executable when you auto-update 
> though. The reason is that the executable has the version, created on and 
> modified on information. If you don't update the exe (on Windows at least, 
> you could meddle with the info.plist file on Mac) then people using Windows 
> Explorer to see which version of your app they have will see the wrong 
> information.

True... but when we do tech support, we always have people use the "About..." 
menu, which is easier for them anyway.

> 
> -- 
> Trevor DeVore
> Blue Mango Learning Systems
> ScreenSteps: http://www.screensteps.com
> Releasable Revolution Resources for Developers: 
> http://revolution.bluemangolearning.com
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-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: Problems with Flashers

2009-12-17 Thread Jacques Hausser
Well, if you don't want to use PreOpenStack, IF your "XYZ" stack is already in 
memory (it is the case if it is a substract of your mainstack)
you can use

on mouseUp
  put empty into fld "FEELD" of stack "XYZ"
  palette "XYZ"
end mouseUp

Simply empties your field before opening the stack - works as well

Jacques

Le 17 déc. 2009 à 21:12, Richmond Mathewson a écrit :

> On 17/12/2009 22:05, Jacques Hausser wrote:
>> Hello Richmond,
>> 
>> If xou reduce your script to:
>> 
>> on mouseUp
>>   palette "XYZ"
>> end mouseUp
>> 
>> and put
>> 
>> on preOpenStack
>> put empty in fld "FEELD"
>> end preOpenStack
>>  
>> in the stack script of "XYZ"
>> 
>> it's just splendidly...
>> 
>> Jacques
>> 
>>   
> Possiblement, mais J'ai eu des problems avec le
> Pre-Open avec des autres stacks.
> 
> 
> ___
> use-revolution mailing list
> use-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: Problems with Flashers

2009-12-17 Thread Richmond Mathewson

On 17/12/2009 22:05, Jacques Hausser wrote:

Hello Richmond,

If xou reduce your script to:

on mouseUp
   palette "XYZ"
end mouseUp

and put

on preOpenStack
put empty in fld "FEELD"
end preOpenStack

in the stack script of "XYZ"

it's just splendidly...

Jacques

   

Possiblement, mais J'ai eu des problems avec le
Pre-Open avec des autres stacks.


___
use-revolution mailing list
use-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: Problems with Flashers

2009-12-17 Thread Richmond Mathewson

Thank you George and Mark,

The visibility trick seems to be the
best way to avoid the flash.
___
use-revolution mailing list
use-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: Data Grid deployment question

2009-12-17 Thread Trevor DeVore

On Dec 17, 2009, at 2:55 PM, Josh Mellicker wrote:


Here's our situation:

We have a product that uses a "splash" standalone that checks our  
server for updates in the secondary stack (the secondary stack is  
actually the real app) and downloads the updated secondary stack if  
it's newer.


We just, for the first time, put a data grid in the secondary stack.

So the question is, how do we deploy the "revdatagridlibrary.rev"  
library in this situation? Do we just make "revdatagridlibrary.rev"  
a substack of the secondary stack, and put a "start using" in the  
preOpenStack of the secondary stack? I thought I should ask before  
we started experimenting.


I would either

a) Bundle the library with the splash stack using the directions in  
this lesson:





or

b) Include the revDataGridLibrary.rev stack as a stack file in your  
application distribution. You need load this stack in memory before  
ANY of your application stacks open up or the behavior property of the  
Data Grid's won't resolve properly.


You could potentially include the stack as a substack to your stack  
but Rev would complain when you opened the stack in the IDE and had  
two versions of revDataGridLibrary in memory.


(Obviously we don't want to make thousands of users re-download a  
standalone.)


You might want to consider updating the executable when you auto- 
update though. The reason is that the executable has the version,  
created on and modified on information. If you don't update the exe  
(on Windows at least, you could meddle with the info.plist file on  
Mac) then people using Windows Explorer to see which version of your  
app they have will see the wrong information.


--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: A Rev Web Project and On-Rev working together?

2009-12-17 Thread John Patten

Hi All...

I finished my little Rev web application example. It is still a little  
rough, but I hope it sparks some conversations with those interested  
on how it was done :-)  I'm going to send out to our teachers and  
administrators tomorrow. So if you do see anything that's buggy or  
suggestions for making it better ( in know there are probably  
plenty)  :-)


It is accessible at: http://jpatten.on-rev.com/xmas/

Cheers & Happy Holidays!

John Patten


___
use-revolution mailing list
use-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: Problems with Flashers

2009-12-17 Thread Jacques Hausser
Hello Richmond,

If xou reduce your script to:

on mouseUp
  palette "XYZ"
end mouseUp

and put

on preOpenStack
put empty in fld "FEELD"
end preOpenStack

in the stack script of "XYZ"

it's just splendidly...

Jacques


and use the preopenStack in the card script for the original setting...

Jacques

Le 17 déc. 2009 à 20:33, Richmond Mathewson a écrit :

> [ No, before you ask, not THAT kind . . .  :)  ]
> 
> I have a palette that has to be emptied as it is opened,
> so I have this in the script of the button that opens
> the palette:
> 
> on mouseUp
>   set the lockscreen to true
>   open stack "XYZ"
>   put empty into fld "FEELD" of stack "XYZ"
>   palette "XYZ"
>   set the lockscreen to false
> end mouseUp
> 
> I had hoped that until the lockscreen was set to false
> end-users would see nothing; but, 'tis not so -
> there is a disconcerting flash just after clicking on the button
> where the stack, with the fld's previous contents are
> visible for a split-second.
> 
> Of course I could empty the field prior to closing it
> so that it is sitting empty for the next time it is
> opened (and that is what I shall do - no time like the
> present), but that is not the point.
> 
> ___
> use-revolution mailing list
> use-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: Problems with Flashers

2009-12-17 Thread Mark Wieder
Richmond-

A couple of ideas:

1:
open invisible stack "XYZ"
-- fiddle about
show stack "XYZ"

2:
set the loc of stack "XYZ" to -1000,-1000
-- fiddle about
set the loc of stack "XYZ" to the screenloc

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

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


Data Grid deployment question

2009-12-17 Thread Josh Mellicker
Here's our situation:

We have a product that uses a "splash" standalone that checks our server for 
updates in the secondary stack (the secondary stack is actually the real app) 
and downloads the updated secondary stack if it's newer.

We just, for the first time, put a data grid in the secondary stack.

So the question is, how do we deploy the "revdatagridlibrary.rev" library in 
this situation? Do we just make "revdatagridlibrary.rev" a substack of the 
secondary stack, and put a "start using" in the preOpenStack of the secondary 
stack? I thought I should ask before we started experimenting.

(Obviously we don't want to make thousands of users re-download a standalone.)



___
use-revolution mailing list
use-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: Problems with Flashers

2009-12-17 Thread George C Brackett
Would using 'open invisible' on your palette help? That is, open it invisible, 
clear the field, palette-ize it and then show it?
George

On Dec 17, 2009, at 2:33 PM, Richmond Mathewson wrote:

[ No, before you ask, not THAT kind . . .  :)  ]

I have a palette that has to be emptied as it is opened,
so I have this in the script of the button that opens
the palette:

on mouseUp
  set the lockscreen to true
  open stack "XYZ"
  put empty into fld "FEELD" of stack "XYZ"
  palette "XYZ"
  set the lockscreen to false
end mouseUp

I had hoped that until the lockscreen was set to false
end-users would see nothing; but, 'tis not so -
there is a disconcerting flash just after clicking on the button
where the stack, with the fld's previous contents are
visible for a split-second.

Of course I could empty the field prior to closing it
so that it is sitting empty for the next time it is
opened (and that is what I shall do - no time like the
present), but that is not the point.

___
use-revolution mailing list
use-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: Problems with Flashers

2009-12-17 Thread Mark Swindell
Could you empty the contents on the substack's preopen stack handler (though 
that would only work the first time it was opened, I think)

You might also open it off screen and then relocate it.

Mark

On Dec 17, 2009, at 11:33 AM, Richmond Mathewson wrote:

> [ No, before you ask, not THAT kind . . .  :)  ]
> 
> I have a palette that has to be emptied as it is opened,
> so I have this in the script of the button that opens
> the palette:
> 
> on mouseUp
>   set the lockscreen to true
>   open stack "XYZ"
>   put empty into fld "FEELD" of stack "XYZ"
>   palette "XYZ"
>   set the lockscreen to false
> end mouseUp
> 
> I had hoped that until the lockscreen was set to false
> end-users would see nothing; but, 'tis not so -
> there is a disconcerting flash just after clicking on the button
> where the stack, with the fld's previous contents are
> visible for a split-second.
> 
> Of course I could empty the field prior to closing it
> so that it is sitting empty for the next time it is
> opened (and that is what I shall do - no time like the
> present), but that is not the point.
> 
> ___
> use-revolution mailing list
> use-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: PasteKey Bug?

2009-12-17 Thread Marty Knapp
That will do the trick for me. Sometimes I want to disallow pasting or 
check the contents of the clipboard before pasting (rather than testing 
the content of the field on exitfield).


Thanks again Mark!

Hi Marty,

Your menuPick handler should call a handler named pasteIt and the 
pasteKey handler should do the same. Your pasteIt handler should do 
exactly the same what currently your pasteKey handler does.


Apparently, sometimes you want to be able to paste and sometimes you 
don't. For this, you need to adjust your pasteIt handler, for example 
something like:


on pasteIt
  if the short name of the selectedField is "Forbidden Field" then
beep
answer error "Paste not allowed"
  else
paste
  end if
end pasteIt

If this isn't what you're trying to do, please explain more.

--
Best regards,

Mark Schonewille 


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


Problems with Flashers

2009-12-17 Thread Richmond Mathewson

[ No, before you ask, not THAT kind . . .  :)  ]

I have a palette that has to be emptied as it is opened,
so I have this in the script of the button that opens
the palette:

on mouseUp
   set the lockscreen to true
   open stack "XYZ"
   put empty into fld "FEELD" of stack "XYZ"
   palette "XYZ"
   set the lockscreen to false
end mouseUp

I had hoped that until the lockscreen was set to false
end-users would see nothing; but, 'tis not so -
there is a disconcerting flash just after clicking on the button
where the stack, with the fld's previous contents are
visible for a split-second.

Of course I could empty the field prior to closing it
so that it is sitting empty for the next time it is
opened (and that is what I shall do - no time like the
present), but that is not the point.

___
use-revolution mailing list
use-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: Deriving an angle from three points

2009-12-17 Thread Mark Swindell
Thanks.  I neglected to include the "start using" command.  

Mark

On Dec 17, 2009, at 11:18 AM, James Hurley wrote:

>> 
>> Message: 12
>> Date: Wed, 16 Dec 2009 21:47:10 -0800
>> From: Mark Swindell 
>> Subject: Re: Deriving an angle from three points
>> To: How to use Revolution 
>> Message-ID: <3ceb9dd4-d059-43b4-8a77-2f4e86c48...@cruzio.com>
>> Content-Type: text/plain; charset=us-ascii
>> 
>> James,
>> 
>> Thanks for this, but starting the Turtle stack did not allow me to calculate 
>> the angle.  I got an error each time at "Start Turtle."  Is there a trick to 
>> making the library accessible to other stacks?
>> 
>> Mark
> 
> Mark,
> 
> I think the problem might be that you may have used "Start Turtle" instead of 
> "StartTurtle"
> 
> There should be no spaces. Try just copying and pasting the script into a 
> button on the Turtle Graphics stack. If you use it outside of the Turtle 
> Graphics stack, you will need to do a "Start Using  stack..."
> 
> Hope this helps.
> 
> Jim Hurley
>> 
>> On Dec 16, 2009, at 8:08 AM, James Hurley wrote:
>> 
 
 Message: 24
 Date: Tue, 15 Dec 2009 22:21:47 -0800
 From: Mark Swindell 
 Subject: Deriving an angle from three points
 To: How to use Revolution 
 Message-ID: 
 Content-Type: text/plain;  charset=us-ascii
 
 40,116
 98,186
 132,118
 
 How would one determine the angle created from three points, such as those 
 above?
 
 Thanks,
 Mark
 
>>> 
>>> Mark,
>>> 
>>> Or even easier. Set the Turtle at the apex and get the angle of the other 
>>> two points.
>>> 
>>> 
>>> on mouseUp
>>> startTurtle --Initiates the turtle graphics library
>>> penup
>>> setxy 98,186 --The vertex
>>> put direction(40,116) into A
>>> put direction(132,118) into B
>>> put B-A into dA
>>> put abs(dA) & cr & abs(180 - dA)  into msg box
>>> choose the browse tool
>>> end mouseUP
>>> 
>>> (Assuming your middle point is the apex of the angle you want.)
>>> 
>>> To run this you will need the TG library. Run this in the msg box
>>> 
>>> go url "http://www.jamesphurley.com/jhurleyFolder/TurtleGraphics.rev";
>>> 
>>> Jim Hurley
>>> ___
>>> use-revolution mailing list
>>> use-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: PasteKey Bug?

2009-12-17 Thread Mark Schonewille

Hi Marty,

Your menuPick handler should call a handler named pasteIt and the  
pasteKey handler should do the same. Your pasteIt handler should do  
exactly the same what currently your pasteKey handler does.


Apparently, sometimes you want to be able to paste and sometimes you  
don't. For this, you need to adjust your pasteIt handler, for example  
something like:


on pasteIt
  if the short name of the selectedField is "Forbidden Field" then
beep
answer error "Paste not allowed"
  else
paste
  end if
end pasteIt

If this isn't what you're trying to do, please explain more.

--
Best regards,

Mark Schonewille

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

Full PayPal integration and automation in web site or (Revolution/ 
SuperCard/other) software. Contact me for a quote

http://economy-x-talk.com/contact.html

Op 17 dec 2009, om 20:25 heeft Marty Knapp het volgende geschreven:


Thanks Mark for taking the time to try this,

I'm on an Intel iMac running OS 10.5.8 and the latest version of Rev  
Studio. My menuPick handler for Paste is just "paste". This is 100%  
repeatable for me, so far. Any other thoughts?


Thanks,
Marty Knapp

___
use-revolution mailing list
use-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: PasteKey Bug?

2009-12-17 Thread Marty Knapp

Thanks Mark for taking the time to try this,

I'm on an Intel iMac running OS 10.5.8 and the latest version of Rev 
Studio. My menuPick handler for Paste is just "paste". This is 100% 
repeatable for me, so far. Any other thoughts?


Thanks,
Marty Knapp

Hi Marty,

I don't know whether this is a bug or not, but I have no problem with 
calling the same handler from the pasteKey and the menuPick handler.


--
Best regards,

Mark Schonewille

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

Full PayPal integration and automation in web site or 
(Revolution/SuperCard/other) software. Contact me for a quote

http://economy-x-talk.com/contact.html

Op 17 dec 2009, om 17:35 heeft Marty Knapp het volgende geschreven:

I'm having trouble with the pasteKey message not being caught (I 
understand that it does not function in the IDE without suspending 
the development tools).


I tried this twice - make 2 identical stacks, each with a field. In 
the field script I put:


on pasteKey
 answer "No pasting allowed"
end pasteKey

Then take one of the stacks and install a menubar with the default 
settings. Script the cut - copy - paste commands with cut, copy & 
paste respectively. Then suspend development tools, copy some text 
from somewhere and try to paste into the 2 stacks. The stack without 
the menubar catches the pasteKey message, but the stack with the 
menubar does not and the text is pasted.


Is this a bug, or am I not understanding something? (This has been 
driving me crazy for a while)


Marty 

___
use-revolution mailing list
use-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: Deriving an angle from three points

2009-12-17 Thread James Hurley


Message: 12
Date: Wed, 16 Dec 2009 21:47:10 -0800
From: Mark Swindell 
Subject: Re: Deriving an angle from three points
To: How to use Revolution 
Message-ID: <3ceb9dd4-d059-43b4-8a77-2f4e86c48...@cruzio.com>
Content-Type: text/plain; charset=us-ascii

James,

Thanks for this, but starting the Turtle stack did not allow me to  
calculate the angle.  I got an error each time at "Start Turtle."   
Is there a trick to making the library accessible to other stacks?


Mark


Mark,

I think the problem might be that you may have used "Start Turtle"  
instead of "StartTurtle"


There should be no spaces. Try just copying and pasting the script  
into a button on the Turtle Graphics stack. If you use it outside of  
the Turtle Graphics stack, you will need to do a "Start Using  stack..."


Hope this helps.

Jim Hurley


On Dec 16, 2009, at 8:08 AM, James Hurley wrote:



Message: 24
Date: Tue, 15 Dec 2009 22:21:47 -0800
From: Mark Swindell 
Subject: Deriving an angle from three points
To: How to use Revolution 
Message-ID: 
Content-Type: text/plain;   charset=us-ascii

40,116
98,186
132,118

How would one determine the angle created from three points, such  
as those above?


Thanks,
Mark



Mark,

Or even easier. Set the Turtle at the apex and get the angle of the  
other two points.



on mouseUp
 startTurtle --Initiates the turtle graphics library
 penup
 setxy 98,186 --The vertex
 put direction(40,116) into A
 put direction(132,118) into B
 put B-A into dA
 put abs(dA) & cr & abs(180 - dA)  into msg box
 choose the browse tool
end mouseUP

(Assuming your middle point is the apex of the angle you want.)

To run this you will need the TG library. Run this in the msg box

go url "http://www.jamesphurley.com/jhurleyFolder/TurtleGraphics.rev";

Jim Hurley
___
use-revolution mailing list
use-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: PasteKey Bug?

2009-12-17 Thread Mark Schonewille

Hi Marty,

I don't know whether this is a bug or not, but I have no problem with  
calling the same handler from the pasteKey and the menuPick handler.


--
Best regards,

Mark Schonewille

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

Full PayPal integration and automation in web site or (Revolution/ 
SuperCard/other) software. Contact me for a quote

http://economy-x-talk.com/contact.html

Op 17 dec 2009, om 17:35 heeft Marty Knapp het volgende geschreven:

I'm having trouble with the pasteKey message not being caught (I  
understand that it does not function in the IDE without suspending  
the development tools).


I tried this twice - make 2 identical stacks, each with a field. In  
the field script I put:


on pasteKey
 answer "No pasting allowed"
end pasteKey

Then take one of the stacks and install a menubar with the default  
settings. Script the cut - copy - paste commands with cut, copy &  
paste respectively. Then suspend development tools, copy some text  
from somewhere and try to paste into the 2 stacks. The stack without  
the menubar catches the pasteKey message, but the stack with the  
menubar does not and the text is pasted.


Is this a bug, or am I not understanding something? (This has been  
driving me crazy for a while)


Marty



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


PasteKey Bug?

2009-12-17 Thread Marty Knapp
I'm having trouble with the pasteKey message not being caught (I 
understand that it does not function in the IDE without suspending the 
development tools).


I tried this twice - make 2 identical stacks, each with a field. In the 
field script I put:


on pasteKey
  answer "No pasting allowed"
end pasteKey

Then take one of the stacks and install a menubar with the default 
settings. Script the cut - copy - paste commands with cut, copy & paste 
respectively. Then suspend development tools, copy some text from 
somewhere and try to paste into the 2 stacks. The stack without the 
menubar catches the pasteKey message, but the stack with the menubar 
does not and the text is pasted.


Is this a bug, or am I not understanding something? (This has been 
driving me crazy for a while)


Marty
___
use-revolution mailing list
use-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: HTMLText question

2009-12-17 Thread Robert Brenstein

On 17.12.2009 at 12:04 Uhr +0800 Kay C Lan apparently wrote:

Secondly, using the keyword 'word' when dealing with htmlText doesn't seem
to be a safe option to me at all, in fact it would be the last option I'd
think of using. If a field contained multiple lines of words, formatted in
all sorts of weird and wonderful ways, and the htmlText of one of those
lines might look like this:


Yes, using words is not a general approach. I was referring here to 
the case presented by the original poster which apparently operated 
on words with his content. I dare say that there is no really general 
approach that works always. Content massaging needs to be tailored 
for any given situation.


For example, for content that is already html or xml, it is often 
(but not always) handy to set the item delimiter to < and work with 
items.


Robert
___
use-revolution mailing list
use-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: HTMLText question

2009-12-17 Thread Robert Brenstein

On 16.12.2009 at 22:06 Uhr -0800 Phil Davis apparently wrote:

I'm totally confused. I am not aware that variables have a htmlText
property? When I try to access it I keep getting an error message.



You're right. Variables don't have an "htmlText" property, only 
fields do. This agrees with the Rev docs description and is the way 
it really works.


I think maybe Robert meant "variable DON'T have htmltext property", 
and was saying you can put the htmlText of a field into a variable, 
manipulate it, then set the htmlText of the field to the manipulated 
contents of the variable to display it in rendered form.


Thanx Phil for correction. Yes, indeed, this is what I meant.

Robert
___
use-revolution mailing list
use-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: Web interface for executable software

2009-12-17 Thread Richard Gaskin

Björnke wrote:

> On 17 Dec 2009, at 02:36, Alejandro Tejada wrote:
>>
>> Recently i saw a functional web interface
>> for a desktop application that runs as
>> a server.
...
>> How difficult could be to create such
>> interface for our own apps?
>
> Making a bare-bone http server is not very.

To help get you started you can use Scott Raney's demo stack for making 
a simple web server, mchttpd:




Andre's variants are much more feature-rich, but Raney's mchttp may be a 
useful starting point because of its simplicity, designed as a demo 
rather than a complete production environment.


Once you get the hang of how it works, you could tailor it for your 
needs or move up to Andre's libs for more features.


--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Can't Paste? (Was copying scripts/Deriving an angle from three points)

2009-12-17 Thread dunbarx
You can't paste? Is it that the pasted text comes over with all its styles? 
(the script editor is filled with color) If so, the size of the mail 
increases dramatically, and it is stopped by Rev's own defences.

I always change copied scripts to plain old text before pasting:

function plainText tText
repeat for each char theChar in tText
   put numToChar(charToNum(theChar)) after temp
end repeat
return temp
end plainText

I set up a functionKey to process anything already in the clipboard. So I 
copy, Fkey and paste.

Or is it something more sinister? I mean, pasting, already. That is like 
breathing.

Anyone have a better way? You cannot set the textStyle or HTMLText of a 
string in a variable.

Craig Newman

In a message dated 12/17/09 5:16:57 AM, jacques.haus...@unil.ch writes:

> I cannot copy and paste scripts directly into mails (I don't know why) so 
> I
> >> rewrite them... with bugs !
> 
___
use-revolution mailing list
use-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: regex question in matchChunk function

2009-12-17 Thread Chris Sheffield
Thanks to all who replied and offered suggestions. I ended up using the "find" 
command on my field in order to accomplish what I need. While probably not 
super speedy, it seems to be working well. Fortunately the story passages are 
not too long, so the decreased speed is really not that noticeable.

Thanks again,
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


AW: Path name to CD drive

2009-12-17 Thread Tiemo Hollmann TB
Hi Klaus,
your kind of straight forward answers is always very welcome, no unnecessary
words :)
Frohe Weihnachten and a Happy New Year
Tiemo

> -Ursprüngliche Nachricht-
> Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
> boun...@lists.runrev.com] Im Auftrag von Klaus Major
> Gesendet: Donnerstag, 17. Dezember 2009 15:41
> An: How to use Revolution
> Betreff: Re: Path name to CD drive
> 
> Hi Tiemo,
> 
> > Hello,
> >
> > if I want to get the path to an inserted CD, with name "foo" I can check
> on
> > Mac "the drives", if my disk is inserted. But actually the full path is
> > "/Volumes/foo/myfile"
> >
> > Not having so much experience on Mac I would like to know, if I can
> always
> > set "/Volumes/" as a prefix before my disk name
> 
> Yes.
> 
> > or is the name "Volumes" customizable on different Macs?
> 
> No.
> 
> > Or is there another straight way to get the path to a known file on a
> known
> > CD?
> 
> Not that I knew :-)
> 
> > Thanks
> >
> > Tiemo
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> kl...@major.on-rev.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: Path name to CD drive

2009-12-17 Thread Klaus Major
Hi Tiemo,

> Hello,
> 
> if I want to get the path to an inserted CD, with name "foo" I can check on
> Mac "the drives", if my disk is inserted. But actually the full path is
> "/Volumes/foo/myfile"
> 
> Not having so much experience on Mac I would like to know, if I can always
> set "/Volumes/" as a prefix before my disk name

Yes.

> or is the name "Volumes" customizable on different Macs?

No.

> Or is there another straight way to get the path to a known file on a known
> CD?

Not that I knew :-)

> Thanks
> 
> Tiemo

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.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


Path name to CD drive

2009-12-17 Thread Tiemo Hollmann TB
Hello,

if I want to get the path to an inserted CD, with name "foo" I can check on
Mac "the drives", if my disk is inserted. But actually the full path is
"/Volumes/foo/myfile"

Not having so much experience on Mac I would like to know, if I can always
set "/Volumes/" as a prefix before my disk name or is the name "Volumes"
customizable on different Macs?

Or is there another straight way to get the path to a known file on a known
CD?

Thanks

Tiemo

 

 

 

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


Re: Web interface for executable software

2009-12-17 Thread Andre Garzia
lol Mr. B I don't add that much features!

I have some HTTP servers in here, I will pack and share them again, as
Björnke said, it is quite easy.

One easy and nice reading, which is more human readable than the RFC is
"HTTP Made Really Easy" available at http://www.jmarshall.com/easy/http/

Cheers
andre

2009/12/17 Björnke von Gierke 

> Making a bare-bone http server is not very.
>
> Andre has made html servers using runrev stacks. He tends to add dozens of
> features tho, probably to confuse people and make them think it's very hard
> ;)
>
> basically you need to accept stuff on port x (normally 80), and then follow
> the http protocol specification:
>
> http://www.w3.org/Protocols/rfc2616/rfc2616.html
>
> Have fun
> Björnke
>
> On 17 Dec 2009, at 02:36, Alejandro Tejada wrote:
>
> >
> > Hi all,
> >
> > Recently i saw a functional web interface
> > for a desktop application that runs as
> > a server.
> >
> > Previously, i have seen the VLC player
> > interface running in a browser,
> > (Still think that an external for VLC could be
> > an excellent alternative to Quicktime)
> > also WinAmp and iTunes.
> >
> > How difficult could be to create such
> > interface for our own apps?
> >
> > Thanks in advance.
> >
> > Alejandro
> >
> > --
> > View this message in context:
> http://n4.nabble.com/Web-interface-for-executable-software-tp965693p965693.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
>



-- 
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: A Rev Web Project and On-Rev working together?

2009-12-17 Thread Björnke von Gierke

On 17 Dec 2009, at 04:23, John Patten wrote:

> Bj?rnke, as for copying the sentence to the clipboard...
> 
> Is it because the user might have been saving something else on the clipboard 
> and that action replaces what they had previously saved?

Yes. And deleting the users data is a very bad idea. On my first week of my 
IT-Apprentice, I was tasked to install something on the mac (mac os 8) of the 
Boss of the company. I went there, downloaded the installer from the server, 
ran it, and then moved it to the trash. then i emptied the trash.
The boss was kindly explaining to me that i shouldn't have done that, because 
his workflow was to trash stuff (same for his real world paper trash), and then 
reassess if he might need it later on... I was scared shitless at that moment, 
but with time i found out that he was an easy going chap.

As for your idea of interacting with drupal, can't you access drupal by going 
to urls, using some kind of third party communication protocol? If not, you can 
just "fake" the forms, by sending post or put with parameters (similar to your 
example), to the correct drupal files. I'm sure there's documentation to do 
that, somewhere on the net.

Have fun
Björnke

-- 

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: Web interface for executable software

2009-12-17 Thread Björnke von Gierke
Making a bare-bone http server is not very.

Andre has made html servers using runrev stacks. He tends to add dozens of 
features tho, probably to confuse people and make them think it's very hard ;)

basically you need to accept stuff on port x (normally 80), and then follow the 
http protocol specification:

http://www.w3.org/Protocols/rfc2616/rfc2616.html

Have fun
Björnke

On 17 Dec 2009, at 02:36, Alejandro Tejada wrote:

> 
> Hi all,
> 
> Recently i saw a functional web interface
> for a desktop application that runs as
> a server.
> 
> Previously, i have seen the VLC player
> interface running in a browser,
> (Still think that an external for VLC could be
> an excellent alternative to Quicktime)
> also WinAmp and iTunes.
> 
> How difficult could be to create such
> interface for our own apps?
> 
> Thanks in advance.
> 
> Alejandro
> 
> -- 
> View this message in context: 
> http://n4.nabble.com/Web-interface-for-executable-software-tp965693p965693.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


copying scripts [was: Deriving an angle from three points]

2009-12-17 Thread Jacques Hausser

Le 17 déc. 2009 à 01:33, Kay C Lan a écrit :

> On Wed, Dec 16, 2009 at 6:56 PM, Jacques Hausser 
> wrote:
> 
>> I really should re-read my mails before sending them :-(
>> I cannot copy and paste scripts directly into mails (I don't know why) so I
>> rewrite them... with bugs !
>> 
> 
> Now that Mark has his solution, this seems to be the next thing that needs
> solving.

Hi Kay,

It is rather rare that I try to copy scripts and paste them on mails, so I 
didn't care for a solution. I can live without - as long as I do not post bugs 
;o).

After reading your post this morning, I  checked the process just after opening 
Rev... and it works OK !
When I tried yesterday, I was editing and testing scripts for some hours, using 
relatively large amounts of memory (12 megapixel images). I didn't copy or 
paste them, however.
I try to answer your questions as far as I remember:

> What platform are you on and which email client do you use? Are your scripts
> in Rev or tRev?


Mac OS 10.6.2  -  Apple's Mail - Rev Enterprise

> Does it make a difference if you use your mouse and select Copy and Paste
> rather than using keyboard shortcuts?


Not sure - I probably used the shortcut. "Paste" was dimmed in Mail. But not in 
TextEdit (see below) !

> Can you Copy and Paste code from Rev into a text editor or other program, or
> from one Rev script to another Rev script, ie is the problem you can't Copy
> in Rev, you can Copy but it get's lost when going to some other programs, or
> Paste just never works outside of Rev?


Yes, I tried after sending my last mail - scripts pasted in TextEdit without 
problems, either in txt or in RTF.
It seems it was something not recognized by Mail in the clipboard...
I didn't check other programs.
Last precision: the default format for my Mail is set to text only.

> This was an intermitant problem with Rev way back and the usual cure was to
> manually select the menu commands.


I remember too well - specially boring for cmd E ! 
Well, I'll check again after some hours on RunRev... but still, it is not a 
vital problem !

Jacques

**
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: RevMail Does not load Mail Program on Windows

2009-12-17 Thread Sarah Reichelt
On Thu, Dec 17, 2009 at 6:01 PM, Brent Summerton
<___bg...@virginbroadband.com.au> wrote:
> Using a Mac 10.6.2  RevMail function loads Email Program within application 
> being design all okay - but not when exported as a standalone application and 
> using a PC running Vista.  It will ONLY load the Email program if the field I 
> am wanting to send is empty.  Im wanting to send the data in the field!
>
> On EmailResults
>  --Send an email using your email client…
>   Put field "Results" into TheMessageBody
>   revMail "smerryl...@ach.org.au","mgra...@ach.org.au","Food Handling 
> Credential", TheMessageBody
> End EmailResults

I seem to remember having problems if the email text contained any
accented characters. Would this apply in your case?

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


RevMail Does not load Mail Program on Windows

2009-12-17 Thread Brent Summerton
Using a Mac 10.6.2  RevMail function loads Email Program within application 
being design all okay - but not when exported as a standalone application and 
using a PC running Vista.  It will ONLY load the Email program if the field I 
am wanting to send is empty.  Im wanting to send the data in the field!

On EmailResults
 --Send an email using your email client…
   Put field "Results" into TheMessageBody
   revMail "smerryl...@ach.org.au","mgra...@ach.org.au","Food Handling 
Credential", TheMessageBody
End EmailResults

I am using the $500 Enterprise 4.0.0 Edition.   I have checked under General 
that the Internet feature is selected to export with standalone windows 
application.

Is there any format to the field that I should be aware of? Locked/ Unlocked/ 
Disabled, Font? Is this a glitch when designing on Mac, exporting to Windows 
standalone?

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