Re: Message Box History

2009-11-25 Thread Howard Bornstein
On Wed, Nov 25, 2009 at 8:53 AM, Mike Kerner mikeker...@roadrunner.comwrote:

 I thought I vaguely recalled a way to pull up message box history.  Maybe
 I'm thinking of some plugin.


I know you can use the up and down arrow keys to cycle through the history
of previous items in the message box, but I don't know off-hand a way to see
the entire list at once. Maybe someone else knows that trick.

-- 
Regards,

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


Re: Message Box History

2009-11-25 Thread DunbarX
I modified the script of the message field in the message box for my own 
purposes, but if you add just one line to the enterInField and 
returnInField handlers there, you can send the contents of the field to some 
storage 
facility every time you use it:

put me [ the date  the time]  return after yourMessageHistoryContainer

Never had an issue with it, though it is fiddling with the IDE a bit.

Craig Newman
In a message dated 11/25/09 3:29:09 PM, howard.bornst...@gmail.com writes:


 I know you can use the up and down arrow keys to cycle through the 
 history
 of previous items in the message box, but I don't know off-hand a way to 
 see
 the entire list at once. Maybe someone else knows that trick.
 

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


Re: Message Box History

2009-11-25 Thread Mark Wieder
Howard-

Wednesday, November 25, 2009, 12:28:56 PM, you wrote:

 I know you can use the up and down arrow keys to cycle through the history
 of previous items in the message box, but I don't know off-hand a way to see
 the entire list at once. Maybe someone else knows that trick.

put the cREVSingleLineHistory of stack revPreferences

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

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


Re: Message Box History

2009-11-25 Thread stephen barncard
The late Eric Chatonet's Message Box picker  might be good.

http://www.sosmartsoftware.com/?r=revolutionl=en

Message Box Picker 1.1
Utility for Revolution Studio or Enterprise
Freeware
Additional functionalities for the message box
This utility reorganizes the message history and puts the messages into
chronological order, deletes any doubles and installs in the message box a
drop-down menu that can be completely personalized and that makes it
possible to bring up or to send a message with one mouse click.
Bilingual utility (installer and uninstaller.) Help stack is included.

Identical appearance on all platforms.
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


2009/11/25 dunb...@aol.com

 I modified the script of the message field in the message box for my own
 purposes, but if you add just one line to the enterInField and
 returnInField handlers there, you can send the contents of the field to
 some storage
 facility every time you use it:

 put me [ the date  the time]  return after yourMessageHistoryContainer

 Never had an issue with it, though it is fiddling with the IDE a bit.

 Craig Newman
 In a message dated 11/25/09 3:29:09 PM, howard.bornst...@gmail.com writes:


  I know you can use the up and down arrow keys to cycle through the
  history
  of previous items in the message box, but I don't know off-hand a way to
  see
  the entire list at once. Maybe someone else knows that trick.
 

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

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


Re: Message Box History

2009-11-25 Thread DunbarX
Now that is a much cleaner solution.

Once again, since I cannot remember anything anymore, where are this and 
similar underground goodies documented?

In a message dated 11/25/09 3:49:37 PM, mwie...@ahsoftware.net writes:


 put the cREVSingleLineHistory of stack revPreferences
 

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


Re: Message Box History

2009-11-25 Thread Mikey
I would LOVE to know all the underground goodies, because I'd like to put
them into a Tao of RR document.

On Wed, Nov 25, 2009 at 15:52, dunb...@aol.com wrote:

 Now that is a much cleaner solution.

 Once again, since I cannot remember anything anymore, where are this and
 similar underground goodies documented?

 In a message dated 11/25/09 3:49:37 PM, mwie...@ahsoftware.net writes:


  put the cREVSingleLineHistory of stack revPreferences
 

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




-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
  and did a little diving.
And God said, This is good.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Message Box History

2009-11-25 Thread Mark Wieder
Craig-

Wednesday, November 25, 2009, 12:52:42 PM, you wrote:

 Now that is a much cleaner solution.

 Once again, since I cannot remember anything anymore, where are this and
 similar underground goodies documented?

You want all the undocumented stuff *documented*? Bwahaha...

Anyway, it's in the preOpenStack handler of stack MessageBox.
There's lots of stuff in custom properties of the revPreferences stack
that probably should be somewhere else, but that's where the IDE puts
it, so we're stuck with it.

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

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


Re: Message Box History

2009-11-25 Thread Richard Gaskin

DunbarX wrote:

Once again, since I cannot remember anything anymore, where are this and 
similar underground goodies documented?


Many of them aren't; I'm still waiting for a leak on all the options for 
the _internal command.


But there's a lot of good stuff in the Engine Change Log, down in the 
section toward the bottom labeled Currently Unsupported Feature.


Here's one related to the Message Box that's kinda cool if you need it:

--

the revMessageBoxRedirect
~

This global property allows you to configure what happens when the value 
of the 'msg' pseudo-variable changes.


When set to empty, the old behaviour will be used.

When set to the long id of a field, the old behaviour is replicated but 
instead of 'msg' being put into field 1 of card 1 of stack Message 
Box, it is put into the target field. (Note that this form will also 
cause the field's stack to be modeless'ed and raised).


When set to the long id of a non-field object, the specified object will 
receive a 'msgChanged' message meaning that you have complete control 
over what to do with the updated value of 'msg'.


NB. This property is only available in the IDE engine.

--

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


Re: Message Box History

2009-11-25 Thread J. Landman Gay

dunb...@aol.com wrote:


Once again, since I cannot remember anything anymore, where are this and 
similar underground goodies documented?


They aren't, because they are part of the IDE code. They're just custom 
handlers and properties, meant only for internal use, like anything we'd 
write ourselves. But you can go digging and find stuff if you're brave 
enough. Just note that because they're internal, they are subject to 
change without notice.


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


Re: Message box mild oddity

2009-03-27 Thread Colin Holgate

Try this:

on mouseUp
   put space  the selectedLine of me into fld message field of  
stack message box
   put select before text of fld  quote  message field  quote  
 of stack  quote  message box  quote into whattodo

   send whattodo to this stack in 30
end mouseUp



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


Re: Message box mild oddity

2009-03-27 Thread DunbarX
And I thought I was the klugeMaster.

Craig


In a message dated 3/27/09 1:17:45 PM, co...@rcn.com writes:


 Try this:
 
 on mouseUp
     put space  the selectedLine of me into fld message field of 
 stack message box
     put select before text of fld  quote  message field  quote 
  of stack  quote  message box  quote into whattodo
     send whattodo to this stack in 30
 end mouseUp
 
 




**
Free Credit Report and Score Tracking! Get it Now for $0 at 
CreditReport.com. 
(http://pr.atwola.com/promoclk/100126575x1220474599x1201401934/aol?redir=http:%2F%2Fwww.creditreport.com%3Fsrc%3Daolemail%26kwd%3Dmlftrtextlin
k)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Message box mild oddity

2009-03-27 Thread DunbarX
Colin:

On my machine, the wait time for the send command is about 50% effective if 
I wait 7 ticks. Perfect with 9, no go with 5.

Simply inserting a wait command line in lieu of the send line does nothing 
at all. The entire text is selected after whatever interval is specified. So 
why does the internal wait in the send command differ from a separate wait 
command? Sending the message somehow is different than simply executing the 
next 
line, just like coming from outside the field somehow seems to work just fine.

Craig.

In a message dated 3/27/09 1:17:45 PM, co...@rcn.com writes:


 Try this:
 
 on mouseUp
     put space  the selectedLine of me into fld message field of 
 stack message box
     put select before text of fld  quote  message field  quote 
  of stack  quote  message box  quote into whattodo
     send whattodo to this stack in 30
 end mouseUp
 
 



**
Free Credit Report and Score Tracking! Get it Now for $0 at 
CreditReport.com. 
(http://pr.atwola.com/promoclk/100126575x1220474599x1201401934/aol?redir=http:%2F%2Fwww.creditreport.com%3Fsrc%3Daolemail%26kwd%3Dmlftrtextlin
k)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Message box mild oddity

2009-03-27 Thread Colin Holgate


On Mar 27, 2009, at 2:03 PM, dunb...@aol.com wrote:


 So
why does the internal wait in the send command differ from a  
separate wait

command?


The send happens after the selecting of the message box text has  
happened. Doing an inline wait would be before the selecting of the  
message box will happen. I'm not surprised that changing the timing  
makes a difference, just use 10, and don't worry about wasting that  
sixth of a second of your life.



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


Re: Message box mild oddity

2009-03-27 Thread DunbarX
Colin.

The text is put into msg
I wait
I select before the text of msg.

Or

The text is put into msg
I (you) load a variable with a command to select before the text of msg
I wait, and send the command.

Not the same order?

I have the time. I am trying to have the wherewithal. Remember, clicking 
outside the field makes the expected behavior happen back in the field. It is 
something about getting away from it all, which sending a message instead of 
executing yet another line of code might somehow do.

And then why would keeping the mouse down for (probably) 10 ticks always 
work? It is, after all, a mouseUp handler, and that delay works, though it 
should 
not. All I did was dally in releasing the button?

How do it know?

Craig




In a message dated 3/27/09 2:12:24 PM, co...@rcn.com writes:


 The send happens after the selecting of the message box text has 
 happened. Doing an inline wait would be before the selecting of the 
 message box will happen. I'm not surprised that changing the timing 
 makes a difference, just use 10, and don't worry about wasting that 
 sixth of a second of your life.
 
 




**
Check all of your email inboxes from anywhere on the web.  Try 
the new Email Toolbar now! 
(http://toolbar.aol.com/mail/download.html?ncid=txtlnkusdown0027)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Message box mild oddity

2009-03-27 Thread Colin Holgate


On Mar 27, 2009, at 2:55 PM, dunb...@aol.com wrote:


The text is put into msg
I wait
I select before the text of msg.

Or

The text is put into msg
I (you) load a variable with a command to select before the text of  
msg

I wait, and send the command.

Not the same order?


In the second case there were idle events between the text being put  
and the selection being set.


The holding the mouse down may be introducing stilldown events that  
could change the conditions.


You have bigger issues in your script anyway, such as it doesn't work  
if you haven't yet shown the message box.



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


Re: Message box mild oddity

2009-03-27 Thread DunbarX
Picky.

In a message dated 3/27/09 3:03:57 PM, co...@rcn.com writes:


 
 You have bigger issues in your script anyway, such as it doesn't work 
 if you haven't yet shown the message box.
 




**
Check all of your email inboxes from anywhere on the web.  Try 
the new Email Toolbar now! 
(http://toolbar.aol.com/mail/download.html?ncid=txtlnkusdown0027)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: message box history - confused

2008-10-02 Thread Bernard Devlin
Bonjour Eric

Well, I think it all depends on perspective - the sun probably doesn't see
itself as a star either, from its perspective it's just a big planet
surrounded by some less tropical planets.  But I apologize if my praise was
embarrassing, and I will try to prevent myself from causing you
embarrassment in future (although of course I still welcome any help you can
provide!)
I am interested in what you say that the message history should not be saved
if Rev crashes.  Since they are saved, that gives me something to
investigate.

I had implemented my own backscript to log all the standard Rev messages and
log them, but it didn't reveal anything untoward preceding a crash.  Then I
found out about Rev's own built-in (but undocumented) verboseLog.txt, which
logs far more things (certainly including the setting of revGeneral custom
properties, and apparently also function calls).  The log produced this way
is far more verbose than mine (they are even logging things like 'idle'
messages).  However, after analyzing that log following two crashes
yesterday, it also revealed nothing (the last few statements in it were just
'mouseMove' and 'mouseLeave').

Since Jacques informs us that this is also the logging mechanism used in the
Windows crash logs, and they were unhelpful to Runrev in diagnosing my
crashes on Vista, it looks to me that unless we as users can identify some
observable sequence of actions on our part there is currently no tool that
aids in debugging crashes.

Bernard

On Wed, Oct 1, 2008 at 11:00 PM, Eric Chatonet 
[EMAIL PROTECTED] wrote:

 Bonsoir Bernard,

 Of course, I'm not a star: I'm just blinking in the dark when I can.
 MB messages are saved when Rev quits without problem: in case of crash,
 they are not saved.
 So, I assume that in you case, it will not help.

 Probably, you could use 4W_UmbrellaMan.rev from Richard Gaskin (
 http://www.fourthworld.com/products/devolution/index.html) in order to
 modify it to write a log on disk that will allow you to get relevant
 results.
 Best regards from Paris,
 Eric Chatonet.

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


Re: message box history - confused

2008-10-01 Thread Eric Chatonet

Bonsoir Bernard,

Of course, I'm not a star: I'm just blinking in the dark when I can.
MB messages are saved when Rev quits without problem: in case of  
crash, they are not saved.

So, I assume that in you case, it will not help.

Probably, you could use 4W_UmbrellaMan.rev from Richard Gaskin  
(http://www.fourthworld.com/products/devolution/index.html) in order  
to modify it to write a log on disk that will allow you to get  
relevant results.


Le 30 sept. 08 à 17:44, Bernard Devlin a écrit :

Thank you, Eric. You're a star.  I doubt I'll ever know as much as  
you do,

because you're already so far ahead :-)
So, I'm guessing that this revPreferences stack is updated every
returnInField in the MB.  I'll have to go and have a look at that.

Bernard

On Tue, Sep 30, 2008 at 1:55 PM, Eric Chatonet 
[EMAIL PROTECTED] wrote:


Bonjour Bernard,

All this is normal :-)
All messages are stored in the cREVSingleLineHistory of stack
revPreferences and there is only one stack revPreferences for
consistency when working with different Rev versions.

Le 30 sept. 08 à 13:57, Bernard Devlin a écrit :

 But this new behaviour (well, new to me) looks like the MB  
history is

being
shared between both 2.9 and 3.0.  If I had the standard  
installation,

where
someone had upgraded to Rev 3.0 from 2.9 (using check for  
updates), I

might
understand that Rev was saving the MB history.  But since I'm  
running two
independent installations of Rev, I'm confused by the MB history  
being

shared.

Is this normal?  And if so, how is it that Rev is sharing this  
history?
I've checked for hidden (dot) files in my Linux user directory,  
and there

are none there that seem to be associated with this.



Best regards from Paris,
Eric Chatonet.


Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



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


Re: message box history - confused

2008-09-30 Thread Eric Chatonet

Bonjour Bernard,

All this is normal :-)
All messages are stored in the cREVSingleLineHistory of stack  
revPreferences and there is only one stack revPreferences for  
consistency when working with different Rev versions.


Le 30 sept. 08 à 13:57, Bernard Devlin a écrit :

But this new behaviour (well, new to me) looks like the MB history  
is being
shared between both 2.9 and 3.0.  If I had the standard  
installation, where
someone had upgraded to Rev 3.0 from 2.9 (using check for updates),  
I might
understand that Rev was saving the MB history.  But since I'm  
running two

independent installations of Rev, I'm confused by the MB history being
shared.

Is this normal?  And if so, how is it that Rev is sharing this  
history?
I've checked for hidden (dot) files in my Linux user directory, and  
there

are none there that seem to be associated with this.


Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



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


Re: message box history - confused

2008-09-30 Thread Bernard Devlin
Thank you, Eric. You're a star.  I doubt I'll ever know as much as you do,
because you're already so far ahead :-)
So, I'm guessing that this revPreferences stack is updated every
returnInField in the MB.  I'll have to go and have a look at that.

Bernard

On Tue, Sep 30, 2008 at 1:55 PM, Eric Chatonet 
[EMAIL PROTECTED] wrote:

 Bonjour Bernard,

 All this is normal :-)
 All messages are stored in the cREVSingleLineHistory of stack
 revPreferences and there is only one stack revPreferences for
 consistency when working with different Rev versions.

 Le 30 sept. 08 à 13:57, Bernard Devlin a écrit :

  But this new behaviour (well, new to me) looks like the MB history is
 being
 shared between both 2.9 and 3.0.  If I had the standard installation,
 where
 someone had upgraded to Rev 3.0 from 2.9 (using check for updates), I
 might
 understand that Rev was saving the MB history.  But since I'm running two
 independent installations of Rev, I'm confused by the MB history being
 shared.

 Is this normal?  And if so, how is it that Rev is sharing this history?
 I've checked for hidden (dot) files in my Linux user directory, and there
 are none there that seem to be associated with this.


 Best regards from Paris,
 Eric Chatonet.
 
 Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
 Email: [EMAIL PROTECTED]/
 


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

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


Re: message box

2008-06-29 Thread Friedrich F. Grohmann

That makes sense. Thanks, Mark.

Fritz


On 29 Jun 2008, at 01:22, Mark Schonewille wrote:


Hi Fritz,

I don't think these commands ever worked form the message box,  
because the text of the message box is selected after executing  
syntax from it.



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


Re: message box

2008-06-28 Thread Mark Schonewille

Hi Fritz,

I don't think these commands ever worked form the message box, because  
the text of the message box is selected after executing syntax from it.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html 
 for more info.


On 28 jun 2008, at 18:17, Friedrich F. Grohmann wrote:

None of the text selection related commands (select text of ...,  
select after ... etc.) seem to work any longer from the message box.


Revolution Version 2.9.0 Build 610 on a Power PC G 4 Mac OS 10.4.11.


Fritz




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


Re: Message box weirdness

2008-06-19 Thread Klaus Major

Hi Mark,


Has anyone seen this type of thing before

I have a group (a field, a couple of buttons), and I have a handler  
(updateBundles) in it's script that retrieves a list of files from  
somewhere else, filters the list, and does some other stuff to the  
filtered result, and puts it into the message box.
When I issue the command  from the message box, ie. send  
updateBundles to grp images.grp, the list is retrieved and  
immediately displayed without any filtering.
If I issue the command (simply updateBundles) from a button in the  
group, or send updateBundles to grp images.grp in the script of  
any button, all goes as planned.


How weird is that?


Maybe this is related to this bug:
http://quality.runrev.com/qacenter/show_bug.cgi?id=6434


Best,

Mark


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


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


Re: Message box history menu (was: Re: ctrl-y does a paste on Mac?)

2007-05-19 Thread Jim Ault
Excellent utility!
I find that with Rev I don't use the message box as often as I used to  (in
the HCard days)  I was much more into using stacks rather than creating
them.

I will check this out.
Thanks

Jim


On 5/19/07 5:52 AM, Eric Chatonet [EMAIL PROTECTED]
wrote:

 Hi Jim,
 
 Le 18 mai 07 à 01:57, Jim Ault a écrit :
 
 Actually, in Hypercard 1.0, one of the things that Kevin Altis
 created and I
 (in my Portland, Oregon days) expanded on was a msg box and command
 history
 menu.  Very cool to have the most recent commands in a menu that
 was easy to
 maintain.
 
 You might have a look at Message Box Picker: http://
 www.sosmartsoftware.com/?r=revolutionl=en
 Additional functionalities for the message box:
 This utility reorganizes the message history and puts the messages
 into chronological order, deletes any doubles and installs in the
 message box a drop-down menu that can be completely personalized and
 that makes it possible to bring up or to send a message with one
 mouse click.
 Bilingual utility (installer and uninstaller.) Help stack included.
 :-)
 
 Best regards from Paris,
 Eric Chatonet.
 
 http://www.sosmartsoftware.com/
 [EMAIL PROTECTED]/
 
 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: Message Box

2007-05-16 Thread J. Landman Gay

Shari wrote:

Is it safe to remove the Message Box from a standalone?


Yes. Rev doesn't normally add it, so you may have done that in the MC 
IDE. Easiest way to get rid of it is to go back to MC, remove it there 
with the resource mover, save the stack, and then re-open it in Rev.


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


Re: Message Box appears

2006-12-01 Thread Dave

put the scaledScore[memoryforstories] of field data1 into msg


Has got me before now! They can be so hard to find when you are  
writing lots of stuff to the message box for debugging, and then  
forget to delete just one of them! This is especially true in a  
library stack, I had a rouge put xxx in a library that took me ages  
to track down, I eventually found it in a in function a few levels  
away from the main API Call!


I think an option that turned off the put xxx shortcut would be a  
good idea!


All the Best
Dave


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


Re: Message Box appears

2006-12-01 Thread Mark Smith

Me too...

Thinking aloud, as it were, would a handler like this work?

on checkScript pScript
  repeat for each line L in pScript
add 1 to lineCount
if put is in L AND into is not in L  then put lineCount   
comma after possibleProblems

  end repeat
 put possibleProblems
end checkScript

I guess we'd need to consider into msg and into message etc... as  
well as before, after and so on...


If we had a completely reliable version, we could even have it  
comment out those lines.


Or has anyone already done this?

Mark

On 1 Dec 2006, at 11:36, Dave wrote:


put the scaledScore[memoryforstories] of field data1 into msg


Has got me before now! They can be so hard to find when you are  
writing lots of stuff to the message box for debugging, and then  
forget to delete just one of them! This is especially true in a  
library stack, I had a rouge put xxx in a library that took me  
ages to track down, I eventually found it in a in function a few  
levels away from the main API Call!


I think an option that turned off the put xxx shortcut would be a  
good idea!


All the Best
Dave


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

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


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


Re: Message Box appears

2006-12-01 Thread Dave

Hi,

Well, I was thinking leave the explicit forms as they are as at least  
you can do a global find on msg or messagebox, but you can't  
search for the shorthand version without hitting every put in the  
whole stack(s).


All the Best
Dave


On 1 Dec 2006, at 12:52, Mark Smith wrote:


Me too...

Thinking aloud, as it were, would a handler like this work?

on checkScript pScript
  repeat for each line L in pScript
add 1 to lineCount
if put is in L AND into is not in L  then put lineCount   
comma after possibleProblems

  end repeat
 put possibleProblems
end checkScript

I guess we'd need to consider into msg and into message etc...  
as well as before, after and so on...


If we had a completely reliable version, we could even have it  
comment out those lines.


Or has anyone already done this?

Mark

On 1 Dec 2006, at 11:36, Dave wrote:


put the scaledScore[memoryforstories] of field data1 into msg


Has got me before now! They can be so hard to find when you  
are writing lots of stuff to the message box for debugging, and  
then forget to delete just one of them! This is especially true in  
a library stack, I had a rouge put xxx in a library that took me  
ages to track down, I eventually found it in a in function a few  
levels away from the main API Call!


I think an option that turned off the put xxx shortcut would be  
a good idea!


All the Best
Dave


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

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


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

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


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


Re: Message Box appears

2006-12-01 Thread Jim Ault
On 12/1/06 3:36 AM, Dave [EMAIL PROTECTED] wrote:
 Has got me before now! They can be so hard to find when you are
 writing lots of stuff to the message box for debugging, and then
 forget to delete just one of them! This is especially true in a
 library stack, I had a rouge put xxx in a library that took me ages
 to track down, I eventually found it in a in function a few levels
 away from the main API Call!
 
 I think an option that turned off the put xxx shortcut would be a
 good idea!

Chipp Walters used to have something on his site that would do this.  Took a
quick look and did not find it.  Check the archives, but I think the Altuit
site has changed so much that old info will be obsolete.

Perhaps Chipp may know where it is hiding.

PS  I always use 'into msg' or 'after msg' so I can find them later.
For a short time I always added !! like

put fld output  !!
but got out of the habbit.

Of course another way is to make your own lib handler

putMsg flag upperTier is  fUpperTier

on putMsg txtStr
 put txtStr
end putMsg 

then turn off the 'put txtStr' line
or find the putMsg lines

Jim Ault
Las Vegas


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


Re: Message Box appears

2006-12-01 Thread Phil Davis

Hi Jim and all,

IMHO, you guys are making it too hard.

I've intentionally developed a habit of always putting test info ' cr after 
msg'. Then when I'm done, I can easily find all occurrences of 'after msg' and 
delete'em.


No, it's not infallible. And sometimes I cheat (like to clear msg at the start 
of a 'put after' sequence). But I make my living writing software with 
Revolution, and I don't have any self-inflicted misery from rogue 'puts'. To me 
that says something about the effectiveness of the approach.


I admit that the 'habit thing' may not be sufficient for every situation. Most 
of the time I'm the only programmer on my projects, so I generally don't have to 
collaborate with others at the code level. Your mileage may vary. Ask your 
doctor if the Habit Way is right for you...  :o)


My $0.02...

Thanks -
Phil Davis


Jim Ault wrote:

On 12/1/06 3:36 AM, Dave [EMAIL PROTECTED] wrote:

Has got me before now! They can be so hard to find when you are
writing lots of stuff to the message box for debugging, and then
forget to delete just one of them! This is especially true in a
library stack, I had a rouge put xxx in a library that took me ages
to track down, I eventually found it in a in function a few levels
away from the main API Call!

I think an option that turned off the put xxx shortcut would be a
good idea!


Chipp Walters used to have something on his site that would do this.  Took a
quick look and did not find it.  Check the archives, but I think the Altuit
site has changed so much that old info will be obsolete.

Perhaps Chipp may know where it is hiding.

PS  I always use 'into msg' or 'after msg' so I can find them later.
For a short time I always added !! like

put fld output  !!
but got out of the habbit.

Of course another way is to make your own lib handler

putMsg flag upperTier is  fUpperTier

on putMsg txtStr
 put txtStr
end putMsg 


then turn off the 'put txtStr' line
or find the putMsg lines

Jim Ault
Las Vegas


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


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


Re: Message Box appears

2006-12-01 Thread Eric Chatonet

Hello,

For all who don't have Galaxy, I have uploaded last year a stack on  
RevOnline:


User: sosmartsoftware
Stack: Smart Script Search
Description: This utility parses all scripts in any open stack  
searching for lines of code where any string is present AND any  
another one is absent.

Its main purpose, but it's configurable, is to find orphan puts...

Best Regards from Paris,
Eric Chatonet

Le 1 déc. 06 à 20:28, Stephen Barncard a écrit :


just for the record, Jerry Daniel's Galaxy has a feature where you put

 *put

into the search field and it will find all the 'dangling puts'. Use  
it all the time.



Hi Jim and all,

IMHO, you guys are making it too hard.

I've intentionally developed a habit of always putting test info  
' cr after msg'. Then when I'm done, I can easily find all  
occurrences of 'after msg' and delete'em.



 
--

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


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


Re: Message Box appears

2006-11-30 Thread Phil Davis

Hi Charles -

Charles Szasz wrote:
The following script works but each it works the Message Box appears 
although there is nothing in the script to tell it to appear. After I 
close the Message Box, it reappears again when I run the script.  The 
Message Box appears even when the Development Tools are suspended.


I read sections of the Rev PDF Manual about the Message Box but I cannot 
find anything to explain why the Message Box appears!


on mouseUp
  put 51 into tage
  put tAge,field subFld,field rsFld into theMatch
  repeat for each line theMatch2 in the scaledScore[memoryforstories] 
of field data1



Here's the line that makes the message box appear:


put the scaledScore[memoryforstories] of field data1


Any time (in the IDE) when you 'put' something without an 'into', it's going to 
go into the message box.


(In standalone apps you don't see anything; the data is 'put' into the bit 
bucket.)

HTH -
Phil Davis



if item 1 to 3 of theMatch = item 1 to 3 of theMatch2 then
  put item 4 of theMatch2 into field ssFld
  put item 5 of theMatch2 into field perFld
  exit repeat
end if
  end repeat
end mouseUp

Does anyone have an idea why the Message Box appears

Charles Szasz
[EMAIL PROTECTED]

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


Re: Message Box appears

2006-11-30 Thread Jim Ault
On 11/30/06 7:32 PM, Charles Szasz [EMAIL PROTECTED] wrote:

 The following script works but each it works the Message Box appears
 although there is nothing in the script to tell it to appear.

...excerpt of script
  put the scaledScore[memoryforstories] of field data1

--is the same thing as
put the scaledScore[memoryforstories] of field data1 into msg

--which tells Rev to display using the msg box

Jim Ault
Las Vegas

On 11/30/06 7:32 PM, Charles Szasz [EMAIL PROTECTED] wrote:

 The following script works but each it works the Message Box appears
 although there is nothing in the script to tell it to appear. After I
 close the Message Box, it reappears again when I run the script.  The
 Message Box appears even when the Development Tools are suspended.
 
 I read sections of the Rev PDF Manual about the Message Box but I
 cannot find anything to explain why the Message Box appears!
 
 on mouseUp
put 51 into tage
put tAge,field subFld,field rsFld into theMatch
repeat for each line theMatch2 in the scaledScore
 [memoryforstories] of field data1
  put the scaledScore[memoryforstories] of field data1
  if item 1 to 3 of theMatch = item 1 to 3 of theMatch2 then
put item 4 of theMatch2 into field ssFld
put item 5 of theMatch2 into field perFld
exit repeat
  end if
end repeat
 end mouseUp
 
 Does anyone have an idea why the Message Box appears


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


Re: Message Box ?

2006-03-23 Thread David Burgun

Hi,

Are you typing openFIle as one word?

It is two separate words - open file and close file etc.

All the Best
Dave

On 22 Mar 2006, at 23:25, thulme wrote:




set the defaultFolder to /Users/myusername/Desktop/



Then try it again. Chances are it will work this time. If this
doesn't fix it, try switching to the multi-line message box and  
enter:



openFile myfile.txt
put the result



Then hit the enter key. If there is an error 'the result' should
contain information about the error.


Verified I have permissions (Win XP) and entered the two line above in
multiline.

I get:  Message execution error:
 Error description: Handler: can't find handler

If I enter closeFile command i get result of : file not open

--
View this message in context: http://www.nabble.com/Message-Box-- 
t1327177.html#a3543393

Sent from the Revolution - User forum at Nabble.com.

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

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


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


Re: Message Box ?

2006-03-23 Thread Devin Asay


On Mar 22, 2006, at 4:10 PM, Devin Asay wrote:



snip

Then try it again. Chances are it will work this time. If this  
doesn't fix it, try switching to the multi-line message box and enter:


openFile myfile.txt


^^^
open file myfile.txt   ## oops!


put the result


Sorry for the confusion.

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

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


Re: Message Box ?

2006-03-22 Thread Devin Asay

On Mar 22, 2006, at 3:40 PM, thulme wrote:



Hi All,

I'm a newbie reading through Dan Shafer's ebook. My question has to  
do with
page 273  of the book which states that typing (open file  
MyToDo.txt) into
the message box will create a file if none exisits. Nothing gets  
created
when I do this. All that happens is the line I entered gets  
highlighted. No
file created and no error message is displayed in the result frame.  
I have
entered other commands and they work ok. Can anyone (Dan) explain  
what I'm

doing wrong?


One common reason for this to happen is that you do not have write  
permission for the defaultFolder. (It's more of a problem on Unix and  
Mac OS X systems.) On startup, the defaultFolder property is always  
set to the folder that contains the Revolution application. Not all  
users on a system will have write access to that folder. Try changing  
the defaultFolder to a folder that you do have write permission for  
(I'm assuming OSX here):


set the defaultFolder to /Users/myusername/Desktop/

Then try it again. Chances are it will work this time. If this  
doesn't fix it, try switching to the multi-line message box and enter:


openFile myfile.txt
put the result

Then hit the enter key. If there is an error 'the result' should  
contain information about the error.


HTH

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

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


Re: Message Box ?

2006-03-22 Thread thulme

set the defaultFolder to /Users/myusername/Desktop/

Then try it again. Chances are it will work this time. If this  
doesn't fix it, try switching to the multi-line message box and enter:

openFile myfile.txt
put the result

Then hit the enter key. If there is an error 'the result' should  
contain information about the error.

Verified I have permissions (Win XP) and entered the two line above in
multiline.

I get:  Message execution error:
 Error description: Handler: can't find handler

If I enter closeFile command i get result of : file not open

--
View this message in context: 
http://www.nabble.com/Message-Box--t1327177.html#a3543393
Sent from the Revolution - User forum at Nabble.com.

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


Re: Message Box ?

2006-03-22 Thread thulme

Figured it out - have to hit enter key twice - then file shows up in my
defalut folder.
Go figure!

Thanks Devin
--
View this message in context: 
http://www.nabble.com/Message-Box--t1327177.html#a3543696
Sent from the Revolution - User forum at Nabble.com.

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


Re: Message Box ?

2006-03-22 Thread wouter

On 23 Mar 2006, at 00:25, thulme wrote:


openFile myfile.txt
put the result




I get:  Message execution error:
 Error description: Handler: can't find handler


Hi Thulme,

This means you should have a handler  on openFile 
or you can enter in the msg box:

open file myfile.txt

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


Re: Message Box, multiple lines

2005-12-29 Thread Jerry Daniels

Jerry,

The multi-line message box will execute if the actual enter key is  
depressed. The key on many machines that says enter on it, may, in  
Rev's view, actually be the return key and generate a  
returnInfield message for the multi-line message box.


On most machines (esp. laptops), holding down the function key and  
depressing the actual return key will result in an enterInField  
message to be sent to the message box.


On desktop machines, most of their keyboards have an actual enter  
key at the bottom right corner.


Best,

Jerry Daniels

Tool makers for the 21st century
http://www.daniels-mara.com/products


On Dec 29, 2005, at 8:03 AM, Jerry Muelver wrote:

Shouldn't the Message Box execute after several lines of code when  
you press Enter on a blank line?


Doesn't happen in RR 2.6.1 Linux. Nothing in the docs (that I can  
find) on the use of Message Box...


or on compiling to standalone... nothing on locking or passwording  
or otherwise protecting stacks... no Help buttons in most IDE  
dialogs... Help button in Choose Directory dialog does nothing...


I'm trying to get set to expose my first RR app to the eager  
consuming public, and these little snags (probably due to my own  
inexperience) are knotting my knickers a bit.


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

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



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


Re: Message Box, multiple lines

2005-12-29 Thread Jerry Muelver

From: Jerry Daniels

Jerry,

The multi-line message box will execute if the actual enter key is 
depressed. The key on many machines that says enter on it, may, in 
Rev's view, actually be the return key and generate a  returnInfield 
message for the multi-line message box.


On most machines (esp. laptops), holding down the function key and 
depressing the actual return key will result in an enterInField 
message to be sent to the message box.


On desktop machines, most of their keyboards have an actual enter  key 
at the bottom right corner.




Thanks, Jerry. I should have known a Jerry would have the right answer!

My two desktop machines have two Enter keys, one by the Shift key, and one 
on the keypad. Two of my Intel-based laptops have one Enter key, by the 
Shift key, as does my NEC palmtop. Only my Mac G3 has both an Enter key 
(by the space bar) and a Return key (by the Shift key). It turns out, 
experimenting on the inspiration provided by your elucidation, that on my 
desktop the keypad Enter key will trigger the action, as will Ctrl-Enter 
on the keyboard. I'm sure this is in the documentation, right at... er... 
um


I submit that the distinction between returnInField and enterInField is 
absurd for text-entry applications like program editors and dialog boxes, 
and is of extremely limited utility for numeric entry applications. In fact, 
I doubt that anyone can provide an example supporting the rationale for not 
merging the Return and Enter key for good for all applications.


(mumble-mumble, grumble, ratzn-fratz, drat-it...)

 The Original Jerry

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


Re: Message Box, multiple lines

2005-12-29 Thread J. Landman Gay

Jerry Muelver wrote:

I submit that the distinction between returnInField and enterInField is 
absurd for text-entry applications like program editors and dialog 
boxes, and is of extremely limited utility for numeric entry 
applications. In fact, I doubt that anyone can provide an example 
supporting the rationale for not merging the Return and Enter key for 
good for all applications.




I use the distinction all the time. In card-based databases (think 
address book for example,) it is common to have multi-line fields 
which function as cells. Returns are accepted as part of the data. 
Enterkey is accepted to set the data and move to the next cell.


This is pretty common for many types of databases. I have also created a 
multi-field table object that acts the same way.


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


Re: Message Box, multiple lines

2005-12-29 Thread Jerry Muelver

From: J. Landman Gay



Jerry Muelver wrote:

I submit that the distinction between returnInField and enterInField is 
absurd for text-entry applications like program editors and dialog boxes, 
and is of extremely limited utility for numeric entry applications. In 
fact, I doubt that anyone can provide an example supporting the rationale 
for not merging the Return and Enter key for good for all applications.




I use the distinction all the time. In card-based databases (think 
address book for example,) it is common to have multi-line fields which 
function as cells. Returns are accepted as part of the data. Enterkey is 
accepted to set the data and move to the next cell.


This is pretty common for many types of databases. I have also created a 
multi-field table object that acts the same way.




I see. Well, in 24 years of computing, I've never, until the G3, even SEEN a 
keyboard with both Enter and Return keys. The distinction must be a Mac 
thing.


In the database apps I've programmed and used, single-line entries were 
always completed by either Tab or Enter (the one next to the shift keys) as 
optional moves to set and move to the next field, and multi-line entries 
allowed Enter within the cell and Tab to set and move on. I think the 
Enter/Return distinction is too clever by half (the RR Message Box icon 
tooltip for Single Line says Press Return to execute, and the Multiline 
tip reads Press Enter to execute, and all my keys say Enter), and I will 
never require my users to juggle such capriciousness.


I'm beginning to understand how the FBI paid $750 million for a computer 
software project that doesn't work. I'll bet the programmers called for 
Return and all the keyboards were Enter type, and the poor agents were 
fumbling around looking for the AnyKey to press


 Jerry Muelver 


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


Re: Message Box, multiple lines

2005-12-29 Thread Jim Ault
On 12/29/05 8:43 AM, Jerry Muelver [EMAIL PROTECTED] wrote:

 
 I see. Well, in 24 years of computing, I've never, until the G3, even SEEN a
 keyboard with both Enter and Return keys. The distinction must be a Mac
 thing.
Actually, Micorsoft Excel 1.0 and forward has always used both the ReturnKey
and EnterKey as two distinctive keyboard codes since MS introduced the
features of textboxes on a spreadsheet that could contain returns (word
processing linefeeds).  Yes, it was a Mac-only version and shipped with the
first Macs (1984)  Of course,  Windows wasn't part of the landscape, but
when it came out, 3.0 had Excel as one of the apps.

Now, on Windows or Mac, a single cell in Excel can do word wrap and line
feeds.  These line feeds are not the same as hitting the ReturnKey on either
the Mac or Windows.

Then along came desktop publishing and blurred the definitions of line
feeds, embedded tabs, and proprietary formats for text, text blocks, page
layout,  graphic formats, and printing commands.

Welcome to the soup :-)

Jim Ault
Las Vegas


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


Re: Message Box, multiple lines

2005-12-29 Thread Richard Gaskin

Jerry Muelver wrote:
I see. Well, in 24 years of computing, I've never, until the G3, even 
SEEN a keyboard with both Enter and Return keys. The distinction must be 
a Mac thing.


It's a bit older than that, for those of us who remember typewriters. :)

The Return key was labeled as such more than a century ago, a reference 
to the paper carriage returning to the left side of the typewriter so 
the writer can begin a new line.


The Enter key is a new construct introduced with computers.  It's placed 
away from the traditional keys, down by the numeric keypad with the 
other recent keyboard additions unique to computing.


Each key generates a different key code.

So these keys are not the same, neither in their origin nor their 
current resulting key code.


Yet PC manufacturers label these two different keys as if they are the same.

Why make one thing and label it something else?

Beats me.

All I know is that it's been this way for so long among PC manufacturers 
that many application designers have had to treat both Return and Enter 
as snynomous in terms of user gestures.


But as Jacque pointed out, this isn't always the case.  Some use Enter 
for entering (confirming) input, while reserving Return for advancing to 
the next line.


What the software designer does with these keys will depend on the 
context in which they're used.


As far as Rev goes, as long as the keyboard generates different codes 
for each key it seems reasonable to maintain a distinction between them 
in Transcript's messages.  If the software designer wants to treat them 
as synonymous they're only three lines away from doing so:


on returnKey
  enterKey
end returnKey


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Message Box, multiple lines

2005-12-29 Thread Stephen Barncard

You are mistaken.

Return and Enter are different and are both useful.

I use EnterInField in a field script to execute Transcript snippets 
or MYSQL code in a field. Return is needed to ... ummm... put returns 
in the text!!


I'm using a standard off the shelf Mac keyboard with my G4 Aluminum 
17. The laptop has an enter key as well, next to the right apple key.


sqb


At 10:06 -0600 12/29/05, Jerry Muelver wrote:



I submit that the distinction between returnInField and enterInField 
is absurd for text-entry applications like program editors and 
dialog boxes, and is of extremely limited utility for numeric entry 
applications. In fact, I doubt that anyone can provide an example 
supporting the rationale for not merging the Return and Enter key 
for good for all applications.


(mumble-mumble, grumble, ratzn-fratz, drat-it...)

 The Original Jerry


--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Message Box, multiple lines

2005-12-29 Thread Ken Ray
On 12/29/05 10:43 AM, Jerry Muelver [EMAIL PROTECTED] wrote:

 I see. Well, in 24 years of computing, I've never, until the G3, even SEEN a
 keyboard with both Enter and Return keys. The distinction must be a Mac
 thing.

Well, yes, sort of. Basically the ASCII codes that are used for going to the
next line differ by platform. ASCII(13) is a true carriage return (CR)
that draws its origins from the old typewriters (as Richard mentioned).
ASCII(10) is the line feed (LF) character, that was used (at least) on
ancient computer terminals (especially those with built-in dot matrix
printers) to move the display/paper up a line. In those days, the LF didn't
return the carriage to the beginning of the next line.

On the keyboard, the key above the shift key (labeled Return on Mac and
Enter on Windows/Linux) is supposed to implement the CR, and the key on
the keypad is supposed to implement the LF.

When Windows was created, it set the end-of-line (EOL) method to be CR+LF;
Macs (pre OS X) used CR only, and Unix machines used LF only (IIRC). So
because Windows didn't make the distinction between the two characters, both
keys on the keyboard mapped to the CR+LF combination and were labeled as
Enter. And although the raw key codes are different (65293 for return
and 65421 for enter), they get mapped to the same result. Here's a simple
test - create a stack in Windows with one field with the following script:

on rawKeyDown pKey
  put pKey  the keysDown
end rawKeyDown

Switch to browse, click in the field and hit the return and enter
keys... here's what you get:

return key:   65293 65293
enter key:65421 65293

On Macs, the distinction is kept, which is why the keys are mapped to
different results - using the test above, this is what you get:

return key:   65293 65293
enter key:65421 65421

And I'd assume Linux is doing something similar to Windows (I don't have
Linux handy to test at the moment).

However on all platforms the raw key codes are different between the two
keys so they really are different keys.

The other thing to take into account is that Revolution came from MetaCard,
which was implemented as an xTalk for Unix (originally), and so it was
designed to be HyperCard for Unix and as such the 'returnKey'/'enterKey'
and 'returnInField'/'enterInField' came from HyperCard originally and were
implemented in MetaCard (now Rev) as well.

Hope this helps,


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

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


Re: Message Box, multiple lines

2005-12-29 Thread Jerry Muelver
- Original Message - 
From: Ken Ray

...


Hope this helps,



Certainly, it does, Ken. However, that doesn't explain why the tooltips in 
the Message Box would make the distinction without a clue about how to 
follow the instructions on a Enter key-only keyboard. Oh well, I know now, 
and can get rich by selling the information to other RR newbies.


Now, [OT] if anyone wants to know why you have to produce charts in 
different keys for C, Bb, Eb, and F instruments in order to get them to play 
the same notes in a concert key in unison, I'll be happy to sell that 
information too. It is a silliness of the same quality, but several orders 
of magnitude greater.


I'll never understand why people get into creating these little fixes for 
the wrong problems (see http://allmyfaqs.net/faq.pl?Fix_the_wrong_problem ), 
without asking me, first.


Okay, back to coding, everybody!

Many happy Returns/Enters!

 Jerry Muelver

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


Re: Message Box, multiple lines

2005-12-29 Thread Jerry Daniels

Jerry,

I just have both message handlers (enterInField and returnInField) in  
my fields and they both call the same command if they both have the  
same functionality.


There are good reasons to have them separate, I believe. Some fields  
take carriage returns in their text, but the enter key should still  
make the default button activate.


My 2 cents.

Best,

Jerry Daniels




Tool makers for the 21st century
http://www.daniels-mara.com/products



On Dec 29, 2005, at 10:06 AM, Jerry Muelver wrote:

I submit that the distinction between returnInField and  
enterInField is absurd for text-entry applications like program  
editors and dialog boxes, and is of extremely limited utility for  
numeric entry applications. In fact, I doubt that anyone can  
provide an example supporting the rationale for not merging the  
Return and Enter key for good for all applications.


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


Re: message box problem

2005-07-09 Thread Eric Chatonet

Hi Jon,

Work perfectly here: the owner of the target is card Single Line  
which is true since the target is the field where you type.
Restarting Rev, may be without plug-ins open at start-up and any  
stack open might help you to find where is the dysfunction.
But I don't think it's in the Rev IDE but elsewhere in third  
parties products.. as your own open stacks :-)


Le 9 juil. 05 à 15:59, Jon a écrit :

I've not used the message box much before. I just tried to enter a  
phrase (the owner of the target), to see what its value was.  I  
probably am using the MB incorrectly, but in any event, I can only  
type one word before the keyboard stops working: if I try to type  
the owner of... I only see the; if I try to type owner of  
I only see owner; if I try to type the owner of... I only see  
the.


Best Regards from Paris,

Eric Chatonet.

So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86


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


Re: message box problem

2005-07-09 Thread Dan Shafer

Jon.

Definitely an anomaly related to something local to your situation.  
Message Box has worked well from the very early releases.


Dan

On Jul 9, 2005, at 6:59 AM, Jon wrote:

I've not used the message box much before. I just tried to enter a  
phrase (the owner of the target), to see what its value was.  I  
probably am using the MB incorrectly, but in any event, I can only  
type one word before the keyboard stops working: if I try to type  
the owner of... I only see the; if I try to type owner of  
I only see owner; if I try to type the owner of... I only see  
the.


I must be missing something.  Too bad there's no help button on the  
Message box.  I thought you could type any Rev statement in there  
and it would be evaluated.  I just looked up message box in the  
dictionary, and all it says is that it evaluates expressions.


:(

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

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




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


Re: Message box hides, then does not reappear

2005-06-08 Thread Alex Tweedly

Jim Ault wrote:


The issue is that I have progress messages being put and when I drop into
the debugStop, the edit window comes forward, I can stepIn and so on, but
when I click RUN, the message box remains hidden.  Is there a way to get the
message box to show again after the script edit window has gained focus with
my mouse click?

My current work around is to also post the progress message to a fld on the
current card.
 

typing ctrl-M does it for me - but that may depend on whether or not 
you're allowing messages (events) to be processed while you are creating 
the progress messages.


--
Alex Tweedly   http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 04/06/2005

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: message box (multiline) strangeness

2005-02-16 Thread Alex Tweedly
Malte Brill wrote:
Hi list,
I´ve experienced something weird...
snip
I´m a bit puzzled... calling the script from a button gives the 
correct result. Does anyone know what´s happening here?

Os X.2.6 Rev 2.2 and 2.5
Same result in WinXP, Rev 2.5
Only - it's even stranger .
I changed the mult-line script to
put 5 into abc
put first  abc  cr after msg
put mytest(the loc of this stack, the loc of this stack) into abc
put second  abc  cr after msg
(I changed the function name to mytest just in case, and I changed the 
function to return a fixed value instead of calling paramcount() - 
neither made any difference).

This ALSO results in the output   1  (what happened to the strings 
first and second, and the fact there were two lines of output ??)

Deleting the line that calls mytest results in the rather more expected 
output of
 first 5
 second 5

Very strange 
--
Alex Tweedly   http://www.tweedly.net

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: message box not functioning

2004-08-05 Thread J. Landman Gay
On 8/5/04 4:18 PM, cteno4 wrote:
ok, im finally starting to move over to the rev programming interface 
from good olde mc programming interface. I have run into one small 
problem with a metacard created stack in rev is that i cant get the 
message box to function if any of my mc created stacks are set as the 
defaultstack. if i create a new rev stack and lock that as the default 
stack then i can send messages to my stacks via the message box if i 
append the stack name to the message (ie show image test of stack 
mcstack). but as soon as any of the mc created stack are the defaultstack 
then messages just go off to never never land. 

what am i doing wrong here? feeling a bit stupid here... thanks.
Do you have the MC message box stack embedded as a substack in your MC 
stacks? That creates a conflict which acts as you describe. The easiest 
way to deal with this situation is to open the stack in MC and delete 
the message box substack from there.

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


RE: Message Box useage from scripts

2004-07-26 Thread MisterX
actually it's easier than that...

put the time -- no need to put into msg but you can...

put the date after msg

put empty -- clear msg

Im coming up with a stack soon that will let you record and save
and reuse the msg history...

cheers
Xavier




 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Jeanne A.
 E. DeVoto
 Sent: Monday, July 26, 2004 01:48
 To: How to use Revolution
 Subject: Re: Message Box useage from scripts
 
 
 At 10:38 AM -0700 7/25/2004, Jim Ault wrote:
 How do I set the command line in the message box?
 None of the documentation or examples I have read covers this.
 (I have read Receipe for Find field).  I am an old Hypercard programmer.
 [...]
 Is there a message box property to set?
 Is there a message to send up the heirarchy?
 
 There's no supported API for it, although since the message box is 
 just a stack, you can use something like
  put Hey there into field Message Field of stack Message Box
 This might stop working in the future if the Rev developers work on 
 the message box and change the field name, though.
 
 You might want to consider using a field in your stack, or else a 
 substack, to hold the find command - then use a returnKey handler 
 in the field with do the text of me to execute what's in the field. 
 This approach provides you with a cheap message box that's under 
 your control.
 -- 
 jeanne a. e. devoto ~ [EMAIL PROTECTED]
 http://www.jaedworks.com
 ___
 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: Message Box useage from scripts

2004-07-25 Thread Dar Scott
On Jul 25, 2004, at 11:38 AM, Jim Ault wrote:
Desired behavior
1)   The goal is to allow control-click of a word in a unlocked field 
to be put into the message box as 'find textStr', thus the user can 
simply hit the enterkey to continue to find occurrences.
Perhaps you can make your own to work the way you want.
Dar Scott
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Message Box useage from scripts

2004-07-25 Thread Jeanne A. E. DeVoto
At 10:38 AM -0700 7/25/2004, Jim Ault wrote:
How do I set the command line in the message box?
None of the documentation or examples I have read covers this.
(I have read Receipe for Find field).  I am an old Hypercard programmer.
[...]
Is there a message box property to set?
Is there a message to send up the heirarchy?
There's no supported API for it, although since the message box is 
just a stack, you can use something like
put Hey there into field Message Field of stack Message Box
This might stop working in the future if the Rev developers work on 
the message box and change the field name, though.

You might want to consider using a field in your stack, or else a 
substack, to hold the find command - then use a returnKey handler 
in the field with do the text of me to execute what's in the field. 
This approach provides you with a cheap message box that's under 
your control.
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Message Box with vertical scroll bar

2004-06-09 Thread Jan Schenkel
--- Gregory Lypny [EMAIL PROTECTED] wrote:
 Is it possible to equip the message box with a
 vertical scroll bar?
 
   Greg
 

Have you tried it ? -- Just kidding, it should be
possible ; here's a recipe :
- Menu 'Edit'  Item 'Preferences'
- go to the 'General' panel, then tick the checkbox
'Contextual menus work in Revolution windows'
- Then hold down the Ctrl+Alt+Shift keys, and
right-click on the field you want to give scrollbars
- In the contextual menu, pick the item 'Property
Inspector'
- Now turn on the vertical scrollbar using the palette

You may have to explicitly issue
  save stack Message box
for it to stick between sessions.

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!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Message Box with vertical scroll bar

2004-06-09 Thread MisterX
recipee

first show the message box

second in the msg

put the windows... you see message box...

create a stack with a button with script to locate the fields

on mouseup
 set the defaultstack to message box
  put the number of fields into controlsnum
  repeat with x = 1 to controlsnum
put the short name of field x  cr after nulist
  end repeat
  put nulist
end mouseup

so now you type...

set the vscrollbar of fld Message Field of stack message box to true
or 
set the vscrollbar of fld result of stack message box to true

you might want to resize the fields though (left as an excercise...)

cheers
Xavier

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Gregory
 Lypny
 Sent: Wednesday, June 09, 2004 20:24
 To: Revolution
 Subject: Message Box with vertical scroll bar
 
 
 Is it possible to equip the message box with a vertical scroll bar?
 
   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: Message box

2004-03-30 Thread Alain Bois
I obtain 8 if I type put somme(3,5). There is a bug in msg box, if I 
type put somme (3,5) with a blank, Rev give me 3.
I have never seen in doc that it is necessary to put the name of 
function and the parameters between brackets without blank.
Alain Bois

Le 30 mars 04, à 00:15, Dar Scott a écrit :

On Monday, March 29, 2004, at 01:31 PM, Alain Bois wrote:

When I used Hypercard, if I have this handler
function somme a,b
return a + b
end somme
and I wrote in msg box put somme (3,5) I obtain 8.
With Rev I obtain 3. the first argument only, why? Bug or option with 
msg box ?
I get 8.  (I put the function in a stack script and started using it.)

In Revolution 3+empty is 3.  Maybe there is something strange about 
the second parameter.  :-) Could you have misspelled b? :-)

(I get mixed up about where commas can go in parameter declarations, 
but this seems to work fine as you typed it.)

Dar Scott

___
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: Message box

2004-03-30 Thread Alain Bois
By using the doc, I try
function reversedName firstName,lastName
-- firstName and lastName are parameters
put lastName,firstName into constructedName
return constructedName
  end reversedName
If I type put put reversedName(fdfs,azaa) it's good but I type put 
reversedName (fdfs,azaa) Tev output ,azaa.
Why?

Le 30 mars 04, à 03:48, Dar Scott a écrit :

On Monday, March 29, 2004, at 06:11 PM, j wrote:

of course, you can do the same thing with revolution's built-in sum() 
function, making this all pretty academic.
BTW, here is a tip for those who have avoided using sum() and similar 
functions.

I read the documentation as this function having only one parameter.  
That is, the commas in the example were operator commas and not 
parameter separator commas.  I saw the interesting parsing of 
parameters of format() as an example of that kind of thing, so I was 
not surprised.  My concern was that numberFormat might limit digits in 
the arithmetic.  I didn't use it.

However, I now know that I read the doc wrong.  The function sum() and 
max() can have multiple parameters and are not forced to have a single 
parameter of a comma delimited string.

Dar Scott



___
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: Message box

2004-03-29 Thread Dar Scott
On Monday, March 29, 2004, at 01:31 PM, Alain Bois wrote:

When I used Hypercard, if I have this handler
function somme a,b
return a + b
end somme
and I wrote in msg box put somme (3,5) I obtain 8.
With Rev I obtain 3. the first argument only, why? Bug or option with 
msg box ?
I get 8.  (I put the function in a stack script and started using it.)

In Revolution 3+empty is 3.  Maybe there is something strange about the 
second parameter.  :-) Could you have misspelled b? :-)

(I get mixed up about where commas can go in parameter declarations, 
but this seems to work fine as you typed it.)

Dar Scott

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


Re: Message box

2004-03-29 Thread Martin Baxter
Alan Bois wrote:
When I used Hypercard, if I have this handler
function somme a,b
return a + b
end somme
and I wrote in msg box put somme (3,5) I obtain 8.
With Rev I obtain 3. the first argument only, why? Bug or option with
msg box ?
Thanks for answers.


I suspect it's a message box bug.

put somme(3,5)

Works as expected, the difference being there is no space character between
the function name and the parenthesis

Martin


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


Re: Message box

2004-03-29 Thread j
function somme a,b
return a + b
end somme
works here, also.  check for typing errors.  as someone else indicated, 
function name must abut the opening parenthesis:  somme(3,5).  you 
don't even need to use put before the function, if executed from the 
message box.

i have always loved this one, myself:

function sumThese
 put 0 into theTotal
  repeat with i = 1 to the paramCount()
add param(i) to theTotal
  end repeat
  return theTotal
end sumThese
no need to submit only two numbers to add this way.  :)  of course, you 
can do the same thing with revolution's built-in sum() function, making 
this all pretty academic.

j.

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


Re: Message box

2004-03-29 Thread Dar Scott
On Monday, March 29, 2004, at 06:11 PM, j wrote:

of course, you can do the same thing with revolution's built-in sum() 
function, making this all pretty academic.
BTW, here is a tip for those who have avoided using sum() and similar 
functions.

I read the documentation as this function having only one parameter.  
That is, the commas in the example were operator commas and not 
parameter separator commas.  I saw the interesting parsing of 
parameters of format() as an example of that kind of thing, so I was 
not surprised.  My concern was that numberFormat might limit digits in 
the arithmetic.  I didn't use it.

However, I now know that I read the doc wrong.  The function sum() and 
max() can have multiple parameters and are not forced to have a single 
parameter of a comma delimited string.

Dar Scott



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


Re: Message box

2004-03-29 Thread Alain Bois
Thanks, I have tried  others functions and effectly it's a problem with 
parenthesis.

Le 30 mars 04, à 00:42, Martin Baxter a écrit :

Alan Bois wrote:
When I used Hypercard, if I have this handler
function somme a,b
return a + b
end somme
and I wrote in msg box put somme (3,5) I obtain 8.
With Rev I obtain 3. the first argument only, why? Bug or option with
msg box ?
Thanks for answers.
I suspect it's a message box bug.

put somme(3,5)

Works as expected, the difference being there is no space character 
between
the function name and the parenthesis

Martin

___
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: Message box - top half

2004-03-08 Thread Sarah Reichelt
On 9 Mar 2004, at 10:36 am, [EMAIL PROTECTED] wrote:

Is there any way to get a script to put text into the TOP half of the
message box? I have some HyperCard scripts that put text into the msg 
box,
ready for the user to (edit and) execute the command, that I would 
like to
transfer to Rev.

Untested, but should work, although not guaranteed to keep working in 
future releases:

put myData into fld Message Field of cd Single Line of stack 
Message Box
	or
put myData into fld Message Field of cd Multiple Lines of stack 
Message Box

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


Re: Message Box woes editing Revolution

2003-07-23 Thread Jan Schenkel
--- WIlliam Griffin [EMAIL PROTECTED] wrote:
 Typing a command and hitting return in Message box
 results in no action.
 Whats the deal?
 

Hi Bill,

There are two types of message boxes : a 1-line
message box and a multiple-line message box.
You can toggle by clicking the two left-most buttons
in the toolbar of the Message box window.

If you are on the one-line message box, and you typed
a command and hit return, and no error appears below,
then it must have worked, but maybe there was no
visible result.
What command were you trying ?

 Also how do I move the Edit script submenu item to
 a button on the 
 inspector palette?
 I spend much time editing scripts which ammounts to
 1. select object
 2. edit group
 3. find inspector under some other window
 4. hold down drop down menu
 5. select edit script
 6. find script window under other windows.
 

You could use the Application Browser (in the 'Tools'
menu) and right-click on the object whose script you
want to edit.
Another aproach is to click the 'Select grouped'
button in the toolbar first, so you can select
individual objects within groups ; then you can once
again right-click on the object, or click the 'Script'
button in the toolbar.

 There must be a way of making this app intuitive and
 to do things I 
 expect it to do.
 

Check out the Preferences (in the 'Edit' menu) to
customise some behaviour of the Application Browser
and the contextual menus.
You can even edit the script of object by merely
hovering over them and pressing a key combination.

 Revolution is moving my windows around to make room
 for that toolbar
 at the top of the screen. I've spent a lot of time
 adjusting my 
 interface for my users sake,
 this revolution move your interface  glitch is not
 welcome.
 

You can always tinker the content of the global
'windowBoundingRect' property.

 
 Thanks.
 Bill Griffin
 

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! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Message Box woes editing Revolution

2003-07-23 Thread Edwin Gore
Actually, I am having what sounds like the same problem with the message box, and have 
been avoiding it but putting things into temporary button scripts.

For example, I create a new stack, create a button, then type hide button 1 into the 
msg box, and hit return.

The button doesn't hide, the command I typed remains in the message box, with the 
insertion point blinking at the end of the command, and the results section remains 
unchanged.

This is in Rev 2.01, under Windows XP Home.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Message Box woes editing Revolution

2003-07-23 Thread Sarah
Hi Bill,

Sorry to hear you are having so much trouble. I'm sure that between us 
on this list we can find solutions to a lot of them.

1. Message box: Try pressing Enter instead of Return. That way it will 
work if you are in single line or multi line mode (the mode is show as 
part of the message box window title). Test it with something really 
simple like put 1 + 2. This will separate the message box test from 
any development you are doing and let you see if it really is the box 
or if something else is going wrong. Also, reboot Rev and try using the 
message box before opening any stacks.

2. Editing: there are numerous shortcuts for editing. Test them out and 
use the one that suits you. Obviously using the inspector's popup menu 
is not right for your workflow. The other options are: Command-E (Mac) 
or Control-E (Windows)
Command-option hover (Mac) or Control-alt hover (Win)
The Script button in the toolbar
The contextual menu that pops up when you right-click or control-click 
on an object.

3. Editing an object in a group: you don't have to be in edit group 
mode. Turn on Select Grouped Controls in the Edit menu, or toggle 
Select Grouped in the toolbar and you can select grouped objects 
directly.

4. Toolbar: if you resent the space it takes up, then turn it off. In 
the View menu there are two option: Toolbar text and Toolbar icons. 
Unchecking both of these turns off the bar completely but you may fine 
that leaving just text on gives you enough room. All the toolbar 
functions are available from the menus so you wont lose anything.

In an environment like Rev, there are nearly always multiple ways of 
doing everything whether while scripting or designing. If you don't 
like the way things are happening, there is very likely to be at least 
one alternative. Check the shortcuts section of the Docs for some more 
ideas.

I wrote a function key plugin - FunKey.rev can be downloaded from my 
web page http://www.troz.net/Rev/ - which allows you to assign scripts 
to the function keys. I use this to speed up my workflow and make 
frequent used commands and menu items into a single keystroke.

Cheers,
Sarah
[EMAIL PROTECTED]
http://www.troz.net/Rev/
On Thursday, July 24, 2003, at 12:39  am, WIlliam Griffin wrote:

Typing a command and hitting return in Message box results in no 
action.
Whats the deal?

Also how do I move the Edit script submenu item to a button on the 
inspector palette?
I spend much time editing scripts which ammounts to
1. select object
2. edit group
3. find inspector under some other window
4. hold down drop down menu
5. select edit script
6. find script window under other windows.

There must be a way of making this app intuitive and to do things I 
expect it to do.

Revolution is moving my windows around to make room for that toolbar
at the top of the screen. I've spent a lot of time adjusting my 
interface for my users sake,
this revolution move your interface  glitch is not welcome.

Thanks.
Bill Griffin
[EMAIL PROTECTED]
www.igame3d.com


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


Re: Message Box woes editing Revolution

2003-07-23 Thread Sarah
Hi Bill,

Do you have a returnKey or enterKey handler in your stack or in a 
frontScript? That might be trapping the key in the message box and 
stopping it from working.

Cheers,
Sarah
On Thursday, July 24, 2003, at 12:22  pm, WIlliam Griffin wrote:

reboot Rev and try using the message box before opening any stacks.
Test it with something really simple like put 1 + 2.
--- That works with return as it should
Until my stack is open, then it does not work.


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


Re: Message box in standalones

2002-04-16 Thread JacksHyperInfo
In a message dated 04/16/2002 1:03:41 AM Eastern Daylight Time, [EMAIL PROTECTED] writes:


Is it possible to include the message box and its functions in standalone 
applications?

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

Sure -- but there is a lot to the message box that you probably don't need. Do you really want people to be able to examine front scripts, global variables, etc.?
-- 

regards,

Geoff Canyon
[EMAIL PROTECTED]


Thanks Geoff-How do you add the message box to stand alones-I'd like to experiment with it!

Jack


Re: Message box in standalones

2002-04-15 Thread Geoff Canyon

Is it possible to include the message box and its functions in standalone 
applications?

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

Sure -- but there is a lot to the message box that you probably don't need. Do you 
really want people to be able to examine front scripts, global variables, etc.?
-- 

regards,

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



V111-b1 (was Re: message box vanishes)

2001-12-31 Thread Andre Rombauts

 launching the Win version... Perhaps there should be some kind of reset
 button in furture versions... ... :-)
 This problem (and others) is fixed in beta 1 of 1.1.1, available from:
 http://www.runrev.com/revolution/engines11/beta111
 Kevin

I installed the b version. Everything OK. Several bugs fixed indeed. The
first time I launched Rev ask me where was 'File Exchange'. Why?

André


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



Re: message box vanishes

2001-12-30 Thread Andre Rombauts

 For those who can't find the msg box with Rev 1.1 and Windows, here is
 another way in addition to what has already been posted.
 Select 'Rev UI Stack in Lists' (View Menu) and in the Application Overview
 select
 revmessagebox.rev. Select properties and get the stack script. In
 dimensions, set the location to values that will be within your screen size.

Thanks. That was it!

But the fact is that I first reinstalled the 1.1 version: I had several
system crashes. But I still got the same problem! Thus I used your
trick...

 I think the message box stack is outside a 800x600 screen when first
launching the Win version... Perhaps there should be some kind of reset
button in furture versions... ... :-)

André

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



Re: message box vanishes

2001-12-29 Thread Geoff Canyon

At 1:01 PM +0100 12/29/01, Andre Rombauts wrote:
I'm using Win and Mac versions as I'll have to develop on both platforms
(and on Linux, later on...). on Mac everything is fine (...). On Win the
message box cannot be displayed anymore. What could have happened? What
could have lead to this situation? Is there any switch preventing it from
displaying?

It could simply be off screen. Create a stack with a field and a button and put this 
in the button and then click the button:

on mouseUp
  put the loc of stack message box into fld info
end mouseUp

if it gives you some odd co-ordinates, you can set the loc to 100,100 to get it back.

You could also check the visible of the message box stack. If it's false, set it to 
true.

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



Re: message box vanishes

2001-12-29 Thread William T. Simmons

André,
That could be due to the message box having been moved outside of the
visible screen area. I've done that myself sometimes with Rev and with other
apps. Perhaps you can try scripting a test stack to make the message box
appear at specified coordinates to where you could then drag it to a
preferred spot. As a last resort, you could reinstall Rev.
Hope this helps somewhat,
Tommy Simmons
Employment Law Advisory Network, Inc.
www.employmentlawadvisors.com

- Original Message -

 I'm using Win and Mac versions as I'll have to develop on both platforms
 (and on Linux, later on...). on Mac everything is fine (...). On Win the
 message box cannot be displayed anymore. What could have happened? What
 could have lead to this situation? Is there any switch preventing it from
 displaying?

 André

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