Dropped Menu Bar

2007-03-29 Thread Joe Lewis Wilkins

Hi all,

Well, it took me a few weeks, but I finally managed to get RR to do  
something truly awful! I just lost the entire Menu Bar for my main  
stack. When I select the Build Menu tool, it no longer lists the Menu  
Bar I've been developing. Any ideas as to how I can recover it? I  
hate the thought of building it all over again.


I may have a fairly recent back up, but not as recent as I would  
like, from which I could copy something if I knew what to copy.


TIA,

Joe Wilkins
___
use-revolution mailing list
use-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: Alias to Folder?

2007-03-29 Thread Signe Marie Sanne


At least on Windows this works:

  put specialFolderPath("desktop") & "/FolderName.lnk" into  
shortcutName

  create alias(shortcutName) to file theFolder

Note that you use "file" even for a folder!

Den 29. mar. 2007 kl. 21:13 skrev Scott Rossi:


The docs say we have a create alias command.

Is it possible to create an alias to a folder?  (Rev 2.4, 2.7, 2.8)

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & 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: Slowing down speaking

2007-03-29 Thread Joe Lewis Wilkins

You're so great Sarah.
Thanks,
Joe Wilkins
On Mar 29, 2007, at 10:50 PM, Sarah Reichelt wrote:


Is there any way to  slow down the speaking of text?


revSetSpeechSpeed wordsPerMinute

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: Slowing down speaking

2007-03-29 Thread Sarah Reichelt

Is there any way to  slow down the speaking of text?


revSetSpeechSpeed wordsPerMinute

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


Slowing down speaking

2007-03-29 Thread Joe Lewis Wilkins

Hi all,

Is there any way to  slow down the speaking of text?

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


From Planet Bizarre!

2007-03-29 Thread Sivakatirswami

Can't resist sharing this one.

Imagine the day when one program start clobbering another?
It should never happen, right?

Well it happened yesterday to one of my users who had ATRA open in the 
background

(9 years old and still doing well, Audio Transcriber.rev)

She was surfing in Safari and a pop up window inserted an image into the 
player object
on the ATRA interface that is normally never more than a controller bar 
for MP3's


This user is a super "naive" computer user (still trying to figure out 
how to send attachments
by email.)  But she really gets the work out when things are 
working...So I'm

pretty patient to solve any problem she may have..

Anyway, I just did not believe her... told her to reboot and open ATRA 
again...


Viola... there it was... from Planet Bizarre:

http://www.himalayanacademy.com/runrev/images/BrowserPokesRevPlayer.png

The Safari poked the player object in Rev with imagedata!
Javascript playing at interprocess? Any rect in vram he can find to inhabit?

Scary if you think what such gremlins
might do if it someone on the dark side
understood the underlying mechanisms.

Sivakatirswami

___
use-revolution mailing list
use-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: SOLUTION: Anyone here still trying to run applescript from CGI?

2007-03-29 Thread Andre Garzia

Mark,

I just checked here:

MacBook:/Library/WebServer/Documents/Testing soapdog$ otool -L /usr/ 
sbin/suexec

/usr/sbin/suexec:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0,  
current version 88.3.6)


suexec is not linking against any library that might be changed. I  
think it is safe...


cheers
Andre

On Mar 30, 2007, at 12:23 AM, Mark Wieder wrote:


Andre-

This is great. Just great. Do you know if this would break if the gcc
library dependencies changed? Been through that already trying to get
cgi access in linux...

--
-Mark Wieder
 [EMAIL PROTECTED]

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

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


___
use-revolution mailing list
use-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: exportscripts.rev

2007-03-29 Thread Mark Wieder
Jim-

Thursday, March 29, 2007, 3:51:44 PM, you wrote:

> put "(?Ui).*(clientName)$" into regEx
> put replaceText(formLetter,regEx, tClientName) into letterToSend

...nice...

> I can search for all the ways I have used "regEx" in my scripts.  Wish I
> would have started doing this 2 years ago when I did some heavy regEx stuff.
> Ah, well, someday..

Hindsight is wonderful, ain't it?

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: exportscripts.rev

2007-03-29 Thread Kay C Lan

On 3/30/07, Jerry Daniels <[EMAIL PROTECTED]> wrote:


If you value your time and your sanity, you might give Galaxy a test
drive:



Jerry, can you confirm that if I want to do a 'replace all' of a term in
EVERY occurrence within a stack and it's substacks, I have to turn Galaxy
Off and use the Rev IDE Find and Replace?


As usual, I'm probably missing the bleeding obvious.
___
use-revolution mailing list
use-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: SOLUTION: Anyone here still trying to run applescript from CGI?

2007-03-29 Thread Mark Wieder
Andre-

This is great. Just great. Do you know if this would break if the gcc
library dependencies changed? Been through that already trying to get
cgi access in linux...

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: exportscripts.rev - Correction

2007-03-29 Thread Kay C Lan

On 3/30/07, Trevor DeVore <[EMAIL PROTECTED]> wrote:


You are probably on an Intel machine.  I had to recompile and modify
the code a bit to work with the modified language code glue that
BareBones introduced with Intel support.  I can send it to you if you
email me off-list.  Someday my site will be updated.  I'm just not
sure when.



Jacque sent me this, I think you were busy with a new baby (probably more so
now), but I just wanted to say thanks, and when next you're fiddling with it
I notice 'case' doesn't colourize as it should.

Thanks again.
___
use-revolution mailing list
use-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: trying to replace perl cgi with rev

2007-03-29 Thread Richard Gaskin

Jim Ault wrote:


Actually, Ftp open/save is built into BBEdit  [ ver 8.2.6 on OSX 10.4.7 ]


Rev has built-in FTP too. :)

I made a little stack with buttons for my scripts, so editing them gives 
me the auto-formatting I enjoy.  Added a button to upload them to the 
server, and some others to test it -- all in one convenient stack.  Took 
just a few minutes to toss together.


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: trying to replace perl cgi with rev

2007-03-29 Thread wayne durden

Thanks Andre!  I have grabbed it and will likely explore it a good bit
tomorrow afternoon.  I have a handful of perl scripts I would like to
migrate and unify and this might be a helpful way to do it!

I wish you all the best and hope all goes well!

Wayne


On 3/29/07, Andre Garzia <[EMAIL PROTECTED]> wrote:


Wayne,

my server has crashed for some weird reason, so I disabled it's
fastCGI support, meaning, my page is down, but the server is running
and you can fetch your file at:

http://andregarzia.com/RevHTTP.zip

Cheers
andre


On Mar 29, 2007, at 10:29 PM, wayne durden wrote:

> I don't know if the Rev community can afford to let you go back to
> school
> Andre :)
>
> I am reading posts and info about revonrockets from revconwest, and
> I am
> looking forward to giving this a go!
>
> Wayne
>
>
> On 3/29/07, Andre Garzia <[EMAIL PROTECTED]> wrote:
>>
>> damn, my server is crashing!!!
>>
>> allow me ten minutes to put it back up
>>
>> andre
>>
>> On Mar 29, 2007, at 10:19 PM, wayne durden wrote:
>>
>> > Hi Andre:
>> >
>> > I am interested but the link I found on the web to it was offline?
>> > could
>> > you post where it's available?
>> >
>> >
>> >
>> > On 3/29/07, Andre Garzia <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Anyone doing CGI work with Rev could use my RevHTTP suite that
>> allows
>> >> you to debug CGIs from inside the Revolution IDE, this way, you'll
>> >> only upload your cgi when you're positive it works...
>> >>
>> >> It's really a time saver, setting breakpoints in CGI and stepping
>> >> thru.
>> >>
>> >> On Mar 29, 2007, at 9:34 PM, J. Landman Gay wrote:
>> >>
>> >> > wayne durden wrote:
>> >> >
>> >> >> I swear sometimes I believe I am net more productive saving the
>> >> >> script one
>> >> >> line at a time for any change and ftp'ing it up and testing, no
>> >> >> matter how
>> >> >> small the change.
>> >> >
>> >> > Actually, I do that a lot. :)
>> >> >
>> >> > For those on a Mac, I highly recommend BBEdit and Fetch for cgi
>> >> > work. Fetch allows you to edit a file directly on the server; it
>> >> > opens the file with BBEdit and when you save your changes in
>> >> > BBEdit, they become live immediately. It avoids the whole
>> download/
>> >> > edit/re-upload cycle. There may be other FTP programs that
>> interact
>> >> > with BBEdit the same way, I just happen to own Fetch.
>> >> >
>> >> > If there are similar programs for Windows, maybe someone
>> knows and
>> >> > will tell us.
>> >> >
>> >> > --
>> >> > Jacqueline Landman Gay | [EMAIL PROTECTED]
>> >> > HyperActive Software   | http://
>> www.hyperactivesw.com
>> >> > ___
>> >> > use-revolution mailing list
>> >> > use-revolution@lists.runrev.com
>> >> > Please visit this url to subscribe, unsubscribe and manage your
>> >> > subscription preferences:
>> >> > http://lists.runrev.com/mailman/listinfo/use-revolution
>> >>
>> >> ___
>> >> use-revolution mailing list
>> >> use-revolution@lists.runrev.com
>> >> Please visit this url to subscribe, unsubscribe and manage your
>> >> subscription preferences:
>> >> http://lists.runrev.com/mailman/listinfo/use-revolution
>> >>
>> > ___
>> > use-revolution mailing list
>> > use-revolution@lists.runrev.com
>> > Please visit this url to subscribe, unsubscribe and manage your
>> > subscription preferences:
>> > http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>> ___
>> use-revolution mailing list
>> use-revolution@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


___
use-revolution mailing list
use-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: trying to replace perl cgi with rev

2007-03-29 Thread Andre Garzia

Wayne,

my server has crashed for some weird reason, so I disabled it's  
fastCGI support, meaning, my page is down, but the server is running  
and you can fetch your file at:


http://andregarzia.com/RevHTTP.zip

Cheers
andre


On Mar 29, 2007, at 10:29 PM, wayne durden wrote:

I don't know if the Rev community can afford to let you go back to  
school

Andre :)

I am reading posts and info about revonrockets from revconwest, and  
I am

looking forward to giving this a go!

Wayne


On 3/29/07, Andre Garzia <[EMAIL PROTECTED]> wrote:


damn, my server is crashing!!!

allow me ten minutes to put it back up

andre

On Mar 29, 2007, at 10:19 PM, wayne durden wrote:

> Hi Andre:
>
> I am interested but the link I found on the web to it was offline?
> could
> you post where it's available?
>
>
>
> On 3/29/07, Andre Garzia <[EMAIL PROTECTED]> wrote:
>>
>> Anyone doing CGI work with Rev could use my RevHTTP suite that  
allows

>> you to debug CGIs from inside the Revolution IDE, this way, you'll
>> only upload your cgi when you're positive it works...
>>
>> It's really a time saver, setting breakpoints in CGI and stepping
>> thru.
>>
>> On Mar 29, 2007, at 9:34 PM, J. Landman Gay wrote:
>>
>> > wayne durden wrote:
>> >
>> >> I swear sometimes I believe I am net more productive saving the
>> >> script one
>> >> line at a time for any change and ftp'ing it up and testing, no
>> >> matter how
>> >> small the change.
>> >
>> > Actually, I do that a lot. :)
>> >
>> > For those on a Mac, I highly recommend BBEdit and Fetch for cgi
>> > work. Fetch allows you to edit a file directly on the server; it
>> > opens the file with BBEdit and when you save your changes in
>> > BBEdit, they become live immediately. It avoids the whole  
download/
>> > edit/re-upload cycle. There may be other FTP programs that  
interact

>> > with BBEdit the same way, I just happen to own Fetch.
>> >
>> > If there are similar programs for Windows, maybe someone  
knows and

>> > will tell us.
>> >
>> > --
>> > Jacqueline Landman Gay | [EMAIL PROTECTED]
>> > HyperActive Software   | http:// 
www.hyperactivesw.com

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

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


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

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


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


Re: Newbie Question

2007-03-29 Thread Kay C Lan

On 3/28/07, Simon HARPER <[EMAIL PROTECTED]> wrote:


Regarding the online dictionary, it seems to be different on the mac
- the tutorials suggest you can use a drill down approach looking for
say messages or commands and then locating the one you want
(serendipitous browse) however on my mac I seem to only be presented
with just a huge list and expected to know the name of the command I
want (targeted search). Is there anyway to get the browse facility?



Just to point a couple of things out about the A-Z dictionary you may not
know.

When first opened you are given all the keywords in alphabetical order,
which as you say for a new user can be a next to useless. As with any good
table, if you click on the column headers the list will be sorted, so by
clicking on Type you can get all the Commands or Functions listed together.
Clicking again will sort in reverse order. Additionally you can change which
columns are displayed by (on Mac) clicking on any column header with the
'ctrl' key pressed - note, unlike most contextual menus in this case you
need to release the mouse so a mouseUp message is sent. Columns I find
useful are Type, Syntax, Synonyms and Library. Library is good because you
can get all the Database, XML etc commands/functions/properties listed
together.

Lastly, remember to look at the "See Also:" for each entry. These are
hyperlinked to their appropriate entry so when you do a 'basic' search for
'sort' or 'repeat' you may get an See Also link that refers more
specifically with what you had in mind.

HTH
___
use-revolution mailing list
use-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: trying to replace perl cgi with rev

2007-03-29 Thread wayne durden

I don't know if the Rev community can afford to let you go back to school
Andre :)

I am reading posts and info about revonrockets from revconwest, and I am
looking forward to giving this a go!

Wayne


On 3/29/07, Andre Garzia <[EMAIL PROTECTED]> wrote:


damn, my server is crashing!!!

allow me ten minutes to put it back up

andre

On Mar 29, 2007, at 10:19 PM, wayne durden wrote:

> Hi Andre:
>
> I am interested but the link I found on the web to it was offline?
> could
> you post where it's available?
>
>
>
> On 3/29/07, Andre Garzia <[EMAIL PROTECTED]> wrote:
>>
>> Anyone doing CGI work with Rev could use my RevHTTP suite that allows
>> you to debug CGIs from inside the Revolution IDE, this way, you'll
>> only upload your cgi when you're positive it works...
>>
>> It's really a time saver, setting breakpoints in CGI and stepping
>> thru.
>>
>> On Mar 29, 2007, at 9:34 PM, J. Landman Gay wrote:
>>
>> > wayne durden wrote:
>> >
>> >> I swear sometimes I believe I am net more productive saving the
>> >> script one
>> >> line at a time for any change and ftp'ing it up and testing, no
>> >> matter how
>> >> small the change.
>> >
>> > Actually, I do that a lot. :)
>> >
>> > For those on a Mac, I highly recommend BBEdit and Fetch for cgi
>> > work. Fetch allows you to edit a file directly on the server; it
>> > opens the file with BBEdit and when you save your changes in
>> > BBEdit, they become live immediately. It avoids the whole download/
>> > edit/re-upload cycle. There may be other FTP programs that interact
>> > with BBEdit the same way, I just happen to own Fetch.
>> >
>> > If there are similar programs for Windows, maybe someone knows and
>> > will tell us.
>> >
>> > --
>> > Jacqueline Landman Gay | [EMAIL PROTECTED]
>> > HyperActive Software   | http://www.hyperactivesw.com
>> > ___
>> > use-revolution mailing list
>> > use-revolution@lists.runrev.com
>> > Please visit this url to subscribe, unsubscribe and manage your
>> > subscription preferences:
>> > http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>> ___
>> use-revolution mailing list
>> use-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: trying to replace perl cgi with rev

2007-03-29 Thread Andre Garzia

damn, my server is crashing!!!

allow me ten minutes to put it back up

andre

On Mar 29, 2007, at 10:19 PM, wayne durden wrote:


Hi Andre:

I am interested but the link I found on the web to it was offline?   
could

you post where it's available?



On 3/29/07, Andre Garzia <[EMAIL PROTECTED]> wrote:


Anyone doing CGI work with Rev could use my RevHTTP suite that allows
you to debug CGIs from inside the Revolution IDE, this way, you'll
only upload your cgi when you're positive it works...

It's really a time saver, setting breakpoints in CGI and stepping  
thru.


On Mar 29, 2007, at 9:34 PM, J. Landman Gay wrote:

> wayne durden wrote:
>
>> I swear sometimes I believe I am net more productive saving the
>> script one
>> line at a time for any change and ftp'ing it up and testing, no
>> matter how
>> small the change.
>
> Actually, I do that a lot. :)
>
> For those on a Mac, I highly recommend BBEdit and Fetch for cgi
> work. Fetch allows you to edit a file directly on the server; it
> opens the file with BBEdit and when you save your changes in
> BBEdit, they become live immediately. It avoids the whole download/
> edit/re-upload cycle. There may be other FTP programs that interact
> with BBEdit the same way, I just happen to own Fetch.
>
> If there are similar programs for Windows, maybe someone knows and
> will tell us.
>
> --
> Jacqueline Landman Gay | [EMAIL PROTECTED]
> HyperActive Software   | http://www.hyperactivesw.com
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-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: trying to replace perl cgi with rev

2007-03-29 Thread wayne durden

Hi Andre:

I am interested but the link I found on the web to it was offline?  could
you post where it's available?



On 3/29/07, Andre Garzia <[EMAIL PROTECTED]> wrote:


Anyone doing CGI work with Rev could use my RevHTTP suite that allows
you to debug CGIs from inside the Revolution IDE, this way, you'll
only upload your cgi when you're positive it works...

It's really a time saver, setting breakpoints in CGI and stepping thru.

On Mar 29, 2007, at 9:34 PM, J. Landman Gay wrote:

> wayne durden wrote:
>
>> I swear sometimes I believe I am net more productive saving the
>> script one
>> line at a time for any change and ftp'ing it up and testing, no
>> matter how
>> small the change.
>
> Actually, I do that a lot. :)
>
> For those on a Mac, I highly recommend BBEdit and Fetch for cgi
> work. Fetch allows you to edit a file directly on the server; it
> opens the file with BBEdit and when you save your changes in
> BBEdit, they become live immediately. It avoids the whole download/
> edit/re-upload cycle. There may be other FTP programs that interact
> with BBEdit the same way, I just happen to own Fetch.
>
> If there are similar programs for Windows, maybe someone knows and
> will tell us.
>
> --
> Jacqueline Landman Gay | [EMAIL PROTECTED]
> HyperActive Software   | http://www.hyperactivesw.com
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-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: trying to replace perl cgi with rev

2007-03-29 Thread Andre Garzia
Anyone doing CGI work with Rev could use my RevHTTP suite that allows  
you to debug CGIs from inside the Revolution IDE, this way, you'll  
only upload your cgi when you're positive it works...


It's really a time saver, setting breakpoints in CGI and stepping thru.

On Mar 29, 2007, at 9:34 PM, J. Landman Gay wrote:


wayne durden wrote:

I swear sometimes I believe I am net more productive saving the  
script one
line at a time for any change and ftp'ing it up and testing, no  
matter how

small the change.


Actually, I do that a lot. :)

For those on a Mac, I highly recommend BBEdit and Fetch for cgi  
work. Fetch allows you to edit a file directly on the server; it  
opens the file with BBEdit and when you save your changes in  
BBEdit, they become live immediately. It avoids the whole download/ 
edit/re-upload cycle. There may be other FTP programs that interact  
with BBEdit the same way, I just happen to own Fetch.


If there are similar programs for Windows, maybe someone knows and  
will tell us.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

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


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


SOLUTION: Anyone here still trying to run applescript from CGI?

2007-03-29 Thread Andre Garzia

Hello Folks,

every once in a while, people here ask about "How to run applescript  
from CGI", this is specially cumbersome since we're locked with the  
Darwin engine which has no alternateLanguages support. I know that  
me, Kee, Mark Smith and Gary Thompson were looking for such solution  
for some time. I finally was able to do it. It is not straight  
forward and it requires compiling C stuff and the like... but it  
works very fine once it's done.


For the purpose of this email, I'll first talk about how it works and  
then explain on how to implement it.


~
THE WAY IT WORKS
~

1) Browser requests a Revolution CGI.
2) Revolution CGI does its stuff and output a file with the  
applescript to be executed.
3) Revolution CGI executes the file using shell() and the following  
command "osascript "

4) Revolution CGI picks the result from shell() and uses it.
5) Revolution CGI respond to browser.

osascript is a command line tool that executes applescript from the  
terminal. It comes bundled with Mac OS X and it is very nice. So what  
is the problem?! Well the Apache Server is running as user www in Mac  
OS X in a separate universe from the rest of Mac OS X, osascript  
needs to access the windowserver to run (windowserver is the shiny  
thing), the user www can't access such part of the system so calling  
osascript from cgi fails unless we're able to execute osascript as  
another user such as the user that is logged in the machine.


I think that everyone trying to use applescript from CGI is trying to  
query or control some running application, this application is  
running as the logged user, so osascript needs to run like that user.


~~
THE HARD PATH TO APPLESCRIPT
~~

To execute osascript as another user we need Apache suEXEC which is  
an apache gizmo that does just that, execute apps as another user so  
we can make cgis and ssi run as some other guy instead of www. The  
problem is, having a generic suEXEC would be a security breach, so  
you set its configuration during compile time locking it to some  
folders and permissions so that for example, no one is able to run  
your suEXEC as ROOT and hack your machine. To compile suEXEC you need  
to fetch the source for all the apache server and build it, yes, you  
need to compile the whole apache server just to fetch that little  
suEXEC binary from it and put it onto your bundled-with apache. The  
whole compilation of apache on my macbook takes like 1 minute and a  
half, no thats not too painful.


First check what is your apache version with:

httpd -v

then go to apache project homepage and fetch the source to that same  
version. put it somewhere safe and decompress it. Configure apache  
for suEXEC with the following big one line command.


./configure --enable-suexec --suexec-caller=www --suexec-docroot=/ 
Users  --suexec-userdir=Sites --suexec-gidmin=20 --suexec-logfile=/ 
var/log/httpd/suEXEC_log


This will configure apache telling it to enable suEXEC and the  
following things:
	* it will tell that the user that runs apache is www (default on mac  
os x)
	* it will set the root folder for suEXEC to /Users (I'll explain why  
that later, but it is to run as a diferent user)
	* it will set the default folder to "Sites" (Remember that Sites  
folder in you home folder, so we will need that later)

* it sets a logfile and a GID.

after executing that command to configure apache, you need to build  
it, you do that by doing:


make

You know you need Apple Developer Tools for all this to work for you  
need gcc & friends for building any unix stuff, so if you're trying  
to compile something and you can't chances are that you don't have  
the Developer tools installed, go to apple developer site and fetch  
it, its a 1gb download to XCode, GCC, D-Trace and all the nice C  
things we pray everynight to stay away from us.


After doing the "make" you'll have all the binaries you need. Apache  
will detect the presence of "suEXEC" if it is placed on /usr/bin so  
you just need:


sudo cp src/support/suexec /usr/sbin/
sudo chmod u+s /usr/sbin/suexec

remeber that this path is relative to the apache path. You need to be  
the super user to copy that file to that place, then you set the  
permissions to suEXEC. If this is done right you just need to restart  
apache and check the log file


sudo apachectl stop
sudo apachectl start
cat /var/log/httpd/error_log

you'll see a line like:

[Thu Mar 29 21:21:53 2007] [notice] suEXEC mechanism enabled  
(wrapper: /usr/sbin/suexec)


if everything worked. So now you got suEXEC running on your Apache  
Server... now what... you still need to tell the cgi to run osascript  
as some other guy. See you're usually trying to query some  
application that is running as some user account, the easiest way to  
run suEXEC is to place the cgi on that users "Sites" folder, this  
way, it will run as that user and 

Re: trying to replace perl cgi with rev

2007-03-29 Thread Martin Baxter

J. Landman Gay wrote:

wayne durden wrote:

I swear sometimes I believe I am net more productive saving the script 
one
line at a time for any change and ftp'ing it up and testing, no matter 
how

small the change.


Actually, I do that a lot. :)

For those on a Mac, I highly recommend BBEdit and Fetch for cgi work. 
Fetch allows you to edit a file directly on the server; it opens the 
file with BBEdit and when you save your changes in BBEdit, they become 
live immediately. It avoids the whole download/edit/re-upload cycle. 
There may be other FTP programs that interact with BBEdit the same way, 
I just happen to own Fetch.


If there are similar programs for Windows, maybe someone knows and will 
tell us.




UltraEdit is one, - has built in ftp, sftp, ssh ...



Martin Baxter
___
use-revolution mailing list
use-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: trying to replace perl cgi with rev

2007-03-29 Thread Jim Ault
On 3/29/07 5:34 PM, "J. Landman Gay" <[EMAIL PROTECTED]> wrote:

> wayne durden wrote:
> 
>> I swear sometimes I believe I am net more productive saving the script one
>> line at a time for any change and ftp'ing it up and testing, no matter how
>> small the change.
> 
> Actually, I do that a lot. :)
> 
> For those on a Mac, I highly recommend BBEdit and Fetch for cgi work.
> Fetch allows you to edit a file directly on the server; it opens the
> file with BBEdit and when you save your changes in BBEdit, they become
> live immediately. It avoids the whole download/edit/re-upload cycle.
> There may be other FTP programs that interact with BBEdit the same way,
> I just happen to own Fetch.
> 
> If there are similar programs for Windows, maybe someone knows and will
> tell us. 

Actually, Ftp open/save is built into BBEdit  [ ver 8.2.6 on OSX 10.4.7 ]
In the file menu:
Open from Ftp folder...
Save to Ftp folder
Save copy to Ftp folder...

You can setup all of your ftp folders and manage the site within BBEdit.

Check out the scripts menu:
Change the default web site
Open site Local Folder...
Make new personal web site

The search and replace will work across server folders since you can make a
list of folders at any URL, then unleash the BBEdit tool of your choice.

You can even preview in BBEdit multiple .html docs (see the Markup menu)
that will dynamically update as you type or paste code (don't have to save
to see the effect, just keep making changes, and it keeps updating), then
save to the server.

Jim Ault
Las Vegas





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


Re: Newbie Question

2007-03-29 Thread J. Landman Gay

Martin Baxter wrote:

I determined, by testing, that on Linux (and I would assume - other 
Unixes as well) there appears to be an assumption that any text files 
you import already have LF line endings, so no conversion is done. On 
Mac and Windows the native line endings (for either platform) are 
automagically translated.


I just tried it and yes, it's still there. Thanks for pointing this out. 
I'll bugzilla it. Learn something every day.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: trying to replace perl cgi with rev

2007-03-29 Thread J. Landman Gay

wayne durden wrote:


I swear sometimes I believe I am net more productive saving the script one
line at a time for any change and ftp'ing it up and testing, no matter how
small the change.


Actually, I do that a lot. :)

For those on a Mac, I highly recommend BBEdit and Fetch for cgi work. 
Fetch allows you to edit a file directly on the server; it opens the 
file with BBEdit and when you save your changes in BBEdit, they become 
live immediately. It avoids the whole download/edit/re-upload cycle. 
There may be other FTP programs that interact with BBEdit the same way, 
I just happen to own Fetch.


If there are similar programs for Windows, maybe someone knows and will 
tell us.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Alias to Folder?

2007-03-29 Thread Mark Talluto


On Mar 29, 2007, at 12:13 PM, Scott Rossi wrote:


The docs say we have a create alias command.

Is it possible to create an alias to a folder?  (Rev 2.4, 2.7, 2.8)

Thanks & Regards,

Scott Rossi



After looking at this, I suppose the relevant part is:

 put "ln -s" && tSourceOfAlias && tAliasLoc into tCmd
 put shell (tCmd)


Mark Talluto
--
CANELA Software
http://www.canelasoftware.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: Alias to Folder?

2007-03-29 Thread Mark Talluto


On Mar 29, 2007, at 12:13 PM, Scott Rossi wrote:


The docs say we have a create alias command.

Is it possible to create an alias to a folder?  (Rev 2.4, 2.7, 2.8)

Thanks & Regards,

Scott Rossi



Hi Scott,

Here is a bit of code I use to create an alias to an app on Macs.   
Since apps are viewed as folders, maybe this can be used with little  
or no modification.


 --CREATE AN ALIAS FOR THE APPLICATION ON THE DESKTOP
repeat for each line thisLine in tFiles
put specialFolderPath("desktop") into tAliasLoc
put "/" & thisLine after tAliasLoc

--IF THE ALIAS ALREADY EXISTS THEN DELETE IT FIRST
--AS THE OLD ONE WILL BREAK THE INSTALLER
if there is a folder tAliasLoc then
revDeleteFolder tAliasLoc
end if

put specialFolderPath("desktop") into tAliasLoc
put "/" & quote & thisLine & quote after tAliasLoc
put tDestLoc into tSourceOfAlias
put "/" & quote & thisLine & ".app" & quote after  
tSourceOfAlias

put "ln -s" && tSourceOfAlias && tAliasLoc into tCmd
put shell (tCmd)
end repeat


Mark Talluto
--
CANELA Software
http://www.canelasoftware.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: Open A Windows Desktop Folder?

2007-03-29 Thread Scott Rossi
Recently, Ken Ray wrote:

>> on openFolder pPath
>>   replace "/" with "\" in pPath
>>   set the hideConsoleWindows to true
>>   get shell("explorer.exe /root,"& quote & pPath & quote)
>> end openFolder
> 
> You need to add "start" before your call:
> 
>get shell("start explorer.exe /root,"& quote & pPath & quote)

Bingo!  Thanks Ken!

> And now that I've found that, I'll go update the tip on my site...

Yeah, this currently works better than the .lnk technique as it works with
folders :-)

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & 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: trying to replace perl cgi with rev

2007-03-29 Thread wayne durden

Hi Jaqueline!

Thanks for your comments.  I actually waded in and put in the time today and
have solved this already.

CGI is particularly aggravating because it tends to involve multiple files
(the form posting page, the cgi script, any text files being used as flat
file databases, and any text files being used as templates for the returned
HTML pages).  It's maddening tracking the changes, getting them to the right
directories on the servers, etc.  And that's without worrying with the code
in the CGI script itself!

I actually did move things into a button in the ide and found a dropped end
if...:)   That was but one of a couple of items however !

I swear sometimes I believe I am net more productive saving the script one
line at a time for any change and ftp'ing it up and testing, no matter how
small the change.

One other note for others just going down the path of using rev for cgi
work; if you break your ftp connection while stepping through the cycle of
change, ftp up, test, etc.; when you reconnect, make SURE you navigate back
to the cgi-bin directory!  I lost a half of an hour commenting out lines,
ftp'ing up, and testing to no avail because after my reconnect I was sending
up the file to the wrong directory and was testing against the old unchanged
version! :)

Still, when all is sorted out, rev works like a charm for cgi stuff it
seems!

Thanks again for the suggestions Jaque!
___
use-revolution mailing list
use-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: Open A Windows Desktop Folder?

2007-03-29 Thread Ken Ray
On Thu, 29 Mar 2007 15:45:06 -0700, Scott Rossi wrote:

> on openFolder pPath
>   replace "/" with "\" in pPath
>   set the hideConsoleWindows to true
>   get shell("explorer.exe /root,"& quote & pPath & quote)
> end openFolder

You need to add "start" before your call:

   get shell("start explorer.exe /root,"& quote & pPath & quote)

And now that I've found that, I'll go update the tip on my site...

:-)

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Newbie Question

2007-03-29 Thread Martin Baxter

J. Landman Gay wrote:

Martin Baxter wrote:

Last I checked (admittedly quite a while ago) this was not true on 
Linux, just on Mac and Win. perhaps this has changed?
Anybody currently working on Linux know if RR can nowadays properly 
open mac or win text files and translate line-endings without scripted 
assistance?


There are certain instances where line endings are not translated. For 
example, if you open a file for binary read, or use the "binfile" form 
of the URL container, the original endings remain the same. When you had 
problems, were you using either of these methods?




This is opening the files as text - i.e. using file:. With binfile: data 
is unaffected on any platform as expected.


I determined, by testing, that on Linux (and I would assume - other 
Unixes as well) there appears to be an assumption that any text files 
you import already have LF line endings, so no conversion is done. On 
Mac and Windows the native line endings (for either platform) are 
automagically translated.


The logic behind this seems to be that on Mac and Win the native text 
file line endings need converting to the internal format, but on Linux 
they don't, as native files already are LF terminated. I concluded that 
the fact that you can move text files between mac and win without 
worrying about line endings may be an accident of the implementation 
rather than a deliberate intention.


Since I was writing an app to run on Mac & Win & Linux at the time, I 
got around this by re-writing my file I/O to always use binfile: and to 
manage the line endings myself by script.


But this was a surprise when I discovered it. My text file data had to 
be portable between the different platform versions and I had assumed, 
on the basis of Mac and Win experience, that RR would take care of this 
in the same way in Linux (i.e. would convert win and mac files when 
importing them). But when I actually moved a project from Win to Linux 
it turned up full of unexpected ascii 13s, which is when I investigated 
this.


This was a couple of years back now I suppose, version 2.1.2 I think. I 
haven't tried newer versions of RR on Linux. So although I suspect it's 
still the same, I don't really know.


Martin
___
use-revolution mailing list
use-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: exportscripts.rev

2007-03-29 Thread Jim Ault
On 3/29/07 2:45 PM, "Sarah Reichelt" <[EMAIL PROTECTED]> wrote:

>> What I found the most helpful is to be able to instantly search all
>> the scripts of every Rev project I've ever worked on without having
>> to open them.
>> 
>> (Opening them in Rev takes more time, and sometimes triggers openCard
>> and openStack scripts, and there are sometimes stack name conflicts,
>> especially with older versions of the same stack :-)
> 
> I agree, but opening a stack file in a text editor also works fine (so
> long as you don't save). Mixed in with all the binary junk, the
> scripts are all available in plain text form and can be compared or
> copied.

True, Sarah, but they are not labeled according to stack, object, and are
not in a time stamped file.

using the seconds as the first part of the name of text file holding the
scripts is one of the features I like most.   I can click the saveScript
plugin button, save both the stack and then the scripts; go forth and
explore reworking the code, knowing that the previous version is saved
separately as a time-stamped text file.  Basically a version history of your
scripts as often as you wish, then every so many weeks, purge the oldest
versions.  (Rev crashes don't affect these files)

The second best feature is being able to do a search across all the text
files in the folder, including a regular expressioin-type search.

In fact, since I always use the form of defining a variable "regEx"

put "(?Ui).*(clientName)$" into regEx
put replaceText(formLetter,regEx, tClientName) into letterToSend

I can search for all the ways I have used "regEx" in my scripts.  Wish I
would have started doing this 2 years ago when I did some heavy regEx stuff.
Ah, well, someday..

Jim Ault
Las Vegas


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


Re: Newbie Question

2007-03-29 Thread J. Landman Gay

Martin Baxter wrote:

Last I checked (admittedly quite a while ago) this was not true on 
Linux, just on Mac and Win. perhaps this has changed?
Anybody currently working on Linux know if RR can nowadays properly open 
mac or win text files and translate line-endings without scripted 
assistance?


There are certain instances where line endings are not translated. For 
example, if you open a file for binary read, or use the "binfile" form 
of the URL container, the original endings remain the same. When you had 
problems, were you using either of these methods?


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: trying to replace perl cgi with rev

2007-03-29 Thread J. Landman Gay

wayne durden wrote:


I am replacing perl cgi's and have found the process somewhat frustrating.
No matter how simple the tasks are, it seems there are an abundance of
places to make simple mistakes and very little feedback from the server
letting me know where I have goofed this time. 


The best way to get more info about the server error is to look at the 
server error logs. In many cases, you'll get two lines per error. One 
will be the generic error that you see in your browser (error 500, 
usually) and the other line, if you're lucky, is the Revolution script 
error from the Rev compiler. That line can give you a good clue.


If you aren't getting a Rev error, then the problem may not be in your 
script at all, but rather with the server interaction itself. Make sure 
your files have correct permissions and that line endings in your text 
files are Unix line endings. Those are the two most common causes for 
errors that aren't script-related.


Another good technique is to move your cgi script to a button in 
Revolution and run it there. You may have to make minor changes for it 
to work in the IDE, but that is the easiest way to check whether you're 
getting compiler errors.


Finally, you could post a sample here and see if anyone notices where a 
problem might be.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Open A Windows Desktop Folder?

2007-03-29 Thread Scott Rossi
More help needed ASAP... :-)

I've been trying to use the following script to open a Windows desktop
folder:

on openFolder pPath
  replace "/" with "\" in pPath
  set the hideConsoleWindows to true
  get shell("explorer.exe /root,"& quote & pPath & quote)
end openFolder

 This seems to work fine but also seems to be blocking in that my Rev app
appears to be non-responsive until the opened window is physically closed.

Any ideas how to get around this problem?

Rev 2.8, Vista (and eventually XP)

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & 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: exportscripts.rev

2007-03-29 Thread J. Landman Gay

Jim Ault wrote:

Just a few comments that I know about:


In Revolution script editor I can't print tabs

Yes, the tab key is used to run the 'reformat script' so you can only use
tabs after comments, if you paste from another editor.


If you go to Preferences -> Script Editor and turn off "auto format", 
you can type tabs into your scripts at will.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: exportscripts.rev

2007-03-29 Thread Sarah Reichelt

What I found the most helpful is to be able to instantly search all
the scripts of every Rev project I've ever worked on without having
to open them.

(Opening them in Rev takes more time, and sometimes triggers openCard
and openStack scripts, and there are sometimes stack name conflicts,
especially with older versions of the same stack :-)


I agree, but opening a stack file in a text editor also works fine (so
long as you don't save). Mixed in with all the binary junk, the
scripts are all available in plain text form and can be compared or
copied.

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: exportscripts.rev - Correction

2007-03-29 Thread Trevor DeVore

On Mar 29, 2007, at 1:50 PM, Devin Asay wrote:


Hey Ken,

Are you sure the BBedit Transcript language module still works? I  
tried installing both the one from your site and the one from  
Trevor's site. Neither of them showed up in BBedit as an available  
language. :-(


You are probably on an Intel machine.  I had to recompile and modify  
the code a bit to work with the modified language code glue that  
BareBones introduced with Intel support.  I can send it to you if you  
email me off-list.  Someday my site will be updated.  I'm just not  
sure when.


--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.com
[EMAIL PROTECTED]


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


Re: exportscripts.rev

2007-03-29 Thread Josh Mellicker


On Mar 28, 2007, at 11:31 PM, Richard Gaskin wrote:



What does one do with scripts outside of the IDE that can't be done  
directly in the IDE?



What I found the most helpful is to be able to instantly search all  
the scripts of every Rev project I've ever worked on without having  
to open them.


(Opening them in Rev takes more time, and sometimes triggers openCard  
and openStack scripts, and there are sometimes stack name conflicts,  
especially with older versions of the same stack :-)

___
use-revolution mailing list
use-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: exportscripts.rev - Correction

2007-03-29 Thread Devin Asay

Hey Ken,

Are you sure the BBedit Transcript language module still works? I  
tried installing both the one from your site and the one from  
Trevor's site. Neither of them showed up in BBedit as an available  
language. :-(


The stsXMLXMXLEditor  worked flawlessly, however. :-)

Devin

On Mar 29, 2007, at 2:18 PM, Ken Ray wrote:


On Thu, 29 Mar 2007 13:22:59 -0500, Ken Ray wrote:


On Thu, 29 Mar 2007 09:18:29 +0300 (FLE Daylight Time), Viktoras
Didziulis wrote:


Cool! But one may end with hundreds of files this way... What about
exporting to an xml along with properties of stacks, cards and  
objects? And
then its just one step towards importing back into Revolution  
ide ;-) Then
everyone could use "my favorite script editor" to edit Revolution  
scripts

without hassle :-)


Viktoras, have you checked out the stsXMLEditor yet?


Whoops! Sorry, that's sts*MLX*Editor... this has nothing to do with
XML...

http://www.sonsothunder.com/devres/revolution/downloads/ 
stsMLXEditor.htm



Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

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


Re: exportscripts.rev - Correction

2007-03-29 Thread Ken Ray
On Thu, 29 Mar 2007 13:22:59 -0500, Ken Ray wrote:

> On Thu, 29 Mar 2007 09:18:29 +0300 (FLE Daylight Time), Viktoras 
> Didziulis wrote:
> 
>> Cool! But one may end with hundreds of files this way... What about
>> exporting to an xml along with properties of stacks, cards and objects? And
>> then its just one step towards importing back into Revolution ide ;-) Then
>> everyone could use "my favorite script editor" to edit Revolution scripts
>> without hassle :-) 
> 
> Viktoras, have you checked out the stsXMLEditor yet? 

Whoops! Sorry, that's sts*MLX*Editor... this has nothing to do with 
XML...
  
http://www.sonsothunder.com/devres/revolution/downloads/stsMLXEditor.htm

:-)

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Alias to Folder?

2007-03-29 Thread Ken Ray
On Thu, 29 Mar 2007 12:13:11 -0700, Scott Rossi wrote:

> The docs say we have a create alias command.
> 
> Is it possible to create an alias to a folder?  (Rev 2.4, 2.7, 2.8)

Nope...

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

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Variable transfers Between Stacks and Sub-Stacks.

2007-03-29 Thread Trevor DeVore

On Mar 29, 2007, at 12:36 PM, Richmond Mathewson wrote:


"While there is nothing difficult about the example
you provide above,
I see a broadcasting system (like the one Dave has
talked about) as
making your code cleaner and easier to read."

Yes, you are completely right: however, I bet you
didn't think up your elegant and efficient version in
the 2 minutes it took me to think up my quick, dirty,
trench-warfare version.


No, I didn't.  That is why I used the quick, dirty, trench-warefare  
version prior to coming up with a broadcasting system I liked.



AND, my code is almost always
clunky and inefficient for one simple reason: I am an
educator who teaches EFL, so do not have hours and
days to fine tune very much.


Which is fine.  I was just attempting to elaborate on why some folks  
like using broadcasting.


--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.com
[EMAIL PROTECTED]


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


Re: Hiding a nonRev file in a Windows Standalone

2007-03-29 Thread Richard Gaskin

Bob Warren wrote:


http://www.altuit.com/webs/revCentral/Number6/default.htm  :

"You can now SuckUp a binary file, then SpitOut it."


And you can compress and even encrypt it:



--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Newbie Question

2007-03-29 Thread Martin Baxter

Devin Asay wrote:
Here are some of the "aha!" moments 
that helped me figure out Xtalk scripting.




Excellent post Devin,

IMO It should be distributed with all new and demo license keys

One minor picky point


Internally, all line delimiters are ASCII 10 (LF), but Rev automatically
translates to and from the OS native line delimiter when reading and writing
text files.


Last I checked (admittedly quite a while ago) this was not true on 
Linux, just on Mac and Win. perhaps this has changed?
Anybody currently working on Linux know if RR can nowadays properly open 
mac or win text files and translate line-endings without scripted 
assistance?


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


Variable transfers Between Stacks and Sub-Stacks.

2007-03-29 Thread Richmond Mathewson
"While there is nothing difficult about the example
you provide above,  
I see a broadcasting system (like the one Dave has
talked about) as  
making your code cleaner and easier to read."

Yes, you are completely right: however, I bet you
didn't think up your elegant and efficient version in
the 2 minutes it took me to think up my quick, dirty,
trench-warfare version. AND, my code is almost always
clunky and inefficient for one simple reason: I am an
educator who teaches EFL, so do not have hours and
days to fine tune very much.

Love and abuse from the trenches!   :)

Richmond Mathewson



A Thorn in the flesh is better than a failed Systems Development Life Cycle.




___ 
The all-new Yahoo! Mail goes wherever you go - free your email address from 
your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


revMail attachments question

2007-03-29 Thread Peter Alcibiades
Is it possible to use the revMail command so as to send not just an email, but 
the email with an attached file?

My app is doing backups of the data file on the local machine, but it would be 
really neat to be able to send a backup automatically by email to an offsite 
machine.  Save a lot of tooing and froing with usb sticks.

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


Alias to Folder?

2007-03-29 Thread Scott Rossi
The docs say we have a create alias command.

Is it possible to create an alias to a folder?  (Rev 2.4, 2.7, 2.8)

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & 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: exportscripts.rev

2007-03-29 Thread Ken Ray
On Thu, 29 Mar 2007 09:18:29 +0300 (FLE Daylight Time), Viktoras 
Didziulis wrote:

> Cool! But one may end with hundreds of files this way... What about
> exporting to an xml along with properties of stacks, cards and objects? And
> then its just one step towards importing back into Revolution ide ;-) Then
> everyone could use "my favorite script editor" to edit Revolution scripts
> without hassle :-) 

Viktoras, have you checked out the stsXMLEditor yet? It allows you to 
attach virtually any text editor to Revolution so that when you choose 
to edit a script from Rev, it opens in your text editor. Make a change 
and save it there, and when you return to Rev, the script for the 
object is updated. If you haven't checked it out already, here's the 
URL:

  
http://www.sonsothunder.com/devres/revolution/downloads/stsMLXEditor.htm

Comes with a small handful of add on modules for Mac and Windows 
editors to help get the colorization, indentation, etc. right in those 
text editors, and if you have your favorite and decide to make a module 
for that, let me know and I'll make it available!

Have fun,

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


[ANN] STS XML Library 2.0.4 Released

2007-03-29 Thread Ken Ray
A minor upgrade to the STS XML Library (2.0.4) was released today that 
fixed a few bugs, including a defect in the stsXML_DeleteNode command 
that would cause problems when deleting the last child node of a parent 
node. Additionally, a new version of the RSS Plugin (1.0.2) that fixed 
a few bugs related to the use of the Workshop utility inside the RSS 
Plugin user interface is also available.

For more information, see:

  http://www.sonsothunder.com/products/xmllib/xmllib.htm

Thanks!

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: exportscripts.rev

2007-03-29 Thread Devin Asay


On Mar 29, 2007, at 11:29 AM, Jim Ault wrote:


On Mar 29, 2007, at 9:22 AM, Jim Ault wrote:


In Revolution script editor I can't print tabs

Yes, the tab key is used to run the 'reformat script' so you can
only use
tabs after comments, if you paste from another editor.


Or just concatenate using the tab constant:

put "one" & tab & "two" & tab & "three" into tNums


Yes,but  I was thinking about the script editor allowing tabs to  
format the
scripts (indenting) like Flash.  It is funny when I switch to  
ActionScript

how often I hit the tab key after doing changes...  :-)


Ah, sorry. too fast reading I morning this am.

DNA

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

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


Re: exportscripts.rev

2007-03-29 Thread Jim Ault
> On Mar 29, 2007, at 9:22 AM, Jim Ault wrote:
> 
>>> In Revolution script editor I can't print tabs
>> Yes, the tab key is used to run the 'reformat script' so you can
>> only use
>> tabs after comments, if you paste from another editor.
> 
> Or just concatenate using the tab constant:
> 
> put "one" & tab & "two" & tab & "three" into tNums

Yes,but  I was thinking about the script editor allowing tabs to format the
scripts (indenting) like Flash.  It is funny when I switch to ActionScript
how often I hit the tab key after doing changes...  :-)

Jim Ault
Las Vegas


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


Re: exportscripts.rev

2007-03-29 Thread Devin Asay


On Mar 29, 2007, at 9:22 AM, Jim Ault wrote:


In Revolution script editor I can't print tabs
Yes, the tab key is used to run the 'reformat script' so you can  
only use

tabs after comments, if you paste from another editor.


Or just concatenate using the tab constant:

put "one" & tab & "two" & tab & "three" into tNums

Devin


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

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


Re: Tutorial Videos

2007-03-29 Thread Devin Asay


On Mar 29, 2007, at 9:21 AM, Richmond Mathewson wrote:


Thank you, Devin,

found them!

Now for my usual 'BUT':

I think they would be much easier viewing if the
background were set to black or, at least darker,
textured background - that wall of white makes my eyes
go funny.


What!?! You didn't get the free Video Tutorial Sunglasses with your  
copy of Rev? Better jump on tech support!


;-)

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

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


Re: Newbie Question

2007-03-29 Thread Joe Lewis Wilkins
Nice to know, since I'm sure I'll be getting into the image  
management issue before too long.


Thanks,

Joe Wilkins

On Mar 29, 2007, at 9:19 AM, Jim Ault wrote:


On 3/29/07 8:36 AM, "Joe Lewis Wilkins" <[EMAIL PROTECTED]> wrote:


Jim, it's the computers. Even HC is fast! (smile)

Joe Wilkins


Actually, the Rinaldi XCMDs and XCFNs are compiled to give HCard speed
boosts, and Rinaldi has noted that Rev is so fast you don't need  
most of

them for Rev.  His web page still has some that can boost Rev.

Rev is not fast for image mungering, for example.


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


Printing Crash

2007-03-29 Thread Dan Friedman
Greetings...

CRASH!  Anyone have any thoughts??

I have one field on a stack.
I have set the textFont of the field to ",Unicode".
I have pasted some Vietnamese text into this field.

The text looks perfect on screen.  I choose "Print", and CRASH!  Any
thoughts?

Mac OS 10.4.9
Rev 2.7.4 (and 2.8.0)

If you want to see for yourself, I have posted this stack on revOnline under
user "ClearVision".  Stack name "Unicode Printing".

I hope you see something I don't!!

Thanks in advance,
Dan


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


Re: Newbie Question

2007-03-29 Thread Jim Ault
On 3/29/07 8:36 AM, "Joe Lewis Wilkins" <[EMAIL PROTECTED]> wrote:

> Jim, it's the computers. Even HC is fast! (smile)
> 
> Joe Wilkins 

Actually, the Rinaldi XCMDs and XCFNs are compiled to give HCard speed
boosts, and Rinaldi has noted that Rev is so fast you don't need most of
them for Rev.  His web page still has some that can boost Rev.

Rev is not fast for image mungering, for example.

Jim Ault
Las Vegas

> 
> On Mar 29, 2007, at 8:27 AM, Jim Ault wrote:
> 
>> On 3/29/07 8:12 AM, "Devin Asay" <[EMAIL PROTECTED]> wrote:
>>> 
>>> Maybe others can share similar "Aha!" insights about the nature of
>>> the Rev scripting language.
>> 
>> Coming from the old Hypercard world, after 3 years I am still
>> getting used
>> to the fact that Rev can work through 100 lines of code in 2 blinks
>> of a
>> simm.  Amazingly fast.
>> 
>> Jim Ault
>> Las Vegas


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


Re: Variable transfers Between Stacks and Sub-Stacks.

2007-03-29 Thread Trevor DeVore

On Mar 29, 2007, at 8:42 AM, Richmond Mathewson wrote:


1. So let's have a merry drop-down button on the Main
Stack to change units.

2. on mouseUp
  the mouseLine
  if it is "inches" then
do FANCY CONVERSION ROUTINE NUMBER 999
  end if
 end mouseUp

where FANCY CONVERSION ROUTINE NUMBER 999 pushes all
the values contained in all the list fields on the
main stack and all the substacks through the required
algorithm to convert (say) millimetres to inches.


Hi Richmond (sorry, this somehow turned into a long post),

While there is nothing difficult about the example you provide above,  
I see a broadcasting system (like the one Dave has talked about) as  
making your code cleaner and easier to read.


The above example only changes the property in once place (as is  
common for many application preferences).  But there are some  
scenarios where you can change a property of an object from multiple  
locations.  For example, if I wanted to change the title of an image  
in an image cataloging application I might have a command like the  
following:


image_setProp theImageObject, "title", theNewTitle


-- Without Broadcasting --

Using your technique above you might then add a second call which  
updated the title of the image anywhere it appeared in the program  
(maybe in a thumbnail window and an editor window) so you end up with  
something like this anywhere you want to change the title:


image_setProp theImageObject, "title", theNewTitle
UpdateImageAnywhereItAppearsInProgram theStepControl


-- With Broadcasting --

Using broadcasting, you could register the thumbnail window and the  
editor window to receive messages whenever the "title" property of a  
image was updated using a handler that might be defined as follows:


object_addPropertyListener pObject, pProperties, pTargetObject, pMessage

And in practice might be called like this when a new image was created:

object_addPropertyListener theNewImageObject, "title", the long id of  
stack "ThumbnailViewer", "ImagePropertyUpdated"
object_addPropertyListener theNewImageObject, "title", the long id of  
stack "Editor", "ImagePropertyUpdated"


Now in my code I can just set the image title from anywhere I would  
like (using image_setProp) and I know that it will be updated  
everywhere in the program.  I don't have to remember to set the title  
and then call another function to update windows everywhere.



-- Implementing Broadcasting --

Some development environments, like Flash, have built-in broadcasting  
support.  Revolution does not so you end up having to create your own  
libraries to handle it.  While this is a little more effort at first  
to write the library it really pays off for folks who prefer the  
broadcasting approach.


For example, in the "image_setProp" handler (which can be used to set  
any number of properties) you would then have the following call near  
the end of it's definition which would handle broadcasting the  
changed property to any "listeners":


on image_setProp pControlReference, pProperty, pValue
## DO WHATEVER TO STORE PROPERTY


## BROADCAST PROPERTY CHANGE
object_broadcastPropertyChange pObject, pProperties
end image_setProp

In the end you are getting the same behavior.  I happen to think  
broadcasting is a cleaner way of approaching the problem and use that  
approach in my projects as well.



--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.com
[EMAIL PROTECTED]


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


Re: exportscripts.rev

2007-03-29 Thread Jerry Daniels
If you value your time and your sanity, you might give Galaxy a test  
drive:


http://www.daniels-mara.com/galaxy.htm
http://www.runrev.com/section/revselect/galaxy/index.php

I've been using tabbed browsing of object scripts and folders within  
handlers for a couple years. I have lots of objects and some long  
scripts in my projects. Without tabbed browsing in my editor and  
folders in my handler list, I would lose hours a day and not be the  
happy-go-lucky fellow that I am today.


Trevor DeVore has also put together some excellent lessons that drive  
these points home very well indeed. Here are a few links to some  
appropriate lessons:


http://www.daniels-mara.com/lessons/
http://www.daniels-mara.com/lessons/lessons/It_s_a_Tabs_Thing.html
http://www.daniels-mara.com/lessons/lessons/ 
Take_Me_To_Your_Handler.html
http://www.daniels-mara.com/lessons/lessons/ 
Order_I_Say,_Order_.html


And we are hard at work on and even sexier script editor. Check out  
the docs to it:


http://daniels-mara.com/GLX2/help/#step_2

And while we're plugging productivity tools...if you do documentation  
of your Rev projects/products, you owe it to yourself to check out  
ScreenSteps:


http://www.runrev.com/section/revselect/screensteps/index.php
http://www.bluemangolearningsystems.com/products/screensteps/

I use ScreenSteps for an amazing number of things--not just  
documentation.


http://daniels-mara.com/GLX2/help/archives/

Best,

Jerry Daniels

Makers of Galaxy 1.5
http://www.daniels-mara.com/new_in_galaxy_1_5.htm



On Mar 29, 2007, at 10:22 AM, Jim Ault wrote:


tabbed browsing in a single window

=> Galaxy by Jerry Daniels
or my method of putting almost every script in the stack script so all
handlers are in one container.


___
use-revolution mailing list
use-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: Hiding a nonRev file in a Windows Standalone

2007-03-29 Thread Bob Warren

Chipp wrote at

http://www.altuit.com/webs/revCentral/Number6/default.htm  :

"You can now SuckUp a binary file, then SpitOut it."


Definitely non-schismogenetic and therefore recommended!
It might even work in Linux too!

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: exportscripts.rev

2007-03-29 Thread Viktoras Didziulis
Thanks Jim! 
 
I did not notice and even did not bother to check this since my purchase
last year (oh my!) that an alternative Edit:Find and replace in main
Revolution menu is different from Find and replace in script editor. Thanks
for pointing to this ! 
 
Regards! 
Viktoras 
 
---Original Message--- 
 
From: Jim Ault 
Date: 03/29/07 18:23:04 
To: How to use Revolution 
Subject: Re: exportscripts.rev 
 
 
If a stack is the frontmost window, try Edit:Find and replace 
You have a powerful combination of options, including RegEx, targeting 
stacks, scripts, names, and more. Look at the drop downs for a few 
surprises. You can even remove lines from the hit listing so some items 
won't be included in the replace operation.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Variable transfers Between Stacks and Sub-Stacks.

2007-03-29 Thread Richmond Mathewson
"But how do you notify a "BOSS" that something has
changed?"

Oh, Dearie Me! here I am between a group of 7
year-olds ('before, after") and a group of adults
(first-conditional) and I see this . . .

being the fool I am, I rise to the bate:-

1. So let's have a merry drop-down button on the Main
Stack to change units.

2. on mouseUp
  the mouseLine
  if it is "inches" then
do FANCY CONVERSION ROUTINE NUMBER 999
  end if
 end mouseUp

where FANCY CONVERSION ROUTINE NUMBER 999 pushes all
the values contained in all the list fields on the
main stack and all the substacks through the required
algorithm to convert (say) millimetres to inches.

Dunno - seems easy to me.

sincerely, Richmond Mathewson



A Thorn in the flesh is better than a failed Systems Development Life Cycle.




___ 
Inbox full of unwanted email? Get leading protection and 1GB storage with All 
New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tutorial Videos

2007-03-29 Thread Dave

You sure that's the video's! lol

Just kidding!

All the Best
Dave

On 29 Mar 2007, at 16:21, Richmond Mathewson wrote:


Thank you, Devin,

found them!

Now for my usual 'BUT':

I think they would be much easier viewing if the
background were set to black or, at least darker,
textured background - that wall of white makes my eyes
go funny.

sincerely, Richmond Mathewson



A Thorn in the flesh is better than a failed Systems Development  
Life Cycle.




___
use-revolution mailing list
use-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: Newbie Question

2007-03-29 Thread Dave

H Simon,

I can really sympathize with you! I was in the same boat around three  
years ago. The documentation is not very good, especially if you are  
used to working in C/C++ where the "white" books are available.


The thing that really confused me and got me pulling my  hair out is  
the "all-in-one" concept behind RunRev, by that I mean there is no  
"initial" state in which you can get back to square one! By this I  
mean that if you (or a bug) sets the location of an Object way off  
the screen then it will stay there until you bring it back again. In  
C/C++ you start with a clean slate every time!


I've done a lot of moaning and complaining about the state of the  
documentation and silly bugs that have not been fixed for ages, but  
in the end RunRev really is the best thing on the market for RAD,  
especially when coupled with C/C++ external commands.


One of the main problems is when starting off is that you are faced  
with a *huge* system with lots of different ways of doing things and  
lots of sample stacks, all doing similar things using different  
techniques. It's really hard to sort out something that does the job  
for you and is extensible. Plenty of times I've invested time and  
effort in something that later I've found won't work 100% because  
something else "fights" it. The documentation could definitely be  
better in this respect.


Over the three years I've been using it, I have developed my own  
Framework and Message/Event Manager that help loads and make it a  
much more pleasant experience. I'd be happy to provide more  
information if you like. So, I think you are doing the right thing by  
sticking with it, it will take a while but one day you'll think -  
Wow! That's how to do it!


All the Best
Dave

On 29 Mar 2007, at 12:27, Simon HARPER wrote:

Hi there, and I do agree that, as a coder of 15 years, I would  
normally go on gut instinct. However, being used to c/c++, Java and  
Perl the Revolution Transcript syntax and expressions are not  
'natural' for me, as I'm trained to think in the more mathematical  
syntax of these grammars and not the more discursive grammar of  
Transcript. I'm sure I'll get it with persistence but I just think  
that coders moving over could really do with good documentation as  
it just is not intuitive for a people with experience of these  
other 'conventional' languages, IMO.


However, having said that I'm actually really enjoying learning it  
and am persisting because I can see long term benefits of using  
Revolution as a RAD tool. Having said this I've another question  
which I'll send as a separate email...


Cheers
Si.


Simon Harper
2.44 Kilburn Building
University of Manchester (UK)

Pri: [EMAIL PROTECTED]
Alt: [EMAIL PROTECTED]


On 29 Mar 2007, at 12:15, Richmond Mathewson wrote:


I beleive one of the main reasons RR does not spend a
lot of time and resources on updating documentation is
because a very large number of programmers don't read
the documentation in anything but a cursory manner -
relying on their intuition, their past experience and
their willingness ot "get their feet wet" instead.

When I was learning PASCAL (Durham, 1984) the standard
joke going around the computer labs was that the last
person to write a computer programming manual had had
a mausoleum constructed out of unsold copies.

I have yet to read a really user-friendly programming
manual as most computer-programmers who write manuals
do not seem to spend a lot of time on audience
research or the finer points of reader-response
theory.

The other reason why RR may not take their
documentation too seriously is that, in my experience,
the best manual I am aware of for Runtime Revolution
is this Use-List - it is dynamic, adaptive and
generally very friendly.

I am always happy, either on or off-list, to answer
the most basic Newbie questions:

geradamas at yahoo dot com

richmond at mail dot maclaunch dot com

There are many contributors to this list who can
answer both those basic ones, and more tricky ones, in
a way far better than I can.

sincerely, Richmond Mathewson



A Thorn in the flesh is better than a failed Systems Development  
Life Cycle.





___
Inbox full of unwanted email? Get leading protection and 1GB  
storage with All New Yahoo! Mail. http://uk.docs.yahoo.com/ 
nowyoucan.html

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

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


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

http://

Re: Newbie Question

2007-03-29 Thread Joe Lewis Wilkins

Jim, it's the computers. Even HC is fast! (smile)

Joe Wilkins

On Mar 29, 2007, at 8:27 AM, Jim Ault wrote:


On 3/29/07 8:12 AM, "Devin Asay" <[EMAIL PROTECTED]> wrote:


Maybe others can share similar "Aha!" insights about the nature of
the Rev scripting language.


Coming from the old Hypercard world, after 3 years I am still  
getting used
to the fact that Rev can work through 100 lines of code in 2 blinks  
of a

simm.  Amazingly fast.

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: Newbie Question

2007-03-29 Thread Joe Lewis Wilkins
Aha! So RR is just like HyperCard - except for custom properties and  
a few other querky things - as I knew all along. Thanks for the  
confirmation. No sarcasm intended. I'm serious!


Joe Wilkins

On Mar 29, 2007, at 8:12 AM, Devin Asay wrote:


On Mar 29, 2007, at 5:27 AM, Simon HARPER wrote:
Hi there, and I do agree that, as a coder of 15 years, I would  
normally go on gut instinct. However, being used to c/c++, Java  
and Perl the Revolution Transcript syntax and expressions are not  
'natural' for me, as I'm trained to think in the more mathematical  
syntax of these grammars and not the more discursive grammar of  
Transcript. I'm sure I'll get it with persistence but I just think  
that coders moving over could really do with good documentation as  
it just is not intuitive for a people with experience of these  
other 'conventional' languages, IMO.


Simon,

Richmond makes a good point, although I think it's an exaggeration  
to say RunRev don't take documentation seriously. What most  
developers, including myself, have discovered after a few weeks is  
that the structure of the Rev scripting language (AKA Transcript)  
is pretty consistent and therefore new things become easily  
discoverable once the structure "clicks" in your brain. Here are  
some of the "aha!" moments that helped me figure out Xtalk scripting.


Rev scripting and object naming is case-insensitive.

Variables are untyped.

= is a logical comparison operator, not an assignment operator.

almost all operators have both symbolic and verbose variants:
= - is
<> - is not
+ - add

To assign a value to a data container use
put  into  (not  = )

There are *lots* of synonyms; eg., the constant return = cr = lf =  
linefeed;


Internally, all line delimiters are ASCII 10 (LF), but Rev  
automatically translates to and from the OS native line delimiter  
when reading and writing text files.


The word 'the' is important; it means that what follows is a  
property or a revolution function
	the  of  : set the visible of btn 1 to not the  
visible of btn 1

the  of  : put the sqrt of 9 into myvar
But functions also have an "algebraic" form:
(): put sqrt(9) into myvar

Since Rev tries to be helpful, it's not picky about the use of  
'the' and will try make sense of a statement missing a 'the'. It  
usually succeeds.


Sometimes it's hard to tell the difference between properties and  
functions.

Corollary: the distinction usually doesn't matter.

You create variables by naming them in a statement.
put 100 into george

You create custom properties, which act just like built-in  
properties, by naming them in a statement:

set the squirrelCount of button "startSquirrels" to random(15)

Arrays are really lookup tables, indexed by key strings, not  
numerically.

put "squirrel" into cage["favoriteRodent"]
	put "squirrel" into cage[1] -- is the same as -- put "squirrel"  
into cage["1"]


Object references are verbose, Rev doesn't use dot notation:
button "mybtn" of card "mycard" of stack "mystack"

I apologize if these seem trivial or too basic. They are just  
things that "clicked" for me as I traveled along the xTalk path.


Maybe others can share similar "Aha!" insights about the nature of  
the Rev scripting language.


Regards,

Devin



On 29 Mar 2007, at 12:15, Richmond Mathewson wrote:


I beleive one of the main reasons RR does not spend a
lot of time and resources on updating documentation is
because a very large number of programmers don't read
the documentation in anything but a cursory manner -
relying on their intuition, their past experience and
their willingness ot "get their feet wet" instead.

When I was learning PASCAL (Durham, 1984) the standard
joke going around the computer labs was that the last
person to write a computer programming manual had had
a mausoleum constructed out of unsold copies.

I have yet to read a really user-friendly programming
manual as most computer-programmers who write manuals
do not seem to spend a lot of time on audience
research or the finer points of reader-response
theory.

The other reason why RR may not take their
documentation too seriously is that, in my experience,
the best manual I am aware of for Runtime Revolution
is this Use-List - it is dynamic, adaptive and
generally very friendly.



Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

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

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


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


Re: Newbie Question

2007-03-29 Thread Jim Ault
On 3/29/07 8:12 AM, "Devin Asay" <[EMAIL PROTECTED]> wrote:
> 
> Maybe others can share similar "Aha!" insights about the nature of
> the Rev scripting language.

Coming from the old Hypercard world, after 3 years I am still getting used
to the fact that Rev can work through 100 lines of code in 2 blinks of a
simm.  Amazingly fast.

Jim Ault
Las Vegas


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


Re: exportscripts.rev

2007-03-29 Thread Jim Ault
Just a few comments that I know about:

> In Revolution script editor I can't print tabs
Yes, the tab key is used to run the 'reformat script' so you can only use
tabs after comments, if you paste from another editor.


> find an replace using regular expressions,
If a stack is the frontmost window, try Edit:Find and replace
You have a powerful combination of options, including RegEx, targeting
stacks, scripts, names, and more.  Look at the drop downs for a few
surprises. You can even remove lines from the hit listing so some items
won't be included in the replace operation.

I know this is not the same way of using RegEx you are thinking of.  I copy
and paste the single script into BBEdit to do RegEx there.

>When pasting portions
> of script from formatted text outside RevIDE (web page, etc...), it does not
> adopt fonts to script's font settings and you have to adjust font sizes
> manually again and again, etc...
I use BBEdit on the Mac and this does not put formatted text onto the
clipboard, so pasting is plain text.  If you can copy 'as plain text' from
your editor, then the fonts will remain uniform.  The script editor window
is just a field in a good ol' Rev stack, so it behaves like a field.  you
could have a back script that does the following:
put the script of  into holder
set the script of  to empty
set the script of  to holder

>tabbed browsing in a single window
=> Galaxy by Jerry Daniels
or my method of putting almost every script in the stack script so all
handlers are in one container.

Most every button, field, scroll  has the same script
on mouseup
do the short name of me
end mouseup

on mousedown
do (the short name of me & "Down")
end mousedown
- stack script
on btnFelix
on btnFelixDown

Just more ideas as we all go down different paths.

Jim Ault
Las Vegas

On 3/29/07 1:45 AM, "Viktoras Didziulis" <[EMAIL PROTECTED]> wrote:

> It is just a matter of personal preference, an alternative way of editing in
> an environment the user is used to for his other scripting tools (like Perl,
> PHP, HTML/Javascript, SQL, XML, Fortran, whatever else). On MS Windows my
> personal preference is Crimson editor. I am too addicted to its tools,
> editing options, syntax hiliting, lower/upper case switching, text encoding,
> capitalizing or case invertions, find an replace using regular expressions,
> some other options like tabbed browsing in a single window instead of having
> multiple windows scattered all around the screen (one needs extended desktop
> to fit them all), etc... Its just because I had been using it for 5 years
> before I purchased Revolution and feel at home in that environment, and it
> comes at no cost at all...
>  
> In Revolution script editor I can't print tabs, find and replace phrases (e
> g. change names of globals) in ALL scripts of any stack with a single click
> (or is this option hidden somewhere?), find and replace using regular
> expressions, line numbering is absent (yes I know I can browse by handler,
> but it is just an option), standard shortcut keys and context menus not
> always behave as expected - e.g. on right click on a selected text Rev Ide
> opens documentation window instead of contextual menu. When pasting portions
> of script from formatted text outside RevIDE (web page, etc...), it does not
> adopt fonts to script's font settings and you have to adjust font sizes
> manually again and again, etc... I can imagine somebody else having
> completely different preferences, in fact many different preferences and
> tastes, so that's why I think one may need the scripts outside the
> Revolution IDE. 
>  
> All the best! 
> Viktoras 
>  
> ---Original Message---
>  
> From: Richard Gaskin
> Date: 03/29/07 09:31:31
> To: How to use Revolution
> Subject: Re: exportscripts.rev
>  
> Viktoras Didziulis wrote:
>> What about exporting to an xml along with properties of stacks,
>> cards and objects? And then its just one step towards importing
>> back into Revolution ide ;-)
>  
> What does one do with scripts outside of the IDE that can't be done
> directly in the IDE?
>  


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


Tutorial Videos

2007-03-29 Thread Richmond Mathewson
Thank you, Devin,

found them!

Now for my usual 'BUT':

I think they would be much easier viewing if the
background were set to black or, at least darker,
textured background - that wall of white makes my eyes
go funny.

sincerely, Richmond Mathewson



A Thorn in the flesh is better than a failed Systems Development Life Cycle.






___ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at 
the Yahoo! Mail Championships. Plus: play games and win prizes. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 
___
use-revolution mailing list
use-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: Newbie Question

2007-03-29 Thread Devin Asay

On Mar 29, 2007, at 5:27 AM, Simon HARPER wrote:
Hi there, and I do agree that, as a coder of 15 years, I would  
normally go on gut instinct. However, being used to c/c++, Java and  
Perl the Revolution Transcript syntax and expressions are not  
'natural' for me, as I'm trained to think in the more mathematical  
syntax of these grammars and not the more discursive grammar of  
Transcript. I'm sure I'll get it with persistence but I just think  
that coders moving over could really do with good documentation as  
it just is not intuitive for a people with experience of these  
other 'conventional' languages, IMO.


Simon,

Richmond makes a good point, although I think it's an exaggeration to  
say RunRev don't take documentation seriously. What most developers,  
including myself, have discovered after a few weeks is that the  
structure of the Rev scripting language (AKA Transcript) is pretty  
consistent and therefore new things become easily discoverable once  
the structure "clicks" in your brain. Here are some of the "aha!"  
moments that helped me figure out Xtalk scripting.


Rev scripting and object naming is case-insensitive.

Variables are untyped.

= is a logical comparison operator, not an assignment operator.

almost all operators have both symbolic and verbose variants:
= - is
<> - is not
+ - add

To assign a value to a data container use
put  into  (not  = )

There are *lots* of synonyms; eg., the constant return = cr = lf =  
linefeed;


Internally, all line delimiters are ASCII 10 (LF), but Rev  
automatically translates to and from the OS native line delimiter  
when reading and writing text files.


The word 'the' is important; it means that what follows is a property  
or a revolution function
	the  of  : set the visible of btn 1 to not the  
visible of btn 1

the  of  : put the sqrt of 9 into myvar
But functions also have an "algebraic" form:
(): put sqrt(9) into myvar

Since Rev tries to be helpful, it's not picky about the use of 'the'  
and will try make sense of a statement missing a 'the'. It usually  
succeeds.


Sometimes it's hard to tell the difference between properties and  
functions.

Corollary: the distinction usually doesn't matter.

You create variables by naming them in a statement.
put 100 into george

You create custom properties, which act just like built-in  
properties, by naming them in a statement:

set the squirrelCount of button "startSquirrels" to random(15)

Arrays are really lookup tables, indexed by key strings, not  
numerically.

put "squirrel" into cage["favoriteRodent"]
	put "squirrel" into cage[1] -- is the same as -- put "squirrel" into  
cage["1"]


Object references are verbose, Rev doesn't use dot notation:
button "mybtn" of card "mycard" of stack "mystack"

I apologize if these seem trivial or too basic. They are just things  
that "clicked" for me as I traveled along the xTalk path.


Maybe others can share similar "Aha!" insights about the nature of  
the Rev scripting language.


Regards,

Devin



On 29 Mar 2007, at 12:15, Richmond Mathewson wrote:


I beleive one of the main reasons RR does not spend a
lot of time and resources on updating documentation is
because a very large number of programmers don't read
the documentation in anything but a cursory manner -
relying on their intuition, their past experience and
their willingness ot "get their feet wet" instead.

When I was learning PASCAL (Durham, 1984) the standard
joke going around the computer labs was that the last
person to write a computer programming manual had had
a mausoleum constructed out of unsold copies.

I have yet to read a really user-friendly programming
manual as most computer-programmers who write manuals
do not seem to spend a lot of time on audience
research or the finer points of reader-response
theory.

The other reason why RR may not take their
documentation too seriously is that, in my experience,
the best manual I am aware of for Runtime Revolution
is this Use-List - it is dynamic, adaptive and
generally very friendly.



Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

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


Re: exportscripts.rev

2007-03-29 Thread Richard Gaskin

Viktoras Didziulis wrote:

In Revolution script editor I can't print tabs, find and replace phrases (e
g. change names of globals) in ALL scripts of any stack with a single click
(or is this option hidden somewhere?), find and replace using regular
expressions, line numbering is absent (yes I know I can browse by handler,
but it is just an option), standard shortcut keys and context menus not
always behave as expected - e.g. on right click on a selected text Rev Ide
opens documentation window instead of contextual menu. When pasting portions
of script from formatted text outside RevIDE (web page, etc...), it does not
adopt fonts to script's font settings and you have to adjust font sizes
manually again and again, etc... I can imagine somebody else having
completely different preferences, in fact many different preferences and
tastes, so that's why I think one may need the scripts outside the
Revolution IDE. 


I had thought Rev had an option to use an external editor.  That's been 
in MC since before Rev was born.


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tutorial Videos

2007-03-29 Thread Devin Asay

On Mar 29, 2007, at 5:05 AM, Richmond Mathewson wrote:


Does anyone know where the tutorial videos are cached
once they are downloaded?


As it happens, I was just looking at this yesterday. On my system  
(OSX) they are in ~/Documents/My Revolution/Resources/Video  
Tutorials. I would assume that they would be saved at a similar  
location appropriate to your OS.


Regards,

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

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


Re: Can't write in field ...

2007-03-29 Thread Dave


On 29 Mar 2007, at 06:39, Jim Ault wrote:

get the properties of fld 1
combine it using cr and tab
put it


Wow Jim! That's so cool! I didn't know you could do that!

Thanks a lot
All the Best
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: Can't write in field ...

2007-03-29 Thread Dave

Hi,

Sounds stupid, but is "lockText"  set on the Field? If unset it!

All the Best
Dave


On 29 Mar 2007, at 06:39, Ken Ray wrote:


On Thu, 29 Mar 2007 07:10:31 +0200, Jean-Pierre wrote:


I 'm sure that it was a stupid things but ...

I have made a programm for my son. Programm making fractal ...
All work fine but ...

I can't write in field. I can focus on it. I have the prompt but I
can't  input text  


Do you hae any code in the field that traps keyDown, rawKeyDown,  
keyUp,

or rawKeyUp? If so, check to see if you're doing a "pass" on the
message, otherwise nothing will show up in the field.

If not check to see if the lockText is on on the field - if so,  
turn it

off...

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

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


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


Re: Variable transfers Between Stacks and Sub-Stacks.

2007-03-29 Thread Dave

Hi,

But how do you notify a "BOSS" that something has changed? As an  
example:


I have a preference stack that hold the default way to display  
measurements (Inches, MM, CM or Pixels). Other stacks that display  
Measurement data use the setting to show how to display it. If I have  
a stack open that is displaying in MM in a number of fields and the  
user then changes the measurement to Inches I want all fields to  
change instantly to Inches. I do this using my ISM module by  
listening for a change of the Measurement Units. When the user  
changes the value, all objects that are "Listening" for a Measurement  
Changed Message get called and they update themselves accordingly.


All the Best
Dave


On 29 Mar 2007, at 14:13, Richmond Mathewson wrote:


Well . . .

the way I do it  ( is probably goofy and inefficient,
but it works ):

is pop all the variables into a list field on the
mainstack and then do something rather like this:

put fld "MAINSTACKVARHOLDER" of stack "BIGBOSS" into
fld "SUBSTACKVARHOLDER" of stack "SMALLBOSS"

where the names BIGBOSS and SMALLBOSS stand for the
main stack and substack respectively

obviously you can send data either way, or all over
the place, with this method.

sincerely, Richmond Mathewson



A Thorn in the flesh is better than a failed Systems Development  
Life Cycle.





___
What kind of emailer are you? Find out today - get a free analysis  
of your email personality. Take the quiz at the Yahoo! Mail  
Championship.

http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk
___
use-revolution mailing list
use-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


Variable transfers Between Stacks and Sub-Stacks.

2007-03-29 Thread Richmond Mathewson
Well . . .

the way I do it  ( is probably goofy and inefficient,
but it works ):

is pop all the variables into a list field on the
mainstack and then do something rather like this:

put fld "MAINSTACKVARHOLDER" of stack "BIGBOSS" into
fld "SUBSTACKVARHOLDER" of stack "SMALLBOSS"

where the names BIGBOSS and SMALLBOSS stand for the
main stack and substack respectively

obviously you can send data either way, or all over
the place, with this method.

sincerely, Richmond Mathewson



A Thorn in the flesh is better than a failed Systems Development Life Cycle.




___ 
What kind of emailer are you? Find out today - get a free analysis of your 
email personality. Take the quiz at the Yahoo! Mail Championship. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 
___
use-revolution mailing list
use-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: Variable transfers Between Stacks and Sub-Stacks.

2007-03-29 Thread Dave

Hi,

I've written my own Message/Event Handling system which solves this  
problem plus a whole lot more.


Basically it works like this:

You have one stack that is the repository for all "Inter/Intra-Stack"  
data - Call it "DataManager". The other stacks (Call then "StackA"  
and "StackB"  gain access to the DataManager via the start using  
stack "DataManager" statement. There are then (at a minimum) two  
functions in the "DataManager" - "GetData" and "PutData".


The "PutData" and "GetData" functions take the form:

function PutData theKey,theData

-- Store "theData" using "theKey" in a Custom Property Set (Array) of  
the "DataManager" stack.


end PutData

function GetData theKey

-- Retreive "theData" using "theKey" from a Custom Property Set  
(Array) of the "DataManager" stack.


return theData
end GetData

Using this method there is no need for an additional external file  
and it can be used in lots of different projects. Also since the data  
is de-coupled from the Stacks that use it, whole stacks (or objects  
within Stacks) can be re-used in different projects.


This is the basic technique, in order handle all requirements  
(Setting Factory Defaults and Dynamically updating values), you have  
to build on this.


My ISM (Inter Stack Manager) module handles all this and a whole lot  
more. In order to do this it keeps a list of objects that are  
"Listening" for data of a certain "Key" and sends the data to a  
handler when it is changed. Using this method allows you to cut and  
paste objects (including Groups) from one stack to another without  
changing a line of code!


If you'd like more information of this, feel free to contact me.

All the Best
Dave


On 29 Mar 2007, at 12:52, Sarah Reichelt wrote:


So I've a main stack and sub-stack for preferences. I save and load
the variables as a stack (not text of xml - just yet) when I open and
close the substack. However, is there best practice for how to load
the variables on startup of the mainstack and then use them in the
mainstack - refereshing if people change the preferences (in the sub-
stack) while the application is running?


If the data in the sub-stack is stored in a field, then it's really  
easy:

  put field "Data" of stack "Sub" into myVariable

The mainStack always "knows" where it's sub-stacks are and can grab
data from them directly.

There is no need to use global variables (which are persistant and
will not respond to change unless you script it), just use field data
and retrieve it every time you need it. That way any changes will be
implemented automatically.

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


___
use-revolution mailing list
use-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: Variable transfers Between Stacks and Sub-Stacks.

2007-03-29 Thread Eric Chatonet

Hello Simon,

There are many ways to handle user preferences and I assume that  
you'll get many different ideas from the list.
Here is one where used stacks are assumed read-only and current prefs  
stored out of any stack:


Default standard prefs are stored in a custom property set.
This is handy since a custom property set can easily be put into a  
global array* or combined to be written to a file, a db record, etc.
If current prefs are not found, a file, a record, etc. is created  
from this custom property set and a prefs global array fed.
If a prefs file (or another way of storing them) is found, the global  
array is just fed with it**.
When the Prefs substack is open, values in the array are used to set  
up the layout accordingly.

Every change in the prefs modifies some value in the array.
When appropriate, the global array (possibly combined) is saved.
Actually xml could be used to store prefs but it might appear that a  
simple tab/tab/return list easily converted to an array or to/from a  
custom property set makes things a lot easier.


* put the customProperties["cDefaultPrefs"] of  into gPrefs  
where  can be 'this stack' or 'button "Prefs" of card "Prefs"  
of stack "Prefs"' or whatever fits your needs. This oneliner will  
feed the array as expected.
** Of course, a validity check of each pref value is preferable:  
Boolean, integer(s), text value, etc.
If a pref does not match an expected format or appears empty, the  
default pref should be restored.


Hope this helps.
Best regards from Paris,

Eric Chatonet.

Le 29 mars 07 à 13:31, Simon HARPER a écrit :


Hi there,

So I've a main stack and sub-stack for preferences. I save and load  
the variables as a stack (not text of xml - just yet) when I open  
and close the substack. However, is there best practice for how to  
load the variables on startup of the mainstack and then use them in  
the mainstack - refereshing if people change the preferences (in  
the sub-stack) while the application is running?


I'm sure this must be done a lot but I wonder if there is an  
accepted best way. Also, would I just define a global variable for  
inter-stack variables?


Cheers
Si.


Simon Harper



http://www.sosmartsoftware.com/
[EMAIL PROTECTED]/



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


Re: Problem with Fields

2007-03-29 Thread Dave

Hi,

The thing is that this was working perfectly before RunRev version  
2.8.0.370 (the previous version I used was 350 I think). It also  
worked in 2.6.1.152.


So something must have changed, either in RunRev or as a result of  
other changes I have made. I was really trying to determine which?


All the Best
Dave

On 29 Mar 2007, at 01:24, Jim Ault wrote:


On 3/28/07 5:04 PM, "Dave" <[EMAIL PROTECTED]> wrote:


I have a number of fields that the user can change. When they select
a field I want its old contents selected so that if they start to
type it overwrites the current contents. If they want to edit the
contents then they click again to de-select the text.

I tried your suggestion and it worked! Not sure why though?

The reason I added it without using the "send" command was because in
the documentation for "openField" it says:

Examples:
on openField -- when clicking in the field, select all its text
   select text of the target
end openField

Which is exactly what I want to do!

There are other issues with events and messages...

You might have to "lock messages" or deal with the traversal or  
focusOut, or
other events that could occur just after the openfield message is  
sent.

Perhaps you needed to "pass openfield" so that Rev will know that it
happened.  Interface interactivity is not my area, so I am just  
guessing

here.

The 'send' technique in effect says "let all other things happen, then
select text"

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: exportscripts.rev

2007-03-29 Thread Dave

Hi,

Yes, the CodeWarrior Editor is much more powerful too.

All the Best
Dave

On 29 Mar 2007, at 09:55, Viktoras Didziulis wrote:




And I forgot to mention that undo/redo in Revolution script editor  
is very

limited... But Revolution is still my favorite RAD anyway :-)
Sorry for this additional post :-(

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

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


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


Re: exportscripts.rev

2007-03-29 Thread Dave

Hi,

Well I've got my own Exporter/Importer which dumps into a Folder and  
File Hierarchy, I can then drag the base folder into (say) a  
CodeWarrior Project and then do complex searches between separate  
stack/application. Also the Folder/File Compare in CodeWarrior is  
second to none and I've found it great for finding when and where  
something changed. I also have a number of SNOBOL4/SPITBOL programs  
that can produce Cross References and other reports on the code. They  
also do things like generate a "local" statement for each local  
variable that hasn't been declared.


All the Best
Dave

On 29 Mar 2007, at 07:31, Richard Gaskin wrote:


Viktoras Didziulis wrote:
> What about exporting to an xml along with properties of stacks,
> cards and objects? And then its just one step towards importing
> back into Revolution ide ;-)

What does one do with scripts outside of the IDE that can't be done  
directly in the IDE?


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com

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

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


___
use-revolution mailing list
use-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: Variable transfers Between Stacks and Sub-Stacks.

2007-03-29 Thread Sarah Reichelt

So I've a main stack and sub-stack for preferences. I save and load
the variables as a stack (not text of xml - just yet) when I open and
close the substack. However, is there best practice for how to load
the variables on startup of the mainstack and then use them in the
mainstack - refereshing if people change the preferences (in the sub-
stack) while the application is running?


If the data in the sub-stack is stored in a field, then it's really easy:
  put field "Data" of stack "Sub" into myVariable

The mainStack always "knows" where it's sub-stacks are and can grab
data from them directly.

There is no need to use global variables (which are persistant and
will not respond to change unless you script it), just use field data
and retrieve it every time you need it. That way any changes will be
implemented automatically.

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: trying to replace perl cgi with rev

2007-03-29 Thread wayne durden

Hi everyone!  Just wondering offhand if anyone has an already done cgi that
accepts a single email address line from a form and adds it to a text file?
One that finds it and deletes the line from the text file would be great for
managing the unsubscribe part too.

I am replacing perl cgi's and have found the process somewhat frustrating.
No matter how simple the tasks are, it seems there are an abundance of
places to make simple mistakes and very little feedback from the server
letting me know where I have goofed this time.  This lies somewhere between
the examples in Jaqueline's excellent tutorial.  It would seem to be just a
hair north of the visitor counter and far south of the stack database, but
despite getting both those working in a flash, this is giving me a
headache.  I don't want anyone to cook one up fresh for me, I can wade
through the process eventually.  I also need the list of lines in a text
file, not a stack.  If I have one that is working somewhere else, it cuts
down the combinatorial madness of isolating where the errors are (i.e.
permissions, form action, etc).

Thanks to anyone, if you have one to share.

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


Variable transfers Between Stacks and Sub-Stacks.

2007-03-29 Thread Simon HARPER

Hi there,

So I've a main stack and sub-stack for preferences. I save and load  
the variables as a stack (not text of xml - just yet) when I open and  
close the substack. However, is there best practice for how to load  
the variables on startup of the mainstack and then use them in the  
mainstack - refereshing if people change the preferences (in the sub- 
stack) while the application is running?


I'm sure this must be done a lot but I wonder if there is an accepted  
best way. Also, would I just define a global variable for inter-stack  
variables?


Cheers
Si.


Simon Harper
2.44 Kilburn Building
University of Manchester (UK)

Pri: [EMAIL PROTECTED]
Alt: [EMAIL PROTECTED]


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


Re: Newbie Question

2007-03-29 Thread Simon HARPER
Hi there, and I do agree that, as a coder of 15 years, I would  
normally go on gut instinct. However, being used to c/c++, Java and  
Perl the Revolution Transcript syntax and expressions are not  
'natural' for me, as I'm trained to think in the more mathematical  
syntax of these grammars and not the more discursive grammar of  
Transcript. I'm sure I'll get it with persistence but I just think  
that coders moving over could really do with good documentation as it  
just is not intuitive for a people with experience of these other  
'conventional' languages, IMO.


However, having said that I'm actually really enjoying learning it  
and am persisting because I can see long term benefits of using  
Revolution as a RAD tool. Having said this I've another question  
which I'll send as a separate email...


Cheers
Si.


Simon Harper
2.44 Kilburn Building
University of Manchester (UK)

Pri: [EMAIL PROTECTED]
Alt: [EMAIL PROTECTED]


On 29 Mar 2007, at 12:15, Richmond Mathewson wrote:


I beleive one of the main reasons RR does not spend a
lot of time and resources on updating documentation is
because a very large number of programmers don't read
the documentation in anything but a cursory manner -
relying on their intuition, their past experience and
their willingness ot "get their feet wet" instead.

When I was learning PASCAL (Durham, 1984) the standard
joke going around the computer labs was that the last
person to write a computer programming manual had had
a mausoleum constructed out of unsold copies.

I have yet to read a really user-friendly programming
manual as most computer-programmers who write manuals
do not seem to spend a lot of time on audience
research or the finer points of reader-response
theory.

The other reason why RR may not take their
documentation too seriously is that, in my experience,
the best manual I am aware of for Runtime Revolution
is this Use-List - it is dynamic, adaptive and
generally very friendly.

I am always happy, either on or off-list, to answer
the most basic Newbie questions:

geradamas at yahoo dot com

richmond at mail dot maclaunch dot com

There are many contributors to this list who can
answer both those basic ones, and more tricky ones, in
a way far better than I can.

sincerely, Richmond Mathewson



A Thorn in the flesh is better than a failed Systems Development  
Life Cycle.





___
Inbox full of unwanted email? Get leading protection and 1GB  
storage with All New Yahoo! Mail. http://uk.docs.yahoo.com/ 
nowyoucan.html

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

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


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


Newbie Question

2007-03-29 Thread Richmond Mathewson
I beleive one of the main reasons RR does not spend a
lot of time and resources on updating documentation is
because a very large number of programmers don't read
the documentation in anything but a cursory manner -
relying on their intuition, their past experience and
their willingness ot "get their feet wet" instead.

When I was learning PASCAL (Durham, 1984) the standard
joke going around the computer labs was that the last
person to write a computer programming manual had had
a mausoleum constructed out of unsold copies.

I have yet to read a really user-friendly programming
manual as most computer-programmers who write manuals
do not seem to spend a lot of time on audience
research or the finer points of reader-response
theory.

The other reason why RR may not take their
documentation too seriously is that, in my experience,
the best manual I am aware of for Runtime Revolution
is this Use-List - it is dynamic, adaptive and
generally very friendly.

I am always happy, either on or off-list, to answer
the most basic Newbie questions: 

geradamas at yahoo dot com

richmond at mail dot maclaunch dot com

There are many contributors to this list who can
answer both those basic ones, and more tricky ones, in
a way far better than I can.

sincerely, Richmond Mathewson



A Thorn in the flesh is better than a failed Systems Development Life Cycle.




___ 
Inbox full of unwanted email? Get leading protection and 1GB storage with All 
New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Tutorial Videos

2007-03-29 Thread Richmond Mathewson
Does anyone know where the tutorial videos are cached
once they are downloaded?

sincerely, Richmond Mathewson



A Thorn in the flesh is better than a failed Systems Development Life Cycle.






___ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at 
the Yahoo! Mail Championships. Plus: play games and win prizes. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to tell if a stack has been edited (OUPS !)

2007-03-29 Thread Jean-Paul Poccard

Sorry , I forgot filling the subject  field  in the mail I just sent.

This is a copy of the  previous mail :

Le 28 mars 07, à 19:00, [EMAIL PROTECTED] a écrit 
:



How to tell if a stack has been edited


I have had  to   customize a file menu and choose wether "save"  or 
"save as" had to be displayed,

Is this the kind of problem you are confronted with ?

I found among the rev functions this one :

"REVSaveCheck"   which  contains this test :
  "If gREVStackStatus [pStack] is edited then " 

It works in my standalone,  may be because I have copied  
"revsavecheck"  (and some handlers called by REVSaveCheck) in my own 
stack (I had to customize  the dialogs which were inside).


You will surely find how to take advantage of it  faster than  I verify 
how exactly works my customized menu, which handlers  have not been 
written or modified according to the guidelines of smart programming.


Cordialement

Jean-Paul.
 
___

use-revolution mailing list
use-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: use-revolution Digest, Vol 42, Issue 62

2007-03-29 Thread Jean-Paul Poccard


Le 28 mars 07, à 19:00, [EMAIL PROTECTED] a écrit 
:



How to tell if a stack has been edited


I have had  to   customize a file menu and choose wether "save"  or 
"save as" had to be displayed,

Is this the kind of problem you are confronted with ?

I found among the rev functions this one :

"REVSaveCheck"   which  contains this test :
  "If gREVStackStatus [pStack] is edited then " 

It works in my standalone,  may be because I have copied  
"revsavecheck"  (and some handlers called by REVSaveCheck) in my own 
stack (I had to customize  the dialogs which were inside).


You will surely find how to take advantage of it  faster than  I verify 
how exactly works my customized menu, which handlers  have not been 
written or modified according to the guidelines of smart programming.


Cordialement

Jean-Paul.
___
use-revolution mailing list
use-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: exportscripts.rev

2007-03-29 Thread Viktoras Didziulis
 
 
And I forgot to mention that undo/redo in Revolution script editor is very
limited... But Revolution is still my favorite RAD anyway :-) 
Sorry for this additional post :-( 
 
Best! 
Viktoras
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: exportscripts.rev

2007-03-29 Thread Viktoras Didziulis
It is just a matter of personal preference, an alternative way of editing in
an environment the user is used to for his other scripting tools (like Perl,
PHP, HTML/Javascript, SQL, XML, Fortran, whatever else). On MS Windows my
personal preference is Crimson editor. I am too addicted to its tools,
editing options, syntax hiliting, lower/upper case switching, text encoding,
capitalizing or case invertions, find an replace using regular expressions,
some other options like tabbed browsing in a single window instead of having
multiple windows scattered all around the screen (one needs extended desktop
to fit them all), etc... Its just because I had been using it for 5 years
before I purchased Revolution and feel at home in that environment, and it
comes at no cost at all... 
 
In Revolution script editor I can't print tabs, find and replace phrases (e
g. change names of globals) in ALL scripts of any stack with a single click
(or is this option hidden somewhere?), find and replace using regular
expressions, line numbering is absent (yes I know I can browse by handler,
but it is just an option), standard shortcut keys and context menus not
always behave as expected - e.g. on right click on a selected text Rev Ide
opens documentation window instead of contextual menu. When pasting portions
of script from formatted text outside RevIDE (web page, etc...), it does not
adopt fonts to script's font settings and you have to adjust font sizes
manually again and again, etc... I can imagine somebody else having
completely different preferences, in fact many different preferences and
tastes, so that's why I think one may need the scripts outside the
Revolution IDE. 
 
All the best! 
Viktoras 
 
---Original Message--- 
 
From: Richard Gaskin 
Date: 03/29/07 09:31:31 
To: How to use Revolution 
Subject: Re: exportscripts.rev 
 
Viktoras Didziulis wrote: 
> What about exporting to an xml along with properties of stacks, 
> cards and objects? And then its just one step towards importing 
> back into Revolution ide ;-) 
 
What does one do with scripts outside of the IDE that can't be done 
directly in the IDE? 
 
-- 
Richard Gaskin 
Fourth World Media Corporation 
___ 
[EMAIL PROTECTED] http://www.FourthWorld.com 
 
___ 
use-revolution mailing list 
use-revolution@lists.runrev.com 
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences: 
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-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: Problem with Fields

2007-03-29 Thread Eric Chatonet

Hi,

Le 29 mars 07 à 02:04, Dave a écrit :


I tried your suggestion and it worked! Not sure why though?

The reason I added it without using the "send" command was because  
in the documentation for "openField" it says:


Examples:
on openField -- when clicking in the field, select all its text
  select text of the target
end openField

Which is exactly what I want to do!


Documentation example works well if the autoHilite of the field is  
set to false but it makes really no sense to set an editable field  
without autoHilite...
Rev docs are very weak for beginners: they have been made for those  
who know yet...

And I agree: it's a pity :-(
BTW, using the 2.7 (and later) search engine allows to retrieve all  
occurrences of any expression in the dictionary: sometimes it may  
help...


Best regards from Paris,
Eric Chatonet.

http://www.sosmartsoftware.com/
[EMAIL PROTECTED]/



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