Re: Up and running!
Just one point: it seems to be slow in loop; I'm wondering if this is real compiling... I think that accessing libraries slows down the program. Am I Can you give an example of the type of loop you're using that is slow? In fact I just investigating before starting a real application. I just made the following. With low level langauges, this loop leads to a quicker display. on mouseUp set the text of field info to empty repeat with k = 32 to 129 if k = 65 or k= 97 then put linefeed linefeed after field info put numTochar(k) after field info put after field info end repeat end mouseUp ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Two questions
Geoff: Your suggestion seems to make a lot of sense, conceptually. One main thing I'm not clear on (I'm on a Mac). Unlike OMO, for example, when I set the stack height in Rev to something beyond the depth of the screen, I don't get a scroll bar in the card window...the window just extends down beyond the bottom of my screen. I see no function in Rev to change the window type to a zoom, for example. So how do I work with a card/stack deeper than screen depth? Thanks. Richard At 6:43 PM -0500 12/28/01, Richard D. Miller wrote: A more difficult question: I'd like to create output on a card in which each line contains a combination of a colored bar followed by text. The length of the bar would vary in each line. In other words, each line of text needs to be represented as well by a bar of a specific length, based on the information in the line. The information on each card will have to scroll, as there will likely be 60-100 lines of information per card. Suggestions on how to do this in Rev? You can create a group of objects, resize it to be smaller than the objects it contains, and then scroll the group using the vScroll property. gc ___ 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
Update from Runtime Revolution
Hello, I hope you had a great Christmas! Best wishes for the New Year from everyone at Runtime Revolution. Network Issues -- As you may have noticed, the runrev.com server was inaccessible for a few days. We are back up now, I do apologize for any inconvenience. There was a problem with the domain name registration. Network Solutions appeared to expire the domain name even though it is fully paid up until 2003. The problem has now been resolved, but it did take them a long time to do this. I leave you to draw your own conclusions about using Network Solutions for domain name services. Beta test of 1.1.1 released! Revolution 1.1.1B1 is available to test now. You may access it using: http://www.runrev.com/revolution/engines11/beta111/ We have built Mac OS, Mac OS X, Windows, Linux, and all other platforms are available by downloading the appropriate engine from the engines11 directory. This is primarily a bug fix release, please do take a moment to glance at the notes at the start of the read me file before using it. Stability should be improved and everything reported up until a couple of weeks back should be fixed. Beta two will catch up on those items not yet fixed in beta 1. HyperCard Conversion Tutorial - There is a new tutorial on converting HyperCard stacks to Revolution available at: http://www.hyperactivesw.com/mctutorial/rrtutorialtoc.html Many thanks to Jacqueline for working hard to bring this to you (she finished it before Christmas!). At MacWorld --- Runtime will be at MacWorld in January. Please drop by our stand! If you want to meet a member of the team to discuss anything in more detail then please bring your laptop and drop us a note as soon as possible so we can arrange a time. I hope to see lots of you there. Special Offer Extended -- Because of the high level of interest we are extending the 80% discount for HyperCard and SuperCard users until the 16th of January. Terms and conditions are available from: http://www.runrev.com/revolution/info/specialoffer/index.html Kind regards, Kevin Kevin Miller [EMAIL PROTECTED] http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Loop slow? (was: Up and running!)
At 1:10 PM +0100 12/29/01, Andre Rombauts wrote: Of course this is quicker: the loop is performed 'outside' the screen display process. But you can hear clearly the 2 beep: the loop takes some time to run... on mouseUp set the text of field info to empty beep repeat with k = 32 to 129 if k = 65 or k= 97 then put linefeed linefeed after varS put numTochar(k)after varS end repeat beep set the text of field info to varS end mouseUp The beeps are not a good indicator of how long something takes. Here's a better way to test (note the use of the ticks() function): on mouseUp set the text of field info to empty put ticks() into tStart repeat with k = 32 to 129 if k = 65 or k= 97 then put linefeed linefeed after varS put numTochar(k)after varS end repeat put varS into field info put ticks() - tStart end mouseUp Note that it only updates the field at the end, but that the field update _is_ included in the timing. This takes from 0 to 1 ticks (1/60th of a second) on my computer. The ticks are displayed after it runs in the message box. The script below takes about 25 ticks -- note that I'm not including updating the field, but I am doing the variable creation 1000 times: on mouseUp set the text of field info to empty put ticks() into tStart repeat 1000 times put empty into varS repeat with k = 32 to 129 if k = 65 or k= 97 then put linefeed linefeed after varS put numTochar(k)after varS end repeat end repeat put ticks() - tStart put varS into field info end mouseUp Finally, if you really need the speed (not that there aren't faster ways that subvert the nature of the test) you can unroll the repeat structure from the if statements. The following performs the same work, but gets it done (1000 times) in 15 ticks: on mouseUp set the text of field info to empty put empty put ticks() into tStart repeat 1000 times put empty into tVarS repeat with k = 32 to 64 put numToChar(k)after tVarS end repeat put cr cr after tVarS repeat with k = 66 to 98 put numToChar(k)after tVarS end repeat put cr cr after tVarS repeat with k = 99 to 129 put numToChar(k)after tVarS end repeat end repeat put ticks() - tStart put tVarS into field info end mouseUp regards, Geoff ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: message box vanishes
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: Two questions
Geoff: Your suggestion seems to make a lot of sense, conceptually. One main thing I'm not clear on (I'm on a Mac). Unlike OMO, for example, when I set the stack height in Rev to something beyond the depth of the screen, I don't get a scroll bar in the card window...the window just extends down beyond the bottom of my screen. I see no function in Rev to change the window type to a zoom, for example. So how do I work with a card/stack deeper than screen depth? Thanks. Richard At 6:43 PM -0500 12/28/01, Richard D. Miller wrote: A more difficult question: I'd like to create output on a card in which each line contains a combination of a colored bar followed by text. The length of the bar would vary in each line. In other words, each line of text needs to be represented as well by a bar of a specific length, based on the information in the line. The information on each card will have to scroll, as there will likely be 60-100 lines of information per card. Suggestions on how to do this in Rev? You can create a group of objects, resize it to be smaller than the objects it contains, and then scroll the group using the vScroll property. gc ___ 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: First impressions (never mind that previous post)
At 10:52 AM -0500 12/29/01, Victor Eijkhout wrote: I would like to know though what I'm doing that Revolution crashes so often. Post descriptions of what you're doing, perhaps with scripts. regards, Geoff ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: message box vanishes
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
create command jumps from run to edit mode
If I'm developing a stack in Rev, issuing the create command makes Rev jump from run to edit mode. For example, I have a button with script on mouseup create field test end mouseup I click on the hand, I click on the button, and now the pointer is the active tool. What's happening here? -- Victor Eijkhout [EMAIL PROTECTED] tel: 865 974 9308 (W), 865 673 6998 (H), 865 974 8296 (F) http://www.cs.utk.edu/~eijkhout/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Scripts do not get saved with crash
At 7:47 AM -0800 12/29/2001, Victor Eijkhout wrote: If I save my stack, and then Revolution crashes (which it does every 5 minutes), the changes I last made do somehow not get saved. Or maybe changes to the main stack script get saved, but not the ones to a button script. Did you save the stack after editing the script? (Either using the usual Save menu item, or by using Apply and Save Stack in the Script Editor.) -- Jeanne A. E. DeVoto ~ [EMAIL PROTECTED] http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Listing AudioClips in a stack
At 2:55 PM -0800 12/28/2001, Mike Brown wrote: Does anybody know a method for viewing or calling up a list of all the audioclips in a stack? I need a script that will do this from within my project (Not The Application Overview). function listOfAudioClips put empty into clipsList repeat with thisClip = 1 to (the number of audioclips) put the short name of audioclip thisClip into \ line (the number of lines of clipsList + 1) of clipsList end repeat return clipsList end listOfAudioClips -- Jeanne A. E. DeVoto ~ [EMAIL PROTECTED] http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
[INFO] SMTP Client Socket v1.2 POP3 Client Socket v1.0
I have released an update to my SMTP Client Socket. New features and updates: - added a new socket pointer parameter to allow for mutliple socket access with the one code - changed the smtpClient_data function into four functions to allow for sending message in chunks (also streams files from raw data into Base64 format for email use) - a few other minor changes Also released is a new POP3 Client Socket which will communicate with a POP3 server to retrieve and manage stored messages in the maildrop. No decoding of the messages are handled by these scripts. You may find these on the RunRev website (in a day or two), or at my personal page. I'm looking for someone who uses RunRev/MC on a Mac who would be interested in testing code to ensure compatibility before releases. Also, if you're interested in being kept up-to-date on releases, just send me an email and I'll let you know (as feel free to write if you need a hand with the either, or both, of the scripts) -- Shao Sean http://dark.unitz.ca/~shaosean/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution