RE: terminate script from keyboard

2004-05-20 Thread xbury . cs
Paul,

This is the kind of bug that really fires me up... Talk about a
bug conglomerate - 6 for the price of one... 

Im glad Im not the only stupid user having these problems... 
I hope those are RR IDE development are listening 'coz
im in the middle of this kind of CRAP - and I've experienced 
this since day one in MC...

Bug 1, 2 and 3
I've told Scott years ago that cmd-period doesn't work on PCs...
My real question is why am i not being taken seriously? And 
above all, why is there a mention of this combo if it doesn't work?

Control-C should work to stop these scripts. 
Of course, when there is an endless loop, It's harder to intercept - 
RR or MC being such process gluttons...

Bug 4
One solution is to switch to the main RR process (you will have to make
the revtoolbar a palette to do that first or it wont show up in your 
taskbar.
Once you got this set up (you can use a startup plugin to set the toolbar
as a palette automatically). To have a better chance of your control-c
bring intercepted, you might need to click and control-c furiously until
it works...

Bug 5
My current crap bug - which is untraceable, no session log, no control-c, 
no solution... is that when I do a linkclick, and request the url, RR 
hangs 
on W2003... Not consistently, mind you, just to make things more 
interesting...

HyperCard had this basic finesse which RR is still years behind... I dont 
care
about DB engines, I care about jumping into a debug mode anytime 
cmd-shft-.
Having real variables displayed realtime in the VW, all messages showing 
in the MW,
etc... Why isn't this BASIC level of IDE interaction not available yet? 
Why is the
bug report window such a pain in the arse - if you dont see it, you start 
wondering 
about all kinds of things going wrong... etc, etc...

Im currently hacking my way through the RR IDE to get things the way they 
were!
Yet some of these things may not be fixed soon and without a solid IDE, 
there's
no way RR will win over Flash or VB anytime soon... And next RR upgrade, I 
have
to start over again... C'est la vie...

It's like drag'n'drop in Lotus Notes! Effective only where not needed...
Anyone care to comment or help? 

My 2 humble fired-up cents... No offense meant where needed


On 20.05.2004 14:14:21 use-revolution-bounces wrote:
Thanks Mark, Andy  Eric.

My problem was a bug where there was an answer command inside a
non-terminating repeat loop. I had some unsaved changes (other than the 
bug
:) that I didn't want to lose by killing RR completely. I got out of the
pickle by using the app browser to open the offending script, setting a
break point, and applying the changes. The script stopped and I was able 
to
fix it. Cool. Try that with Visual Studio.

What I was hoping for was a key combination to get me out of this (not 
that
it'll ever happen again!). I tried break and some others but with no 
luck.
Maybe because it was always waiting for the response to the answer 
command.
Is there some windows equivalent to Cmnd-. ?

-Paul



-Original Message-
From: Andy Burns [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 19, 2004 8:08 PM
To: [EMAIL PROTECTED]; How to use Revolution
Subject: Re: terminate script from keyboard


- Original Message -
From: Erik Hansen [EMAIL PROTECTED]
To: How to use Revolution [EMAIL PROTECTED]
Sent: Wednesday, May 19, 2004 7:52 PM
Subject: Re: terminate script from keyboard



  If the mouse is down -- THEN
  exit your script name
  end if

Eric,

if the mouse is down then exit name of your script

Forgetting my original typo, your solution is better if you have to do 
any
housekeeping before quitting the script.

Take it easy,

Andy

___
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

Visit us at http://www.clearstream.com
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream International does 
not accept legal responsibility for the contents of this message.

The information contained in this e-mail is confidential and may be legally 
privileged. It is intended solely for the addressee. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken or omitted to be 
taken in reliance on it, is prohibited and may be unlawful. Any views expressed in 
this e-mail are those of the individual sender, except where the sender specifically 
states them to be the views of Clearstream International or of any of its affiliates 
or subsidiaries.

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


Re: terminate script from keyboard

2004-05-20 Thread Andy Burns
 -Paul
 From: Andy Burns [mailto:[EMAIL PROTECTED]

Paul,

Did I goof that email.

When you're developing .rev stacks, Always turn on the Script Debug Mode.
If you open a stack with a bugged script you can just hit the Edit Script
button in the script error window and it'll stop the run-away script hell
and take you to your problem script.

Andy

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


RE: terminate script from keyboard

2004-05-20 Thread Springer, Paul
Wow - didn't mean to ruin your day Xavier. 

It's true that this is a problem and that, IMHO, RR tips, hints,
capabilities, and general support sometimes seems a little light for Windows
developers, but I suppose turn about is fair play. On the other hand, I was
able to find a way out that conventional IDEs would not have allowed, so I
was pretty happy. After reading your email I think maybe I should be really
angry too! ;)

Thanks Andy,

I think I finally did something like what you describe below. But how do I
see the script error window and thus the Edit Script button? I opened
the script by going through the application browser then I set a break point
to stop it.

-Paul



-Original Message-
From: Andy Burns [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 20, 2004 9:18 AM
To: How to use Revolution
Subject: Re: terminate script from keyboard

 -Paul
 From: Andy Burns [mailto:[EMAIL PROTECTED]

Paul,

Did I goof that email.

When you're developing .rev stacks, Always turn on the Script Debug Mode.
If you open a stack with a bugged script you can just hit the Edit Script
button in the script error window and it'll stop the run-away script hell
and take you to your problem script.

Andy

___
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: terminate script from keyboard

2004-05-20 Thread xbury . cs
On 20.05.2004 15:28:18 use-revolution-bounces wrote:
Wow - didn't mean to ruin your day Xavier.

Oh, dont worry, I waited since yesterday to see if it was a timeout 
problem...
And, yes, there's not such thing as a timeout in RR ;)

So I had to kill the process - twice... and lost some changes again... 
This is
why software evolution is so slow on RR that we have to call it a 
revolution! 

ROTFL - im kidding of course... RR is nice when it doesn't act up...
But it's a pain to have to save after EVERY script change... Which I 
highly
recommend to everyone to prevent fired-up user complains...

It's true that this is a problem and that, IMHO, RR tips, hints,
capabilities, and general support sometimes seems a little light for 
Windows
developers, but I suppose turn about is fair play. On the other hand, I 
was
able to find a way out that conventional IDEs would not have allowed, so 
I
was pretty happy. After reading your email I think maybe I should be 
really
angry too! ;)

Dont, RR is way faster than any other IDE... But it is young, 
under-resourced
and as hard as the RR team works, the great users that we are keep burying
them with bugs, wishes, whims and windows idiosynchracies. I presume RR
is entering (already!) the NASA state where they have more safety 
engineers
than production ;)

Thanks Andy,

I think I finally did something like what you describe below. But how do 
I
see the script error window and thus the Edit Script button? I opened
the script by going through the application browser then I set a break 
point
to stop it.

BUG 89353
NEVER close the Script error window without clearing the error first!
On windows at least... If you and you can, try to open it again to clear
the error via the appmanager or calling it from the Msg box...

And im off...

-Paul



-Original Message-
From: Andy Burns [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 20, 2004 9:18 AM
To: How to use Revolution
Subject: Re: terminate script from keyboard

-Paul
 From: Andy Burns [mailto:[EMAIL PROTECTED]

Paul,

Did I goof that email.

When you're developing .rev stacks, Always turn on the Script Debug 
Mode.
If you open a stack with a bugged script you can just hit the Edit 
Script
button in the script error window and it'll stop the run-away script 
hell
and take you to your problem script.

Andy

___
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


Visit us at http://www.clearstream.com
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream International does 
not accept legal responsibility for the contents of this message.

The information contained in this e-mail is confidential and may be legally 
privileged. It is intended solely for the addressee. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken or omitted to be 
taken in reliance on it, is prohibited and may be unlawful. Any views expressed in 
this e-mail are those of the individual sender, except where the sender specifically 
states them to be the views of Clearstream International or of any of its affiliates 
or subsidiaries.

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


Unix engines

2004-05-20 Thread Heather Nagey
Hi Folks,

Just to let those of you who are interested know, we are gradually making
the Unix engines for 2.2 available: we now have BSD, HP-UX and Sparc Solaris
available, more to appear shortly.

You can download from

http://www.runrev.com/downloads/unix.shtml

Regards,

Heather
-- 

** For a faster response to all licensing, support, and technical issues,
please now send mail to [EMAIL PROTECTED] **

Heather Nagey ~ [EMAIL PROTECTED] ~ http://www.runrev.com/
Runtime Revolution - User-Centric Development Tools
Tel +44 (0) 131 7184333 Fax +44 (0) 845 4588487
~~~ Check our web site for new Revolution editions  special offers ~~~

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


Re: About Valentina XCMD...

2004-05-20 Thread Mark Brownell
On Sunday, May 16, 2004, at 05:35  PM, Ken Ray wrote:
Here's the basics that I use - the rest you can get from the docs Jan
pointed you to:
global gValentinaInit,gMainDBRef
on StartupDB
  get Valentina(SetDebugLevel,3)
Hi,
I keep getting an error:
TypeFunction: error in function handler
Object  Stack 1023090206
Lineget Valentina( SetDebugLevel, 3)
HintValentina
Every time I try to open any of the examples I get this same error 
message. I put the VXCMD_Macho_MC package on the root level as the 
Revolution app and moved the old classic version out of the same folder.

Is there a step I'm missing?
Thanks,
Mark
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


delete and put empty in url file: structures

2004-05-20 Thread rand valentine
 Hi, all. I am wondering if I have found a bug in runrev version 2.2 running
under mac os x.3.3. here is the problem:

if i have a script line that goes

   delete line x of url file:someFile.txt

the script crashes saying that the object cannot be found

but if i change the script to:

   put empty into line x of url file:someFile.txt

 then the script works. Even the transcript docs say that delete and put
empty... are equivalents. Why would the script crash with delete then but
not with put empty? I know there are no other errors with this script (ie,
the problem isn't about finding files or anything like that, it's _strictly_
about deleting a line), though I'm not sure if the error occurs with every
call to delete a line in every url file structure. this drove me batty
this morning, till i figured out what the problem was.

 thanks.

rand valentine


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


Re: Unix engines

2004-05-20 Thread Jim
On May 20, 2004, at 8:53 AM, Heather Nagey wrote:
Just to let those of you who are interested know, we are gradually 
making
the Unix engines for 2.2 available: we now have BSD, HP-UX and Sparc 
Solaris
available, more to appear shortly.

Is the BSD engine supposed to double as a CGI engine? I draw an error 
(Command not found) when trying to run a script from command line. 
Replacing with 2.1.2 BSD engine does the same as expected (which is a 
different error). I was hoping that maybe this one would work for me 
without having to install extra goodies on a BSD/OS (BSDi) 4.1

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


Re: problems with send and macosx .3.3

2004-05-20 Thread Dar Scott
On Wednesday, May 19, 2004, at 08:09 PM, [EMAIL PROTECTED] wrote:
do (send  QUOTE  tTransactionDataA[transaction] 
tTransactionData  QUOTE  to stack  QUOTE 
sRegisteredTransactionsA[tTransactionDataA[transaction]]  QUOTE
 in 0 milliseconds)
Maybe this is equivalent:
send tTransactionDataA[transaction] tTransactionData \
to stack sRegisteredTransactionsA[tTransactionDataA[transaction]] \
in 0
Or this:
get tTransactionDataA[transaction]
send it tTransactionData to stack sRegisteredTransactionsA[it] in 0
Or this:
put tTransactionDataA[transaction] into trans
put sRegisteredTransactionsA[trans] into transDest
send trans tTransactionData to stack transDest in 0
Dar Scott
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Database API placeholder question

2004-05-20 Thread K



I have a strange behavior I cannot explain.  When I create a SQL statement like below.


SELECT ca,cb,cc from :1 where fa=:2

In this case :1 and :2 is sent to the database with single quotes ('') around it  am I 
configuring something wrong? Is there a option to stop this? 

K

-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
Disclaimer:

Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely
coincidental. 
Any resemblance between the above and my own views is non-deterministic.

 The question of the existence of views in the absence of anyone to hold
them
is left as an exercise for the reader. The question of the existence of
the reader
 is left as an exercise for the second god coefficient. 
(A discussion of non-orthogonal, non-integral polytheism is beyond the
scope of this article.)



___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: problems with send and macosx .3.3

2004-05-20 Thread Dar Scott
On Wednesday, May 19, 2004, at 08:09 PM, [EMAIL PROTECTED] wrote:
tTransactionDataA[] is an array containing all of the data
tTransactionData is the same array, but as a flat string
Could the passwords that don't work include any of the delimiters in 
tTransactionData?

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


Re: delete and put empty in url file: structures

2004-05-20 Thread Dar Scott
On Thursday, May 20, 2004, at 08:21 AM, rand valentine wrote:
Even the transcript docs say that delete and put
empty... are equivalents.
These are not equivalent.  The 'delete' will get rid of a delimiter 
when appropriate.

I don't know whether that relates to your problem or not.
Dar Scott
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: delete and put empty in url file: structures

2004-05-20 Thread Raymond Griffith
On Thursday, May 20, 2004, at 10:21  AM, rand valentine wrote:
 Hi, all. I am wondering if I have found a bug in runrev version 2.2 
running
under mac os x.3.3. here is the problem:

if i have a script line that goes
   delete line x of url file:someFile.txt
the script crashes saying that the object cannot be found
but if i change the script to:
   put empty into line x of url file:someFile.txt
 then the script works. Even the transcript docs say that delete and 
put
empty... are equivalents.
They aren't really equivalent. Suppose you start with somevar equal to
1
2
3
and you say delete line 2 of somevar. You then get
1
3
but if you say put empty into line 2 of somevar you would get
1
3
So they aren't really the same.

Why would the script crash with delete then but
not with put empty?
Check out the whole thing. Perhaps you don't actually have that line! 
Putting empty into a line you don't have creates the line, by the way.


 know there are no other errors with this script (ie,
the problem isn't about finding files or anything like that, it's 
_strictly_
about deleting a line), though I'm not sure if the error occurs with 
every
call to delete a line in every url file structure. this drove me 
batty
this morning, till i figured out what the problem was.

 thanks.
rand valentine
___
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: delete and put empty in url file: structures

2004-05-20 Thread Mark Talluto
On May 20, 2004, at 7:21 AM, rand valentine wrote:
 Hi, all. I am wondering if I have found a bug in runrev version 2.2 
running
under mac os x.3.3. here is the problem:

if i have a script line that goes
   delete line x of url file:someFile.txt

Dear Rand,
Try reading in the contents of the file.  Delete the line you wish.  
Then write out the new contents to the same file.

--
Best regards,
Mark Talluto
http://www.canelasoftware.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: delete and put empty in url file: structures

2004-05-20 Thread Dar Scott
On Thursday, May 20, 2004, at 08:21 AM, rand valentine wrote:
   delete line x of url file:someFile.txt
the script crashes saying that the object cannot be found
...
   put empty into line x of url file:someFile.txt
Sometimes error messages miss the mark.
Could x be a zillion?
Dar Scott
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Imported Video Clip Won't Play

2004-05-20 Thread Roger Guay
Hello List
I have a one card stack into which I imported a QuickTime video clip 
titled Movie.mpg.  On the card I have a button with a mouseUp handler 
and the line: play videoClip Movie.mpg at 200, 100.  All I get is 
about 2 minutes of the rotating color wheel cursor followed by a black 
2-inch vertical band on the card.  The movie file size is 3.2 MB.  Any 
ideas?  BTW, I tried removing the .mpg from both the script and the 
name of the video clip but to no avail . . . same result!

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


Re: Imported Video Clip Won't Play

2004-05-20 Thread Pierre Sahores
Hi Roger,
Does the Movie.mpg open under QuickTime Payer ? If yes, save it, 
under QT Pro or equivalent, as Movie.mov or as Movie.mp4. Than, it 
will run OK from your Rev's player :)

Best, Pierre
Le 20 mai 04, à 21:01, Roger Guay a écrit :
Hello List
I have a one card stack into which I imported a QuickTime video clip 
titled Movie.mpg.  On the card I have a button with a mouseUp 
handler and the line: play videoClip Movie.mpg at 200, 100.  All I 
get is about 2 minutes of the rotating color wheel cursor followed by 
a black 2-inch vertical band on the card.  The movie file size is 3.2 
MB.  Any ideas?  BTW, I tried removing the .mpg from both the script 
and the name of the video clip but to no avail . . . same result!

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

--
Bien cordialement, Pierre Sahores
100, rue de Paris
F - 77140 Nemours
[EMAIL PROTECTED]
GSM:   +33 6 03 95 77 70
Pro:  +33 1 41 60 52 68
Dom:+33 1 64 45 05 33
Fax:  +33 1 64 45 05 33
Inspection académique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de productivité
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Database API placeholder question

2004-05-20 Thread Pierre Sahores
Hello,
It, mainly, depends from the way your SQL back-end is configured and 
interprets what he gets from your networked request. See the SQL db 
doc.

Best, Pierre
Le 20 mai 04, à 17:22, K a écrit :

I have a strange behavior I cannot explain.  When I create a SQL 
statement like below.

SELECT ca,cb,cc from :1 where fa=:2
In this case :1 and :2 is sent to the database with single quotes ('') 
around it  am I configuring something wrong? Is there a option to stop 
this?

K
-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
Disclaimer:
Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely
coincidental.
Any resemblance between the above and my own views is 
non-deterministic.

 The question of the existence of views in the absence of anyone to 
hold
them
is left as an exercise for the reader. The question of the existence of
the reader
 is left as an exercise for the second god coefficient.
(A discussion of non-orthogonal, non-integral polytheism is beyond the
scope of this article.)


___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

--
Bien cordialement, Pierre Sahores
100, rue de Paris
F - 77140 Nemours
[EMAIL PROTECTED]
GSM:   +33 6 03 95 77 70
Pro:  +33 1 41 60 52 68
Dom:+33 1 64 45 05 33
Fax:  +33 1 64 45 05 33
Inspection académique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire delta de productivité
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: problems with send and macosx .3.3

2004-05-20 Thread Pierre Sahores
Hi,
The way i would use, instead :
- use the post/http methods
- send a sequence of name1=value1name2=value2name3=value3etc...
- catch the socket incoming message, on the server-side Rev's app as a 
PostIn global

- set up a paramsswitcher handler able to parse the PostIn var and 
to pass requests to subhandlers on the mode :

if item 1 of PostIn is name1=value1 then
if  item 2 of PostIn is name2=value2 then subhandler1
else subhanler2
else...
end if
etc...
All works there as expected in using such kind of procs.
Best, Pierre
Le 20 mai 04, à 04:02, [EMAIL PROTECTED] a écrit :
I'm not sure to understand the way you are using to send the
actually, the client sends the login/password through a custom protocol
to the server (the client and server communicate via tcp/ip).. the
server socket receives the data and then uses the send command to 
send
the data received to the proper handler..

-Sean
___
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: terminate script from keyboard

2004-05-20 Thread Chipp Walters
Xavier,
I've been thinking about your problem. Turns out he was holding his cmd 
key on his Mac and pressing the . key on his PC. I told him to try using 
the ctrl key on his PC and voila-- Bob's your uncle.

Bug 1, 2 and 3
I've told Scott years ago that cmd-period doesn't work on PCs...
My real question is why am i not being taken seriously? And 
above all, why is there a mention of this combo if it doesn't work?

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


selected button

2004-05-20 Thread tzvi
Hi, On a card with a lot of buttons  how do I determine which button is 
clicked to avoid putting a mouseUp handler in every button, as by a 
field the selectedField
Thanks

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


Table Object

2004-05-20 Thread Gregory Lypny
Hi Everyone,
	Can the cell editing property of a table object be set by script?  I 
can't seem to find such a property in the online documentation.  I 
would like users to be able to toggle a field from being editable to 
not and vice versa.

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


Re: Database API placeholder question

2004-05-20 Thread Jan Schenkel
--- K [EMAIL PROTECTED] wrote:
 
 I have a strange behavior I cannot explain.  When I
 create a SQL statement like below.
 
 
 SELECT ca,cb,cc from :1 where fa=:2
 
 In this case :1 and :2 is sent to the database with
 single quotes ('') around it  am I configuring
 something wrong? Is there a option to stop this? 
 
 K
 

Hi Kevin,

You aren't doing anything wrong, and it shouldn't be
causing problems ; there is no option to stop it, but
you can always use the merge() function to build your
queries ; example :
--
  put Foo into tTable
  put 123456 into tRecID
  put merge(SELECT ca,cb,cc FROM [[tTable]] WHERE
fa=[[tRecID]]) into tSQLQuery
--

Hope this helped,

Jan Schenkel.

=
As we grow older, we grow both wiser and more foolish at the same time.  (La 
Rochefoucauld)




__
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: selected button

2004-05-20 Thread Jan Schenkel
--- tzvi [EMAIL PROTECTED] wrote:
 Hi, On a card with a lot of buttons  how do I
 determine which button is 
 clicked to avoid putting a mouseUp handler in every
 button, as by a 
 field the selectedField
 Thanks
 

Check out 'the target' ; example :
--
on mouseUp
  answer the target
end mouseUp
--

Hope this helped,

Jan Schenkel.

=
As we grow older, we grow both wiser and more foolish at the same time.  (La 
Rochefoucauld)




__
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: selected button

2004-05-20 Thread tzvi
On Thursday, May 20, 2004, at 05:28 PM, Jan Schenkel wrote:
--- tzvi [EMAIL PROTECTED] wrote:
Hi, On a card with a lot of buttons  how do I
determine which button is
clicked to avoid putting a mouseUp handler in every
button, as by a
field the selectedField
Thanks
Check out 'the target' ; example :
--
on mouseUp
  answer the target
end mouseUp
--
Hope this helped,
Yes it did.
Thanks
Jan Schenkel.
=
As we grow older, we grow both wiser and more foolish at the same 
time.  (La Rochefoucauld)



__
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer
___
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


[no subject]

2004-05-20 Thread Damien GOEL

_
Un mot doux à envoyer? Une sortie ciné à organiser? Faites le en temps
réel avec MSN Messenger! C'est gratuit!   http://ifrance.com/_reloc/m

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


Synchronized scrolling fields

2004-05-20 Thread Gregory Lypny
Hello all,
Does anyone have a handler for creating synchronized scrolling fields?  
What I'm thinking of is three fields: one is a table with data; another 
would be a fixed left column with line numbers or other labels that 
scrolls along vertically with the table; and the third would be a fixed 
first row with column labels that scrolls along with the table 
horizontally.  In other words, it would look much like a spreadsheet.  
I remember that MetaCard used to have an example with multiple 
vertically scrolling fields.  I was never able to make it work for the 
horizontal scroll, however.

Any tips or hints would be much appreciated.
Greg
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Synchronized scrolling fields

2004-05-20 Thread Sarah Reichelt
I am assuming that only the data field has scroll bars? In that case, 
it just needs a scrollBarDrag handler that sets the vScroll of the line 
numbers field to it's own vScroll and the hScroll of the column labels 
field to it's hScroll.

Cheers,
Sarah
On 21 May 2004, at 9:50 am, Gregory Lypny wrote:
Hello all,
Does anyone have a handler for creating synchronized scrolling fields? 
 What I'm thinking of is three fields: one is a table with data; 
another would be a fixed left column with line numbers or other labels 
that scrolls along vertically with the table; and the third would be a 
fixed first row with column labels that scrolls along with the table 
horizontally.  In other words, it would look much like a spreadsheet.  
I remember that MetaCard used to have an example with multiple 
vertically scrolling fields.  I was never able to make it work for the 
horizontal scroll, however.

Any tips or hints would be much appreciated.
Greg
___
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: Modal-like dialog box without using modal?

2004-05-20 Thread Sarah Reichelt
How about showing the progress bar on the main window rather than in a 
separate window. You could make that window modal while creating your 
thumbnails.
In answer to the question about trapping mouse clicks, you can always 
insert a frontScript that traps any events you want it to trap, then 
when you have finished your processing, remove the frontScript so that 
events are handled normally again.

Cheers,
Sarah
On 20 May 2004, at 5:55 pm, Frank Leahy wrote:
Hi,
I have a process that creates thumbnails, and I display a dialog box 
with a progress bar while this is happening.

I want to stop the user from doing anything else, i.e. I want the 
dialog box to be modal.  But if I make the dialog box modal, the 
make thumbnail process stops running.

My big problem is that I want to stop users bringing other windows to 
the front and clicking in those windows.  I've added a on 
resumeStack handler that brings the dialog box back to the front, but 
that doesn't work consistently.  I've also thought about putting a big 
transparent button on all open windows and trapping all mouse clicks, 
but that seems overkill.  Is there any way to trap all mouse clicks 
and key strokes on open windows without resorting to something like 
this?

How is anyone else handling this?
Thanks,
-- Frank
___
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


Plugins shut when suspending dev

2004-05-20 Thread Sarah Reichelt
I have a selection of plugins that open when I start Rev. I have some 
problems getting them to open as palettes, but that's a separate issue. 
My concern today is that when I suspend the development tools, the 
plugins all get closed, as do the regular palettes e.g. message box  
inspector. However when I restore the development tools, the built-in 
palettes came back on, but my plugins don't. A further wrinkle is that 
they don't appear in the Plugins menu, presumably because they are set 
to open on startup.

So here are my questions:
1. Is this a bug that I should report or just a feature?
2. Does anyone have a workaround?
3. Is it just me or is the list very quiet at the moment? What are you 
all up to that I don't know about :-)

Cheers,
Sarah
[EMAIL PROTECTED]
http://www.troz.net/Rev/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


html tag for page break?

2004-05-20 Thread Pat Trendler
I am using htmlText and revPrintText to print from scrollable fields from
various cards. How can I force a page break where I want it?

Thanks for any assistance.

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


Re: html tag for page break?

2004-05-20 Thread Mark Brownell
On Thursday, May 20, 2004, at 06:27  PM, Pat Trendler wrote:
I am using htmlText and revPrintText to print from scrollable fields 
from
various cards. How can I force a page break where I want it?

Thanks for any assistance.
Pat Trendler

I would put the htmlText of your scrollable field into a variable. You 
might need to deliberately strip all cr  return chars so that you have 
one long string in the variable and then replace /p with (/p  
return). Anyway I would count out the number of lines, select an 
appropriate line to cut at, check it for number of chars and cut it 
down to a size that fits a printed page and add /p to the end of 
the cut point. Then start the next page from the cut point with p

I wouldn't be surprised if there was a way or better way to set page 
lengths before printing. I've never tried to do this. Sounds like a 
nice feature to have though.

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


RE: About Valentina XCMD...

2004-05-20 Thread Ken Ray
 Every time I try to open any of the examples I get this same error 
 message. I put the VXCMD_Macho_MC package on the root level as the 
 Revolution app and moved the old classic version out of the 
 same folder.
 
 Is there a step I'm missing?

Mark, are you setting the externals of your stack to point to the
VXCMD_Macho_MC bundle? It sounds like Valentina's not hooked up.

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


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


RE: Synchronized scrolling fields

2004-05-20 Thread Ken Ray
Greg, unless you want different alignments in each field, you can use one
field with tabstops and set the vGrid property to true on the field. Put
your data in tab-delimited and it will truncate at the column boundaries.
Presto!

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


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Gregory Lypny
 Sent: Thursday, May 20, 2004 6:48 PM
 To: Revolution
 Subject: Synchronized scrolling fields
 
 
 Hello all,
 
 Does anyone have a handler for creating synchronized 
 scrolling fields?  
 What I'm thinking of is three fields: one is a table with 
 data; another 
 would be a fixed left column with line numbers or other labels that 
 scrolls along vertically with the table; and the third would 
 be a fixed 
 first row with column labels that scrolls along with the table 
 horizontally.  In other words, it would look much like a 
 spreadsheet.  
 I remember that MetaCard used to have an example with multiple 
 vertically scrolling fields.  I was never able to make it 
 work for the 
 horizontal scroll, however.
 
 Any tips or hints would be much appreciated.
 
   Greg
 
 ___
 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: About Valentina XCMD...

2004-05-20 Thread Mark Brownell
On Thursday, May 20, 2004, at 07:08  PM, Ken Ray wrote:
Mark, are you setting the externals of your stack to point to the
VXCMD_Macho_MC bundle? It sounds like Valentina's not hooked up.
Ken Ray
I went back to the same configuration as the Rev 2.2 download. All I 
did was to exchange the existing VXCMD_Macho_MC for a newer one. The 
idea is to leave all the different ones where they are because they 
might be needed for different builds. Any way I got the example 
working. I'm getting an error caused by this being used before 
initialization occurs.

Anyway I have it working on Mac 10.2.4; Rev 2.2
[Cross-post]
Note, error 306
kFBL_CacheIsNotPresent  = 306,
This means that you do some Valentina operation BEFORE ValentinaInit() 
call.
ValentinaInit() must be the first. It allocate cache for engine.

Ruslan Zasukhin
[more cross-post]
On 5/20/04 7:26 PM, Mark Brownell [EMAIL PROTECTED] wrote:
Does Rev 2.2 include some version of VXCMD on default ?
yes.
Which one ?
This: Valentina_Classic, version 1.9.8b4 on the same level as the
Revolution app.
Why you say that Rev 2.2 have old classic version of VXCMD?
it just does. Deep within the components folder is the global
environment folder that has the database_drivers folder etc..,
The Rev 2.2 download folder has a Valentina.txt doc that sais this:

MacOSValentina_Classic

MacOSXcomponents/global 
environment/database_drivers/MacOSX/VXCMD_macho
I think this is because they can build for different platforms.
Although strange, please ask Rev people.
Windowscomponents/global
environment/database_drivers/Win32/dbvalentina.dllcomponents/global
environment/database_drivers/Win32/VXCMD.dll

So they still use 1.9.8b4
This is not good,
As you have see now we use other named for VXCMD libs.
You must not remove their default libs, because then Rev not starts.
just add VXCMD macho.
Well, I know that exists developers that use Valentina with Revolution.
Let's wait for their help.
Check this: is it required REGISTER plugin in stack somehow ?
I know this is required for Windows.
it seems for OS X also.
Ruslan Zasukhin

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


Re: html tag for page break?

2004-05-20 Thread Pat Trendler
Thanks for your help Mark.

I already have the text from the fields in a variable. I don't want to
restrict the printed page to a certain number of lines, but I want to force
a new page after a particular field has been printed.

Maybe I'm being dumb here.  By the way this is win if it makes any
difference. (well it does explain me being dumb)

Pat Trendler
[EMAIL PROTECTED]



- Original Message - 
From: Mark Brownell [EMAIL PROTECTED]
To: How to use Revolution [EMAIL PROTECTED]
Sent: Friday, May 21, 2004 12:05 PM
Subject: Re: html tag for page break?



 On Thursday, May 20, 2004, at 06:27  PM, Pat Trendler wrote:

  I am using htmlText and revPrintText to print from scrollable fields
  from
  various cards. How can I force a page break where I want it?
 
  Thanks for any assistance.
 
  Pat Trendler


 I would put the htmlText of your scrollable field into a variable. You
 might need to deliberately strip all cr  return chars so that you have
 one long string in the variable and then replace /p with (/p 
 return). Anyway I would count out the number of lines, select an
 appropriate line to cut at, check it for number of chars and cut it
 down to a size that fits a printed page and add /p to the end of
 the cut point. Then start the next page from the cut point with p

 I wouldn't be surprised if there was a way or better way to set page
 lengths before printing. I've never tried to do this. Sounds like a
 nice feature to have though.

 Mark

 ___
 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


How do I retrieve MIDI input?

2004-05-20 Thread Weise, Christopher
Hello,

I'm a two-year list-lurker and rev user, coming from a 10 year attachment to
HyperCard. I finally have a question for which I can find no solution from
the list and/or docs. (I've read numerous MIDI threads, but they seem to
deal with output--formatting MIDI files, playing back through QT, etc.)

I want to capture raw MIDI input from an external source (typically a MIDI
keyboard), connected via USB. I cannot assure that users will have access to
a USB-serial converter. On Macs, I want to be able to go through CoreMIDI;
on PC, I don't know yet (Mac version comes first...). The old HyperMIDI
externals don't seem to work, at least in OSX.

Should/Can I:
1. Learn to write an external with my scripting-only (very meager outside of
HyperTalk) programming experience?

2. Use AppleScript and/or AppleEvents?

3. Uncover some script, external, or other solution I've missed?

4. Find another alternative altogether?

5. Give up?

Does anyone do this, or (perhaps) know of an apple-scriptable MIDI utility
from which I could retrieve the data and deal with it in Rev (only way I can
think to do it...)? Thanks for any and all sage advice.


---
Chris Weise
Music and Fine Arts
Johnson C. Smith University
Charlotte, NC
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


HyperCard Address Stack Conversion

2004-05-20 Thread WebSense
I am in search of a solution to a seemingly simple problem.  
Ideally, I would like to find a commercial product that solves the 
problem.  I do not want to invest time and effort in developing a 
solution myself.  I have been told that Runtime Revolution might 
be a solution to the problem, but my evaluation of the product 
seems to indicate otherwise.

I have reviewed the Runtime Revolution archives, visited 
numerous Runtime Revolution related Web sites, and talked to 
several Runtime Revolution consulting firms as well as Runtime 
Revolution technical support.  No one has been able to offer a 
commercial product or an off-the-shelf solution.  I also searched 
Google with no luck.  However, several people suggested that I 
post a message to this mailing list.  The problem that I would 
like to solve is described below:

1. I have a large number of HyperCard Address stacks on an old 
   Power Macintosh system running Mac OS 8.1.  I created these 
   stacks by cloning the original HyperCard Address stack that 
   was included with the early versions of the Macintosh 
   operating system.  I have had some of these Address stacks for 
   more than 12 years.  I am currently using HyperCard Version 
   2.1.

2. I would like to convert these HyperCard Address stacks to a 
   new IBM ThinkPad T40 running Windows XP Professional.  I 
   would like to retain the creation, deletion, modification, and 
   search functions that are currently provided by HyperCard.  I 
   would also like the ability to print a single card or an entire 
   report of the stack.  I have more than 100 HyperCard Address 
   stacks to be converted.

3. I am currently using Nine to Five Reports with HyperCard to 
   generate reports on the Macintosh.  My report requirements are 
   very simple.  The report format consists of multiple cards in 
   two columns on each page of the report.  All text on each card 
   is printed on the report.  Each page is automatically filled 
   before going to the next page, and a card is never split between 
   columns or pages.  This is all done using the Nine to Five 
   Reports software.  The report header contains page numbers, a 
   title that is equal to the stack file name, and the date and time 
   of the report.

4. I am only interested in converting HyperCard Address stacks 
   from the Power Macintosh to the IBM ThinkPad T40.  I have 
   no requirement to convert any other types of stacks.  The 
   HyperCard Address stack that I am using is the original design 
   from Apple.  I have not modified it in any way.

I was led to believe that I could use Runtime Revolution to 
migrate these HyperCard Address stacks from my Macintosh to my 
ThinkPad.  After downloading and installing Runtime Revolution 
2.2, I was able to convert my HyperCard Address stacks to 
Runtime Revolution files.  Prior to conversion I compacted the 
stacks three times.  However, I encountered several problems as 
described below:

1. I tried printing an individual card using the Revolution File-
   Print Card command.  Revolution printed the card, but the 
   result was not readable.  Revolution appears to be printing the 
   text multiple times with a slight offset, making the text 
   unreadable due to overlaid printing.  Either that, or Revolution 
   has a problem with the fonts.

2. I tried generating a report using the Revolution Tools-Report 
   Builder command.  However, I was not able to print a report.  
   When I click the Print Report button at the bottom right-hand 
   side of the dialogue box, nothing happens.

3. The tried to search the card stack using the Revolution Edit-
   Find and Replace command.  This command opened the Find 
   and Replace dialogue window.  However, when I enter a text 
   string in the Find field, and press the Find button, the system 
   always reports 0 objects found.  This is true regardless of 
   whether I am searching the This Card, This Stack, or This 
   Stack File.

4. I have inspected the scripts within the stack, and all of the ones 
   that I need are working.  The problems that I am experiencing 
   are limited solely to printing cards, generating reports, and 
   searching cards for text strings.

Given the above problems, is Runtime Revolution the right product 
for the job?  If so, how do I get around these problems?  If not, do 
you have any recommendations for a product that can satisfy my 
requirements?  Again, the requirements are very simple as shown 
below:

1.Convert HyperCard Address stacks from the Macintosh to the PC
2.Provide the ability to create, delete, modify, and search cards
3.Provide the ability to print a single card or to print an entire 
  report of cards within the stack

If you have a solution to this problem, please post your solution or 
send me an email.  I am willing to pay a reasonable price for an 
off-the-shelf solution, but I am reluctant to engage in a consulting 
contract to do customized work.  I would prefer to use a 

Re: QuickTime capabilities question

2004-05-20 Thread Erik Hansen

--- Graham Samuel [EMAIL PROTECTED]
wrote:
 I found out that you can't force 
 Windows users to install QT, but that's
 another story...

so what do you use, Windows Media Player?

brimming with curiosity,

Erik Hansen

=
[EMAIL PROTECTED]http://www.erikhansen.org




__
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: QuickTime capabilities question

2004-05-20 Thread Richard Gaskin
Graham Samuel [EMAIL PROTECTED] wrote:
I found out that you can't force 
Windows users to install QT, but that's
another story...
Of course you can't force anyone to install anything, but if the 
benefits are compelling enough it's not hard to get users to choose to 
install QT, and even easier if you get the free license from Apple to 
include the QT installer on your product's CD.  With the HyperRESEARCH 
product I make for ResearchWare we haven't had a single complaint from 
Win users about installing QT; given the wide range of formats it allows 
our product to support they're often glad we use it.

But of course acceptance will depend on the market the software 
addresses.  What sort of audience are you finding resistance to QT in?

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 Rev tools and more:  http://www.fourthworld.com/rev
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: HyperCard Address Stack Conversion

2004-05-20 Thread Richard Gaskin
[EMAIL PROTECTED] wrote:
 I tried printing an individual card using the Revolution File-
 Print Card command.  Revolution printed the card, but the 
 result was not readable.  Revolution appears to be printing the 
 text multiple times with a slight offset, making the text 
 unreadable due to overlaid printing.  Either that, or Revolution 
 has a problem with the fonts.
I've had pretty good experiences using printing commands in Rev. We've 
done a lot of printing for a number of products I make and when we get a 
support request with oddities like that I've found that in most cases 
merely updating the printer driver to the latest version available from 
the manufacturer solves the problem.

I can't guarantee that'll fix it for your circumstance, but it's worth 
trying.  Windows is notoriously patchworked, with the BIOS, OS, 
motherboard, printer, etc. all coming from different manufacturers. 
With such complexity the need for an occassional driver update is to be 
expected.

If you find that updating the driver doesn't resolve the issue please 
consider submitting a report to Bugzilla:
http://www.runrev.com/revolution/developers/bugdatabase/

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 Rev tools and more:  http://www.fourthworld.com/rev
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution