Re: Accessing other stacks in LibCGI

2004-08-19 Thread Jan Schenkel
--- Rodney Tamblyn <[EMAIL PROTECTED]> wrote:
> Hi Terry,
> 
> You *think* (you'll need to check this) you can
> access data in custom 
> properties of stacks, but not fields, when the stack
> is accessed by the 
> command line engine.  e.g. you can start using a
> stack, and execute a 
> function that may (for example) retrieve data stored
> in a custom 
> property of the stack, but you cannot navigate to a
> card, get a field 
> etc.
> 
> ~ Rodney
> 

Actually, why not just go to the right card in the
stack and execute the function ? I made a simple test
stack with a single bakcground field "Memo" and the
following cgi-scripts to test :

1. newmemo.mt
--
#!revolution
on startUp
  open stack "smemo.rev"
  go last card
  create card
  put "I made this with the cgi-engine," && \
  the internet date && "!" into field "memo"
  save stack "smemo.rev"
  close stack "smemo.rev"
  put "Added 1 card" into tBuffer
  put "Content-Type: text/plain" & cr
  put "Content-Length:" && length(tBuffer) & cr & cr
  put tBuffer
end startUp
--

2. showmemo.mt
--
#!revolution
on startUp
  put $QUERY_STRING into tQuery
  split tQuery using "&" and "="
  put tQuery["number"] into tCardNumber
  open stack "smemo.rev"
  go card tCardNumber
  put "Content of 'memo' field:" & return & \
  field "memo" into tBuffer
  close stack "smemo"
  put "Content-Type: text/plain" & cr
  put "Content-Length:" && length(tBuffer) & cr & cr
  put tBuffer
end startUp
--

I triggered newmemo a couple of times, checked the
content with Revolution to make sure there was data in
the stack.
Then I wanted to see if the cgi-engine could get the
content of the field from card 3 with:
  http://localhost/cgi-bin/showmemo.mt?number=3
And I got the correct result.

[And before any of the security experts say anything,
this is running on a separate box on my local network
so security is not an issue for these tests]

Hope this helped,

Jan Schenkel



___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: AppleScript won't compile (?)

2004-08-19 Thread Richard Gaskin
Marian Petrides wrote:
> On Aug 19, 2004, at 11:52 PM, Richard Gaskin wrote:
>> Sarah Reichelt wrote:
>>> This is very odd. I have always recommended that AppleScripts only
>>> be transferred to Rev after they have been tested in the AppleScript
>>> editor, and have never had a script that worked in one & not the
>>> othere. The only idea I had was the line continuations. Does it work
>>> if you make all the wrapped lines into single lines?
>>
>> Thanks for looking into it.  I found the culprit: it was the "choose
>> from list" AppleScript command.  That's okay, because I don't really
>> want to display a list of chapter info but merely return it to Rev,
>> so not having that available doesn't bother me.
>>
>> Still curious as to why that doesn't work from Rev, though.
>
> That's odd because when I try to compile this script in AppleScript
> editor it gives me a compile error at exactly the same spot:  Syntax
> error: expected comma but found identifier  with the highlighted word
> (identifier) being chapter.
It may be a formatting issue caused by email; when I open the script 
directly from Apple's example it runs, and when I Select All, Copy, and 
Paste into a new script in AppleScript editor it runs, but when I paste 
into a Rev field and try to run from there it fails.

If you're inclined to try it (it's a useful set of scripts to have 
anyway if you need to script the QT Player) it's at:


Once the archive is decompressed the example I used is in:
 QuickTime Player Scripts/Chapters/Chapter Summary.scpt

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Accessing other stacks in LibCGI

2004-08-19 Thread Richard Gaskin
Terry Vogelaar (de Mare) wrote:
I'll try a tip someone mailed me personally and if that doesn't solve 
anything, I put everything in a text file. That seems to be the 
simplest. And the simplest is often the best solution.
In my experience you can access properties of objects, and even create 
them, so long as you don't do anything that would require rendering the 
card, since the faceless engine won't be able to render.

For example, you should be able to say:
  get the text of fld 1 of cd 3 of stack "MyStack.rev"
  create button in stack "MyStack.rev"
  set the uMyProp of btn 1 of stack "MyStack.rev" to "Howdy"
But you cannot say:
  go cd 1 of stack "MyStack.rev"
--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: AppleScript won't compile (?)

2004-08-19 Thread Marian Petrides
That's odd because when I try to compile this script in AppleScript 
editor it gives me a compile error at exactly the same spot:  Syntax 
error: expected comma but found identifier  with the highlighted word 
(identifier) being chapter.
M

On Aug 19, 2004, at 11:52 PM, Richard Gaskin wrote:
Sarah Reichelt wrote:
This is very odd. I have always recommended that AppleScripts only be 
transferred to Rev after they have been tested in the AppleScript 
editor, and have never had a script that worked in one & not the 
othere. The only idea I had was the line continuations. Does it work 
if you make all the wrapped lines into single lines?
Thanks for looking into it.  I found the culprit: it was the "choose 
from list" AppleScript command.  That's okay, because I don't really 
want to display a list of chapter info but merely return it to Rev, so 
not having that available doesn't bother me.

Still curious as to why that doesn't work from Rev, though.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Accessing other stacks in LibCGI

2004-08-19 Thread de Mare
Rodney Tamblyn heeft op vrijdag, 20 aug 2004 om 01:56 
(Europe/Amsterdam) het volgende geschreven:

Hi Terry,
You *think* (you'll need to check this) you can access data in custom 
properties of stacks, but not fields, when the stack is accessed by 
the command line engine.  e.g. you can start using a stack, and 
execute a function that may (for example) retrieve data stored in a 
custom property of the stack, but you cannot navigate to a card, get a 
field etc.

~ Rodney
What you write seems to be correct.
Andre Garzia heeft op donderdag, 19 aug 2004 om 20:52 
(Europe/Amsterdam) het volgende geschreven:

I tried both of your solutions, but the problem doesn't seem to be 
loading the stack into memory. The test function
indeed returned the string, although it was in the other stack. But 
when I let the function return anything on a card, it refused.

But what you wrote in the first line might solve the problem as well. 
I don't really need to store this data in a stack! The content of 
'content' is more complex so I'd prefer to keep that in a stack, but 
the agenda can be an external text file or a custom property.
When you say doesn't work you mean return empty or trigger error?
Also check if the agenda stack is loaded, check if the card and the 
control you want is there... use the "there is a" function. Try 
refering them by the ID too...
It returns empty. If I check with 'if there is a cd cardnamevar', it 
evaluates false and the function returns what is in the 'else' part. 
Since I was very sure that there was a card with that name, I checked 
the name of the first card to find out in which stack it was searching. 
It returned the name of 'content', so it was just searching in the 
wrong stack.

I'll try a tip someone mailed me personally and if that doesn't solve 
anything, I put everything in a text file. That seems to be the 
simplest. And the simplest is often the best solution.

Terry
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Accessing other stacks in LibCGI

2004-08-19 Thread Rodney Tamblyn
Hi Terry,
You *think* (you'll need to check this) you can access data in custom 
properties of stacks, but not fields, when the stack is accessed by the 
command line engine.  e.g. you can start using a stack, and execute a 
function that may (for example) retrieve data stored in a custom 
property of the stack, but you cannot navigate to a card, get a field 
etc.

~ Rodney
--
Rodney Tamblyn
OceanBrowser Ltd
44 Melville Street
Dunedin, New Zealand
Ph +64-3-4778606
http://www.oceanbrowser.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev 2.5b2 dox not working yet?

2004-08-19 Thread Marian Petrides
Thanks
On Aug 19, 2004, at 6:49 PM, Bill wrote:
Same thing happened to me. I didn't like the hang when asking for 
dictionary
so I went to bugzilla with it which is now bug #2030

On 8/19/04 5:50 PM, "Marian Petrides" <[EMAIL PROTECTED]> wrote:
When I try to look up an item in the docs (dictionary:  player object)
I get an appropriate list at the left but highlighting and/or double
clicking on an item does not change the text at the right--I keep
getting what appears to be the entry for xmlerr
Is this expected behavior (ie, an area that is still being worked on)
or a reportable bug?
(When I tried to search for controller toggle--which is what I really
wanted to know about--Rev seemed to hang; had to force quit to get out
of Rev.)
Also, I gather that the links to the videos are not yet active. Is 
that
right?

M
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

|||
   )_)  )_)  )_)
  )___))___))___)\
 )))_)\\
   _|||\\\__
---\   /- http://www.bluewatermaritime.com
 ^ ^
     ^^^^^
     ^^^
24 hour cell: (787) 378-6190
fax: (787) 809-8426
Blue Water Maritime
P.O. Box 91
Puerto Real, PR 00740

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev 2.5b2 dox not working yet?

2004-08-19 Thread Bill

Same thing happened to me. I didn't like the hang when asking for dictionary
so I went to bugzilla with it which is now bug #2030

On 8/19/04 5:50 PM, "Marian Petrides" <[EMAIL PROTECTED]> wrote:

> When I try to look up an item in the docs (dictionary:  player object)
> I get an appropriate list at the left but highlighting and/or double
> clicking on an item does not change the text at the right--I keep
> getting what appears to be the entry for xmlerr
> 
> Is this expected behavior (ie, an area that is still being worked on)
> or a reportable bug?
> 
> (When I tried to search for controller toggle--which is what I really
> wanted to know about--Rev seemed to hang; had to force quit to get out
> of Rev.)
> 
> Also, I gather that the links to the videos are not yet active. Is that
> right?
> 
> M
> 
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 

|||
   )_)  )_)  )_)
  )___))___))___)\
 )))_)\\
   _|||\\\__
---\   /- http://www.bluewatermaritime.com
 ^ ^
     ^^^^^
     ^^^

24 hour cell: (787) 378-6190
fax: (787) 809-8426

Blue Water Maritime
P.O. Box 91
Puerto Real, PR 00740



___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Rev 2.2 Windows player object bug

2004-08-19 Thread Devin Asay
All,
A few weeks ago I remember reading a thread regarding a player object 
bug in Rev 2.2 Windows that caused a sound to stop playing before it 
reached its end, but only if the player object was invisible. The 
workaround was to move the player offscreen.

I've searched the archives and bugzilla to try to learn whether this 
has been reported and/or resolved, but couldn't find anything. Could 
someone with a better memory than mine please let me know the status of 
this bug (or at least where to look for it.)

Thanks.
Devin Asay
Humanities Technology and Research Support Center
Brigham Young University
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Stack is momentarily solid white (flicker) - OSX

2004-08-19 Thread Ken Ray

>> I've looked at the archives (nada) and tried fiddling with
>> alwaysBuffer, bufferhiddenImages and screenNoPixmaps to no avail.
>> 
>> Any thoughts, haters of flicker?
>> 
>> Best,
>> 
>> Jerry
>> 
> My stacks and stand alones in OS X occasionally open up TOTALY Black,
> nothing can be seen.
> I have to resize the stack to get the controls to show up and the
> blackness to vanish.

Funny, I thought it was just me... but for me it's on Windows XP where this
happens. A lock/unlock screen combo will redraw, but it shouldn't be there
in the first place.

Bill, did you Bugzilla this by any chance? If so, I'll add my "me too"s...


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


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Rev 2.5b2 dox not working yet?

2004-08-19 Thread Marian Petrides
When I try to look up an item in the docs (dictionary:  player object) 
I get an appropriate list at the left but highlighting and/or double 
clicking on an item does not change the text at the right--I keep 
getting what appears to be the entry for xmlerr

Is this expected behavior (ie, an area that is still being worked on) 
or a reportable bug?

(When I tried to search for controller toggle--which is what I really 
wanted to know about--Rev seemed to hang; had to force quit to get out 
of Rev.)

Also, I gather that the links to the videos are not yet active. Is that 
right?

M
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Questions about Altbrowser and SVG

2004-08-19 Thread jbv


Bob,

Thanx for all the advices.

Nevertheless, Flash is far from being the perfect solution
(at least for my project) : if you want your animation to
react and being modified according to the user's previous
actions, you need to set up complex Transcript / Actionscript
interaction (a real nightmare - I've tried before).

OTOH, a "simple" antialiased Bezier tool (for which one could
set control points, just like you set points for a graphic control),
combined with the use of ink & blendlevel & angle properties for
images would allow "easy" (which means easier by several orders
of magnitude) Flash-like animations within Rev with full control.

I've coded such a Bezier tool in openGL within a few hours.
The difficulty is then to mix it with other controls on the card...

Again, at the risk of being nasty, I still don't understand why
neither the MC or the Rev crew ever responded to that request
during the past 2 years or so...

Thanks again,
JB


> JB,
>
> In my opinion, Chipp's advice to go for Flash to do your animations is
> undoubtedly the best solution for various reasons. However, it is perfectly
> possible to do animations in SVG using a SINGLE SCRIPT, not a succession of
> scripts as you had in mind. (In fact, it probably wouldn't work as a
> succession of scripts.) A fly in the ointment regarding practicality is
> the fact that SVG is relatively new, and there aren't many editors around
> that would enable you to create your animations easily. And writing the
> script directly for an animated vector graphic ain't easy either.
>
> Your Flash animations would be shown in the altBrowser exactly the same as
> they are in the Internet Explorer (without IE's decorations of course).
>
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Questions about Altbrowser and SVG

2004-08-19 Thread Bob Warren
JB,

In my opinion, Chipp's advice to go for Flash to do your animations is
undoubtedly the best solution for various reasons. However, it is perfectly
possible to do animations in SVG using a SINGLE SCRIPT, not a succession of
scripts as you had in mind. (In fact, it probably wouldn't work as a
succession of scripts.) A fly in the ointment regarding practicality is
the fact that SVG is relatively new, and there aren't many editors around
that would enable you to create your animations easily. And writing the
script directly for an animated vector graphic ain't easy either.

Your Flash animations would be shown in the altBrowser exactly the same as
they are in the Internet Explorer (without IE's decorations of course).



___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: bug reporting for 2.5B2

2004-08-19 Thread Sannyasin Sivakatirswami
Thanks Kevin, that's clear..
Just in case any newbies are lurking on this thread. Don't take these 
comments the wrong way. Make not mistake about it: Revolution is the 
best tool on the market and my favorite oftware and  has allows us to 
do things (as non-programmers) that we would have otherwise had to hire 
out for 100's of thousands of dollars.

OK back on point here. Focus on issues..
Re drag and drop problem, yes, using 2.5B2 and no didn't copy plug ins 
folder but yes did copy "some" plug ins that I use.

I will send it another bug report... as I depend on this facility quite 
heavily (ability to get a full path from a file drop to a field that 
copies it to the clipboard.

Sannyasin Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
[EMAIL PROTECTED]
www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org

So I reported a bug that continues to persist in 2.5B2:
Drop file from finder on a field which traps the drop, not only 
returns
the path to the file (intended behavior.. I use this all the time, all
day long) but creates a field and posts the data from the file into 
the
field.  so, if I get the path for a 80 mg psd file... rev tries to put
all that binary data into the field. Crashes of course.
Are you sure you are using 2.5B2?  There is no script in B2 that does 
that,
its not an engine behavior, so check your scripts, or that you haven't
copied the old "plug ins" folder from a previous release.


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Accessing other stacks in LibCGI

2004-08-19 Thread Andre Garzia
On Aug 19, 2004, at 3:24 PM, Terry Vogelaar (de Mare) wrote:
I tried both of your solutions, but the problem doesn't seem to be 
loading the stack into memory. The test function
function functionInAgenda
  return "Works!"
end functionInAgenda
indeed returned the string, although it was in the other stack. But 
when I let the function return anything on a card, it refused.

But what you wrote in the first line might solve the problem as well. 
I don't really need to store this data in a stack! The content of 
'content' is more complex so I'd prefer to keep that in a stack, but 
the agenda can be an external text file or a custom property.

Terry,
when you say doesn't work you mean return empty or trigger error?
Also check if the agenda stack is loaded, check if the card and the 
control you want is there... use the "there is a" function. Try 
refering them by the ID too...

cheers
andre


Thanks.
--
Andre Alves Garzia  2004  BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Accessing other stacks in LibCGI

2004-08-19 Thread de Mare
Andre Garzia heeft op donderdag, 19 aug 2004 om 19:16 
(Europe/Amsterdam) het volgende geschreven:

I usually stick to using text files with libCGI, I never tried a 
content stack like that. I would suggest you try one of these:

First option:  Make agenda a substack of your mainstack, this way it 
would load anyway.

Second option: try using go invisible stack , on your 
libraryStack handler, load agenda this way, so when you need to 
performe any command, it will be in memory.

Tell me if you managed that.
I tried both of your solutions, but the problem doesn't seem to be 
loading the stack into memory. The test function
function functionInAgenda
  return "Works!"
end functionInAgenda
indeed returned the string, although it was in the other stack. But 
when I let the function return anything on a card, it refused.

But what you wrote in the first line might solve the problem as well. I 
don't really need to store this data in a stack! The content of 
'content' is more complex so I'd prefer to keep that in a stack, but 
the agenda can be an external text file or a custom property.

Thanks.
On Aug 19, 2004, at 10:16 AM, Terry Vogelaar wrote:
Hi all,
While LibCGI helped me a lot in building my website, there is one 
issue I can't resolve yet.

I have a 'content' stack and I want to access information in another 
stack named 'agenda'. And I can't figure out how.
I tried:

lock messages
start using "path/to/agenda.rev"
put functionInAgenda() into a
That worked as long as I let functionInAgenda just return plain 
information. If I want to access a field on a card, it fails.

I even tried:
put url 
"http://www.de-mare.nl/cgi-bin/form.cgi?stack=agenda&cmd=cmdinagenda"; 
into a

The space where the data should be inserted stayed empty, while the 
url itself worked OK in a browser.

I also tried to mare agenda a substack of content an do:
put value("functionInAgenda()",stack "agenda") into a
Same result. If I specify a card in "agenda" it can't be found. If I 
check the name of the first card, it gives the name of the first card 
of stack 'content' instead. If I add 'of stack "agenda"' it solves 
the problem in the development environment, but the webbrowser gives 
an infinite load time.

Any suggestions?
Terry
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

--
Andre Alves Garzia ï 2004 ï BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Accessing other stacks in LibCGI

2004-08-19 Thread Andre Garzia
Terry,
I usually stick to using text files with libCGI, I never tried a 
content stack like that. I would suggest you try one of these:

First option:  Make agenda a substack of your mainstack, this way it 
would load anyway.

Second option: try using go invisible stack , on your 
libraryStack handler, load agenda this way, so when you need to 
performe any command, it will be in memory.

Tell me if you managed that.
Andre

On Aug 19, 2004, at 10:16 AM, Terry Vogelaar wrote:
Hi all,
While LibCGI helped me a lot in building my website, there is one 
issue I can't resolve yet.

I have a 'content' stack and I want to access information in another 
stack named 'agenda'. And I can't figure out how.
I tried:

lock messages
start using "path/to/agenda.rev"
put functionInAgenda() into a
That worked as long as I let functionInAgenda just return plain 
information. If I want to access a field on a card, it fails.

I even tried:
put url 
"http://www.de-mare.nl/cgi-bin/form.cgi?stack=agenda&cmd=cmdinagenda"; 
into a

The space where the data should be inserted stayed empty, while the 
url itself worked OK in a browser.

I also tried to mare agenda a substack of content an do:
put value("functionInAgenda()",stack "agenda") into a
Same result. If I specify a card in "agenda" it can't be found. If I 
check the name of the first card, it gives the name of the first card 
of stack 'content' instead. If I add 'of stack "agenda"' it solves the 
problem in the development environment, but the webbrowser gives an 
infinite load time.

Any suggestions?
Terry
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

--
Andre Alves Garzia  2004  BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 2.5 Beta 2 and verbose log

2004-08-19 Thread Marian Petrides
Believe it or not, I did look there and somehow (don't ask me how) I 
missed it.  Musta been brain-dead. Thanks.

M
On Aug 19, 2004, at 10:44 AM, Troy Rollins wrote:
On Aug 19, 2004, at 4:02 AM, Marian Petrides wrote:
Is there a way to prevent RevOnline from starting up whenever I 
launch Rev.  I couldn't find a preference that allowed me to do this.

It significantly slows down the launch of Rev and there are times 
when I have either a slow internet connection or no internet 
connection at all--and thus have no use for RevOnline.
It is a preference on the first page called (interestingly enough) 
"Automatically launch RevOnline".
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simulating password entry

2004-08-19 Thread Devin Asay
Thanks to all who sent suggestions. Here's what I came up with (beware 
line wraps):

global passwd
on keydown whichKey
  put word 2 of the selectedChunk of me into sChar
  put word 4 of the selectedChunk of me into eChar
  if eChar > sChar then -- some text is selected
delete char sChar to eChar of me
delete char sChar to eChar of passwd
  end if
  put word 2 of the selectedChunk of me into sChar
  put word 4 of the selectedChunk of me into eChar
  put whichKey after char eChar of passwd
  put numtochar(165) after char eChar of me
end keyDown
on backspaceKey
  put word 2 of the selectedChunk of me into sChar
  put word 4 of the selectedChunk of me into eChar
  if eChar > sChar then -- text is selected
delete char sChar to eChar of me
delete char sChar to eChar of passwd
  else
delete char eChar of me
delete char eChar of passwd
  end if
end backspaceKey
on deleteKey
  put word 2 of the selectedChunk of me into sChar
  put word 4 of the selectedChunk of me into eChar
  if eChar > sChar then -- text is selected
delete char sChar to eChar of me
delete char sChar to eChar of passwd
  else
delete char eChar of me
delete char eChar of passwd
  end if
end deleteKey
on returnInField
  click at the loc of btn "connect"
end returnInField
On Aug 18, 2004, at 1:25 PM, Devin Asay wrote:
All,
I'm writing an app that simulates a network server login on Mac OS X. 
I want the password field to behave just like normal password fields 
in OS X; i.e., bullet characters appear in place of clear text. I've 
sorta kinda got it working by trapping the keydown message in the 
password field, but it's quirky. Before I spend a lot of time on this, 
I thought I'd ask: Has anyone done this and would mind sharing a 
script?

Thanks.
Devin Asay
Humanities Technology and Research Support Center
Brigham Young University
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Stack is momentarily solid white (flicker) - OSX

2004-08-19 Thread william griffin
Message: 2
Date: Wed, 18 Aug 2004 17:53:28 -0500
From: Jerry Daniels <[EMAIL PROTECTED]>
Subject: Stack is momentarily solid white (flicker) - OSX
To: Use Revolution List use Revolution
<[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Gang,
I've noticed that in some stacks running in the IDE under OSX appear
momentarily white and then their background color or image appears.
This is VERY brief, but it can be seen as a flicker. It's more
noticeable because my backgrounds are different shades of charcoal.
This is also seen when I switch from the finder to Rev and my stack
redraws.
I've looked at the archives (nada) and tried fiddling with
alwaysBuffer, bufferhiddenImages and screenNoPixmaps to no avail.
Any thoughts, haters of flicker?
Best,
Jerry
My stacks and stand alones in OS X occasionally open up TOTALY Black, 
nothing can be seen.
I have to resize the stack to get the controls to show up and the 
blackness to vanish.

Mr Bill
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Script shortcut in b2?

2004-08-19 Thread Bill
For the first time ever in 2.5b2 it works fine for me. I like it much better
than the old mouse-over thing which never worked.


On 8/19/04 10:46 AM, "Devin Asay" <[EMAIL PROTECTED]> wrote:

> Before I bugzilla this, could anyone confirm whether the command-option
> click shortcut for opening scripts is working for you in 2.5b2? I'm on
> Mac OS  X 10.3.5. I know it was working in b1, and I thought it was
> working at first under b2, but I can't make it work. (Yes I did check
> the preference setting--it's on.)
> 
> wait 300 seconds -- while I check something
> 
> Okay, I just installed 2.5b2 on my laptop and the shortcut works as
> advertised. What could cause this feature to suddenly stop working? I
> did have a hang once and had to force quit 2.5b2.
> 
> 
> Devin
> 
> Devin Asay
> Humanities Technology and Research Support Center
> Brigham Young University
> 
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 

|||
   )_)  )_)  )_)
  )___))___))___)\
 )))_)\\
   _|||\\\__
---\   /- http://www.bluewatermaritime.com
 ^ ^
     ^^^^^
     ^^^

24 hour cell: (787) 378-6190
fax: (787) 809-8426

Blue Water Maritime
P.O. Box 91
Puerto Real, PR 00740



___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simulating password entry

2004-08-19 Thread Mark Schonewille
Devin,
What about using my bullet font? It is in the section "More 
downloads" on my software homepage:

http://home.wanadoo.nl/mark.sch/software/main.html
There is a bitmap version and a truetype version. The font 
should not be used with commercial projects.

Mark
Devin Asay wrote:
All,
I'm writing an app that simulates a network server login on Mac OS X. I 
want the password field to behave just like normal password fields in OS 
X; i.e., bullet characters appear in place of clear text. I've sorta 
kinda got it working by trapping the keydown message in the password 
field, but it's quirky. Before I spend a lot of time on this, I thought 
I'd ask: Has anyone done this and would mind sharing a script?

Thanks.
Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

--
eHUG coordinator
mailto:[EMAIL PROTECTED]
fax: +1 501 633 94 04
http://home.wanadoo.nl/mark.sch
http://www.ehug.info
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 2.5 Beta 2 and verbose log

2004-08-19 Thread Troy Rollins
On Aug 19, 2004, at 4:02 AM, Marian Petrides wrote:
Is there a way to prevent RevOnline from starting up whenever I launch 
Rev.  I couldn't find a preference that allowed me to do this.

It significantly slows down the launch of Rev and there are times when 
I have either a slow internet connection or no internet connection at 
all--and thus have no use for RevOnline.
It is a preference on the first page called (interestingly enough) 
"Automatically launch RevOnline".
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: bug reporting for 2.5B2

2004-08-19 Thread Richard Gaskin
Kevin Miller wrote:
On 19/8/04 4:32 am, "Sannyasin Sivakatirswami" <[EMAIL PROTECTED]> wrote:
I was under the impression that all the bugs were fixed in 2.5B2...
We have never stated that all bugs will be fixed in this, or any other
release.  We have fixed the vast majority of the issues reported, which is
what we set out to do.
Verified.
As an occassional contractor I get cc'd with notices of activity in 
Bugzilla.  You'd be amazed at how many "fixed" notices fly by each week 
-- some days I see more of those than I see spam. :)

Kevin's stated objective for v2.5 was to address a majority of 
outstanding bugs.  This would normally be a tough metric, since new bugs 
keep coming in while the others are being worked on (not to mention that 
 few companies dare to publicly state bug-fix goals, and fewer choose a 
goal so aggressive).

But even with that, by my count the team has far surpassed the 50% mark, 
approaching 2/3 if I read the numbers correctly.  This is a big move 
forward, esp. when viewed in light of the new features v2.5 offers: 
industrial-strength encryption (opening up development opportunities in 
banking, medicine, etc.), GTK appearance mangement (opening up 
opportunites across the Linux frontier), and a bunch more.

So yes, there's still work to be done, and that work is being done with 
the help of your reports posted to Bugzilla.

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Cross-platform fonts...what is everyone else doing?

2004-08-19 Thread Peter T. Evensen
At 11:18 AM 7/28/2004, you wrote:
I think I will probably go with a runtime solution, such that when a stack 
opens for the first time it quickly checks every field for a non-empty 
font/size/style and resets it to the correct font for that platform.  I 
don't have that many controls that are bolded or have a different point 
size, so it should be fast enough.
One thing nice about Authorware is it has a font mapping file in which you 
can set up a font mapping from Windows to Mac and vice versa, not only the 
font names, but also sized, since the sizes are different on Mac and Windows.

I've often wished Rev had a similar feature.
Peter T. Evensen
http://www.PetersRoadToHealth.com
24-hour recorded info hotline: 1-800-624-7671 

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Script shortcut in b2?

2004-08-19 Thread Devin Asay
Before I bugzilla this, could anyone confirm whether the command-option 
click shortcut for opening scripts is working for you in 2.5b2? I'm on 
Mac OS  X 10.3.5. I know it was working in b1, and I thought it was 
working at first under b2, but I can't make it work. (Yes I did check 
the preference setting--it's on.)

wait 300 seconds -- while I check something
Okay, I just installed 2.5b2 on my laptop and the shortcut works as 
advertised. What could cause this feature to suddenly stop working? I 
did have a hang once and had to force quit 2.5b2.

Devin
Devin Asay
Humanities Technology and Research Support Center
Brigham Young University
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simulating password entry

2004-08-19 Thread Devin Asay
Yes, I know about ask password, but I want a login dialog with more 
than one field: user name and password. User name should be in clear 
text, but the password obscured. I would love it if ask password gave 
you a multi-field option, but since it doesn't, I have to roll my own.

Actually, with some help from Chipp, Yves, Richard and others, I have a 
solution that works pretty well. I'll post it when I've thoroughly 
tested it.

Devin
On Aug 18, 2004, at 10:56 PM, J. Landman Gay wrote:
On 8/18/04 2:25 PM, Devin Asay wrote:
All,
I'm writing an app that simulates a network server login on Mac OS X. 
I want the password field to behave just like normal password fields 
in OS X; i.e., bullet characters appear in place of clear text. I've 
sorta kinda got it working by trapping the keydown message in the 
password field, but it's quirky. Before I spend a lot of time on 
this, I thought I'd ask: Has anyone done this and would mind sharing 
a script?
It's built in. If you want an encrypted password back:
 ask password "Enter your password"
If you want clear text back:
 ask password clear "Enter your password"
Both return the user entry in the variable "it".
--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: bug reporting for 2.5B2

2004-08-19 Thread Kevin Miller
On 19/8/04 4:32 am, "Sannyasin Sivakatirswami" <[EMAIL PROTECTED]> wrote:

> Not to whine too much but:
> 
> I was under the impression that all the bugs were fixed in 2.5B2...

We have never stated that all bugs will be fixed in this, or any other
release.  We have fixed the vast majority of the issues reported, which is
what we set out to do.  No commercial software is bug free, that's
unrealistic.  Apple would never have shipped Mac OS X, Microsoft would never
have shipped Windows...

> So I reported a bug that continues to persist in 2.5B2:
> 
> Drop file from finder on a field which traps the drop, not only returns
> the path to the file (intended behavior.. I use this all the time, all
> day long) but creates a field and posts the data from the file into the
> field.  so, if I get the path for a 80 mg psd file... rev tries to put
> all that binary data into the field. Crashes of course.

Are you sure you are using 2.5B2?  There is no script in B2 that does that,
its not an engine behavior, so check your scripts, or that you haven't
copied the old "plug ins" folder from a previous release.

> but then the man behind the run rev bugzilla mask responds
> 
> "bug removed, already fixed... please check bugs before reporting?"
> 
> ?? if its already fixed, then why is it still happening?
> 
> I'm seeing LOTS of problems with 2.5.B2... it is certainly not ready
> for prime time. it would be a public relations disaster if it went out
> like this.  I worked in Rev IDE generally speaking 3 hours day in
> various projects... today I hit at least 8 major issues... non have
> been show stoppers except the above... some are scary though, like
> selecting a field and choosing the table under the properties pull down
> and having all the data in the field deleted and replaced with the data
> of a field  on another card in the same background that had been
> previously set to a table object... revert now! ;-( at least I had a
> way to back out. 

And you reported this issue in Bugzilla complete with a recipe?  This list
isn't the right place for bug reports.

> And i like the one about opening a stack name
> "searchfiles.rev" and being told that "You already have a stack open by
> the name of "WebEditor-g4.rev... having two stack open in memory with
> the same name means you could lose some data" aside from the
> erroneous report (the stacks are completley different) what happened to
> the purge option?

Read the dialog again.  The warning is new, it warns that you have two
substacks of the same name open.  We warn you but allow you to continue.
The Purge option is still there if you open two mainStacks of the same name.

> Then there's the metal stacks where all the objects
> on the face of the card simply disappear ?!  that's fun... resize
> window.. blink, they are back... that's fun and then there's the.
> 
> IMHO might it not be better to issue a release with the bugs fixed? so
> that we can freely report issues remaining without having to research
> what's been reported already.  I guess I misunderstood Kevin's
> description of B2 as "just a few crash issues remaining.." and the
> assumption all bugs reported has been fixed in B2. I just don't have
> time to check if each one was reported before. Ken's revZilla still not
> working right with fireFox cookies, and manual entry of the cookie log
> in and bugzilla number is not persistent.

We've been testing this release for several months now.  We've marked what
issues we have fixed in Bugzilla, which copies you when your issues have
been addressed.

Kevin Miller ~ [EMAIL PROTECTED] ~ http://www.runrev.com/
Runtime Revolution - User-Centric Development Tools

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Accessing other stacks in LibCGI

2004-08-19 Thread Terry Vogelaar
Hi all,
While LibCGI helped me a lot in building my website, there is one issue 
I can't resolve yet.

I have a 'content' stack and I want to access information in another 
stack named 'agenda'. And I can't figure out how.
I tried:

lock messages
start using "path/to/agenda.rev"
put functionInAgenda() into a
That worked as long as I let functionInAgenda just return plain 
information. If I want to access a field on a card, it fails.

I even tried:
put url 
"http://www.de-mare.nl/cgi-bin/form.cgi?stack=agenda&cmd=cmdinagenda"; 
into a

The space where the data should be inserted stayed empty, while the url 
itself worked OK in a browser.

I also tried to mare agenda a substack of content an do:
put value("functionInAgenda()",stack "agenda") into a
Same result. If I specify a card in "agenda" it can't be found. If I 
check the name of the first card, it gives the name of the first card 
of stack 'content' instead. If I add 'of stack "agenda"' it solves the 
problem in the development environment, but the webbrowser gives an 
infinite load time.

Any suggestions?
Terry
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Prevent RevOnline launches (was:2.5 Beta 2 and verbose log)

2004-08-19 Thread Jan Decroos
Marian Petrides wrote:
>Is there a way to prevent RevOnline from starting up whenever I launch 
>Rev.  I couldn't find a preference that allowed me to do this.

Sure!
See:
Preferences -> General -> Automatically launch Revolution Online



Jan

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Fields, Margins, Tab on Return

2004-08-19 Thread SimPLsol
Chipp,
I unchecked the Fixed Line Height. All of the lines disappeared (as one might 
expect) but the cursor still autotabbed out of the field at line 3.
Thank you for the suggestion.
Paul Looney
PS. Hopefully the final solution will allow me to keep the lines in the 
field.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Fields, Margins, Tab on Return

2004-08-19 Thread SimPLsol
Thank you Ken. I do appreciate it.

Am I the only one who thinks there are entirely too many "work arounds" like 
this in Revolution? Sizing fields should be fundamental, logical and easy. 
Zero margins should be zero margins. What newby is ever going to discover this?

Previous posts said Revolution was too Mac-like. I think it is too UNIX-like. 
If you don't read the manual twice and check the list daily it is hard to do 
simple stuff. This is not the only item: the menu manager, backgrounds, 
creating lists, making reports, etc. are still far more difficult than I would 
expect of a 2.5 product.

Perhaps I am the only one on the list who thinks this way - but I believe I 
represent the market Rev. needs   - if it is going to become something more 
than a hobbyist's RAD.

Sincerely,
Paul Looney
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Fields, Margins, Tab on Return

2004-08-19 Thread Chipp Walters
Check out the fixedLineHeight property. I suggest setting it to false.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Questions about Altbrowser and SVG

2004-08-19 Thread Chipp Walters
Hi JB,
If you haven't already, go to
http://www.altuit.com/webs/altuit2/RunRev/altBrowser.htm
and download the altBrowser demo. It's a standalone which is a stack 
with embedded browser. Check out the help file in the menu for info on 
the browser commands supported.

We're putting the final touches on altBrowser for Mac as we speak. 
Unfortuately, a client (meaning paying work) got in the way. Chris has 
it working fine on the Mac but we're just tweaking the commands so 
they're fully cross-platform.

jbv wrote:

This is the point that I don't really understand...
Let's say I have my standalone and the Altbrowser dll on my CD-Rom;
does that mean that the end user needs to install the SVG plugin for IE
on his HD (and thus have IE installed on his HD) to be able to use my stack
with Altbrowser ?
Yes, you are correct.
Besides, there's another point that remains unclear to me : you confirmed
that decorations of the stack window can be set like for any stack. OK, but
nevertheless the stack will be displayed INSIDE a browser window, with its
own "decorations"... which means that if I want to get rid of those "browser
decorations" I probably need to add some javascript code on top of
everything...
If I'm right on this, it looks a bit tricky...
No, altBrowser actually runs inside an image control. So, the image 
control is in fact a browser window. So, it's the other way around, the 
browser is displayed inside a stack window.

As for Chipp's suggestion to use Flash for fast vector graphics, I've done
that several times, but haven't been 100% satisfied by that solution, mostly
because Flash anims run in Rev through QT which isn't always up to date
regarding the latest Flash version...
If your user has the ability to play Flash inside IE (most do), then 
Flash will play inside altBrower, as it is only an instance of the IE 
ActiveX control.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 2.5 Beta 2 and verbose log

2004-08-19 Thread Marian Petrides
Is there a way to prevent RevOnline from starting up whenever I launch 
Rev.  I couldn't find a preference that allowed me to do this.

It significantly slows down the launch of Rev and there are times when 
I have either a slow internet connection or no internet connection at 
all--and thus have no use for RevOnline.

Thanks.
M
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Questions about Altbrowser and SVG

2004-08-19 Thread jbv


Bob, Chipp,

Thank you both for answering my questions.

>
> THE altBrowser and the SVG plugin are not connected. The altBrowser simply
> shows in a stack whatever you might show in the Internet Explorer. So if IE
> has the SVG plugin, then it is possible to show the SVG in the stack. But if
> IE has no plugin, then of course it is not possible to show the SVG in the
> stack.

This is the point that I don't really understand...
Let's say I have my standalone and the Altbrowser dll on my CD-Rom;
does that mean that the end user needs to install the SVG plugin for IE
on his HD (and thus have IE installed on his HD) to be able to use my stack
with Altbrowser ?

Besides, there's another point that remains unclear to me : you confirmed
that decorations of the stack window can be set like for any stack. OK, but
nevertheless the stack will be displayed INSIDE a browser window, with its
own "decorations"... which means that if I want to get rid of those "browser
decorations" I probably need to add some javascript code on top of
everything...
If I'm right on this, it looks a bit tricky...

As for Chipp's suggestion to use Flash for fast vector graphics, I've done
that several times, but haven't been 100% satisfied by that solution, mostly
because Flash anims run in Rev through QT which isn't always up to date
regarding the latest Flash version...

As of yet, I see only 2 solutions for my project :
1- do all my 2D vector graphics through an openGL external, but that means
quite a lot of hardcore C coding (and also some serious problems when mixing
the result with other controls on the screen, mostly because of transparencies
and aliasing)
2- pre-calculate all the images I need in some scriptable vector graphic
software
(Flash or Illustrator or SVG), save each frame as a jpg or png image and then
display those images sequentially...

The thing is that both solutions are trade-offs...

God damn... when will Runrev include anti-aliased vector graphics in Rev ?
I (and a few others) keep asking for it for more than 2 years...


Best,
JB

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Questions about Altbrowser and SVG

2004-08-19 Thread Chipp Walters
Bob,
Thanks for answering all the questions. You are correct on all of them.
JB,
If you need faster redraw of vector graphics, considering using Flash in 
altBrowser. As you know, Flash can animate and redraw very fast. Of 
course if you purchase altBrowser, you get a license to redistribute it 
with any of your standalones, including those on CD-ROM. Remember, you 
should install the .dll in the same folder as the standalone, as that is 
the standard place for externals.

best,
Chipp
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution