Intermittent performance
I have a field "theWord", into which letters are added. If a mistake is made upon entry, the user is able to delete the last character of the field by clicking on a button that contains the script found below... or by employing the option key at the same time the user can clear the whole field. The problem I have is that the first time the user clicks on the field, a character is deleted. The second time a user clicks on the field then there is no response, until the user clicks a third time. I must point out that the cursor does not leave the rect of the button during these clicks. on mouseUp if the optionKey is "down" then put empty into fld "theWord" exit mouseUp end if put the number of chars of fld "theWord" into charCount put char 1 to (charCount -1) of fld "theWord" into fld "theWord" end mouseUp Any ideas why it does not work everytime ? regards John Dixon ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: PID?
pslist \\server on Windoze... but you could rename it to fit unix or use Cigwin... ;) -=- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 "K" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 18.05.2004 15:22 Please respond to nnoydb To: [EMAIL PROTECTED] cc: Subject:PID? . Is there a multiplatform compliant way to get a applciation/standalone process ID? -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Intermittent performance
On Tuesday, May 18, 2004, at 08:50 AM, John Dixon wrote: The problem I have is that the first time the user clicks on the field, a character is deleted. The second time a user clicks on the field then there is no response, until the user clicks a third time. There seems to be a maximum rate that you can click buttons. Does this happen when you click the button slowly? (I'm assuming "field" in the above description is a typo; if not, I'm confused.) Dar Scott ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Intermittent performance
Any ideas why it does not work everytime ? Hi John, Dar's on target: I replicated your button and field, and could delete one char each mouseUp so long as I paused between clicks. I added this to the button's script and the problem went away: on mouseDoubleUp mouseUp end mouseDoubleUp BTW, you can eliminate a statement by: on mouseUp if the optionKey is "down" then put empty into fld "theWord" exit mouseUp end if delete char -1 of fld "theWord" end mouseUp -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Intermittent performance
Hi John, I have a field "theWord", into which letters are added. If a mistake is made upon entry, the user is able to delete the last character of the field by clicking on a button that contains the script found below... or by employing the option key at the same time the user can clear the whole field. The problem I have is that the first time the user clicks on the field, a character is deleted. The second time a user clicks on the field then there is no response, until the user clicks a third time. I must point out that the cursor does not leave the rect of the button during these clicks. on mouseUp if the optionKey is "down" then put empty into fld "theWord" exit mouseUp end if put the number of chars of fld "theWord" into charCount put char 1 to (charCount -1) of fld "theWord" into fld "theWord" end mouseUp Any ideas why it does not work everytime ? I tried with this script (is a bit shorter, lazy moi :-) and it worked fine... Everytime and with a fast response! OK, "monkey-clicking" may drop one "mouseup" or two, but in general no probs.. on mouseUp if the optionKey is "down" then put empty into fld "theWord" else delete char -1 of fld "theWord" end if end mouseUp regards John Dixon Regards Klaus Major [EMAIL PROTECTED] www.major-k.de ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Intermittent performance
On Tuesday, May 18, 2004, at 10:28 AM, Klaus Major wrote: OK, "monkey-clicking" may drop one "mouseup" or two, but in general no probs.. monkey-clicking? I have to remember that one. (I wonder what I have to throw away to find room.) Dar Scott ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Rev no worky...
Thank you, Dan & Jacque. Judy On Mon, 17 May 2004, Dan Shafer wrote: > Judy. > > Very often when this happens, what you'll find is that the script debug > window is open, buried under a bunch of other windows, and waiting for > you to dismiss it. I've had this happen so often that it's become > second nature to me to make sure the debug window isn't open before I > hit the panic button. Almost always, that's the problem. > > RR needs to do a better job of this. The script error dialog is > blocking but not modal. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Embedded Quotes Revisted
Ken, You suggested: answer "She said, " & quote & "I do." & quote Ohmigosh! That's very much going to work for me. Thank you so very much (and thank you, Dar, for the function tutorial... I'll try to read it for comprehension when I finish up my project. I'll probably wonder how I ever got about in the Rev world without functions!). Judy ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RunRev on PocketPC?
Hi Frank, Yes, I tried a 'hello world' app on PPC a bit ago. No dice. Sorry. -Chipp Frank Leahy wrote: Has anyone tried running Revolution on a PocketPC? If so, did it work? Thanks, -- Frank ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
uglification of tabbed buttons
hi, all. i notice in my stacks that my tabbed buttons no longer look like nice tabs, but instead each looks like a thin, sectioned bar with a displaced drop shadow behind them, ie, they don't look like tabbed buttons anymore, though they still work okay. something crashed the proper gui for tabbed buttons. and when i create a new tabbed button, it has the same hideous appearance. is this a bug in 2.2? or did i wreck rev somehow? i'm using latest panther mac os x. thanks. rand valentine p.s. i sent this note previously from a different email address and it bounced. forgive me if you have had to read this twice. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: uglification of tabbed buttons
Welcome to Panther :-) This is the new look for tabbed buttons in Panther, you haven't done anything and there is no fix. Cheers, Sarah On 19 May 2004, at 6:00 am, rand valentine wrote: hi, all. i notice in my stacks that my tabbed buttons no longer look like nice tabs, but instead each looks like a thin, sectioned bar with a displaced drop shadow behind them, ie, they don't look like tabbed buttons anymore, though they still work okay. something crashed the proper gui for tabbed buttons. and when i create a new tabbed button, it has the same hideous appearance. is this a bug in 2.2? or did i wreck rev somehow? i'm using latest panther mac os x. thanks. rand valentine ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to ..Kiosk Application
First off - there is basically very little difference between a kiosk app and any other. The main thing to keep in mind is that the buttons and list fields must be large enough to be operated with a finger instead of the more precise mouse. After that, you need to make sure the app takes up the full screen, doesn't show any menus and always stays at the front. The second issue deals with your actual program design. I am guessing we are talking about a networked system that transfers the orders automatically to the kitchen and to a billing system. You can use an SQL database for sure, but given the relatively low amount of data contained in a restaurant menu, I would think you could just use a stack as your data storage. The structure of the data needs to be considered before you do much about the interface. Once you have your data structure, then you need to write several different applications to use it: the kiosk module for customers to place orders, the editing module for the owner to change the menu and presumably some sort of display module for the kitchen staff as well as a billing module for when they actually need to pay for their meal. Each of these will need to connect to the menu data and each order will need to be stored, at least until it has been filled & paid for. This sounds like quite a complex exercise, but nothing in it is beyond the scope of Revolution, so work out what data you need and how to store it, then take one module at a time and make it work. After that start bringing them together and debugging the communications. Cheers, Sarah On 10 May 2004, at 5:05 am, hershrev wrote: Hello every body , I'd need some elaboration on how to build a Kiosk solution. (for a touch screen. There was a discussion perviously on this topic but just the start.) The solution I'm targeting for is a take out (restaurant). A bit of detail , the owner must be able to add categories and menu items or delete. The screen should have 3 columns, 1, categories i.e. main dish, side dish , beverages, deserts and so on. The 2nd column should display all detail menus of the selected category of column 1, meaning , while category main dish is selected it should display chicken, beef, duck and so on in column 2 and while touching lets say the side dish it should display all side dishes. In column 3 in a list field it should display the item and the price of the selected item line by line as a list. Now the question how do I build the screen to change the view as above create new items etc.? How do structure the layouts the buttons how do I build them and how do I save them and how do I attach the SQL to them in a way it should be possible for a owner to do it without help? Thanks very much , every bit info helps. hershrev ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Many thanks for the CGI Tutorial. SQL Tutorial anyone?
Hi Malte, It isn't actually a tutorial, but you might find my test stack helpful. Check out MySQLtests.rev.gz at http://www.troz.net/Rev/. If you use the entropy site for info on how to install MySQL on OS X, then my stack will introduce you to Rev's way of connecting and working with the data. Cheers, Sarah On 4 May 2004, at 9:19 pm, Malte Brill wrote: Hi, first of all I want to say thank you for the brilliant CGI Tutorial. I just startet looking at it and find it very useful. I like to donate a few Euros if it is welcome. Has anyone set up a "Working with Databases and Rev" Tutorial? I would love to see such a tutorial. Has any of the Gurus set one up or could do so? Best, Malte ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Getting environment settings on Mac
It depends on your system, but basically, you can use AppleScript to get info from the System Profiler (which was called Apple System Profiler in older systems). With OS X Panther, this script gives the complete list: tell application "System Profiler" return the system profile end tell Once you get the result into Revolution, it is easy to extract the info you need. You may need to vary the script slightly if you are using another system. Cheers, Sarah On 7 May 2004, at 1:23 am, [EMAIL PROTECTED] wrote: Can anyone tell me if there's a reliable way to get any of the following system variables on a Mac via Revolution? MHz speed of the processor Amount of available memory (heapspace command docs say it's not really a true value) Amount of free hard-drive space Whether or not an Ethernet card is available (that's true for just about all Macs isn't it?) ___ 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
problems with "send" and macosx .3.3
i'm developing a program in runrev 2.1 on macosx .3.3 (aka panther) and have noticed something weird when using the send command.. i have a multi-user network-enabled intranet program, and during the testing of the login/password everything went smoothly until i decided to use someone else's login/password combo.. all the information is being sent from the client to the server and is completely intact before the "send" command (the actually send command is being sent with the "do" command do to the complexity of it).. if i change "do" to "answer" the proper information is there, but in the receiving handler the "answer" states "false".. the receiving handler correctly "answer"s my login/password info, and it works fine when everyone else's password is the same as mine.. if the passwords are changed, it stops working.. now the really weird part to all of this is the fact that my password in the runrev app is base64 encoded and is the same as my macosx login password.. and!! if i include my password anywhere in the data being sent for the login/password (ie.. as a dummy parameter) all the other accounts work.. anyone else see this on macosx? i'll need to burn a copy and try it on my windows machines at home.. -Sean ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Odd Error Message
Hi, This same error message comes up rather alot: executing at 8:28:53 PM TypeselectedChunk: error in button or field expression Object Mouse Messages Lineput the selectedText of me into theChoice -- allows Rev to determine which item has been selected. Hintstack "Mouse Messages" of stack "/Users/judy/Documents/MSIDT_Final/FinalProjectGraphics/RevTour.rev" (a) Does something look extremely wrong with the offending line? (b) Why is this coming up on a completely different card in which this script does not reside? (it comes up on various cards at various times). Am I losing my mind? Judy ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution