RE: Rotating Polygons

2005-03-28 Thread MisterX
Hi Rick, You'll find a stack with a ton of different examples to do that at http://www.monsieurx.com/modules.php?name=News&file=article&sid=164 SonOfThunder software also has a nice example for images... http://www.sonsothunder.com/devres/revolution/revolution.htm cheers Xavier > -Origina

Re: [noob again]objects and properties and messages

2005-03-28 Thread Richard Gaskin
Jeanne A. E. DeVoto wrote: At 7:34 PM +1200 3/28/05, Richard Gaskin wrote: As I'd written, it returns all properties which are returned in "the properties", as in: get the properties of button 1 This includes read-only properties like ID. If you find any properties not returned by that functio

Rotating Polygons

2005-03-28 Thread Rick Harrison
Hi there, I'm trying to rotate some simple squares and grouped polygon objects around a normal center point. I can't seem to get it to work. The examples in the documentation don't seem to work or make logical sense to me either. Has anyone done this? It seems like it should be a simple thing to

Re: button icons

2005-03-28 Thread Byron Turner
wow. I'm not sure if I should be thrilled it was that easy, chagrined because I missed it, or pissed that in every other case (that I'm aware of) one must specify "image", "button", "field" etc. Thank you. On Mar 28, 2005, at 9:20 PM, Ken Ray wrote: On 3/28/05 11:10 PM, "Byron Turner" <[EMAIL P

Re: button icons

2005-03-28 Thread Ken Ray
On 3/28/05 11:10 PM, "Byron Turner" <[EMAIL PROTECTED]> wrote: > This seems strait forward but for some reason I can't get images into > button icons. I've copied the script right from the dictionary and all > it does is remove existing icons. I've tried different images and > different buttons a

button icons

2005-03-28 Thread Byron Turner
This seems strait forward but for some reason I can't get images into button icons. I've copied the script right from the dictionary and all it does is remove existing icons. I've tried different images and different buttons and nothing. Any ideas? example scripts: set the icon of button "upS

Re: Running MySQL Utility Commands on Remote Server

2005-03-28 Thread Sarah Reichelt
In order to do various forms of database maintenance (dumping, importing copying, etc.) I need to be able to use not just the MySQL server commands but also the MySQL utility commands such as mysqldump. In particular, I'd like to be able to dump the structure and contents of a database on the

Re: Multiple Line SQL for MySQL?

2005-03-28 Thread Sarah Reichelt
Hi Peter, Here is a segment of the handler I use for restoring data to MySQL. This takes the file produced by mysqldump and re-instates it. tRestore is a variable containing the text data. repeat get offset(";" & cr, tRestore) if it = 0 then exit repeat put char 1 to it of tRestore

Re: Mail client with Rev...

2005-03-28 Thread Sarah Reichelt
I have several versions of specialized email clients operating using my POP library & my as yet unreleased SMTP library. They operate in unattended mode on servers and remote monitoring computers 24/7 and some of them process hundreds of emails a day with total reliability, recovering independen

Re: Insertion-point marker disappearence - help

2005-03-28 Thread Ken Ray
On 3/28/05 9:51 PM, "Sarah Reichelt" <[EMAIL PROTECTED]> wrote: >> I have met with a problem, to which I find no explication in the rev >> documentation. Usually an unlocked text field, when selected, will >> have a blinking >> insertion-point cursor. This functions in my mainstack. But a >> text

Re: Handler: error in statement

2005-03-28 Thread Sarah Reichelt
Are there any other handlers that could be causing the problem e.g. closeCard, preOpenCard, openCard? As a test, trying locking messages before going to the new card. If that works, the error is in another handler. If it still fails, are you sure the stack has 5 cards? Try typing "go to card 5"

Re: Insertion-point marker disappearence - help

2005-03-28 Thread Sarah Reichelt
I have met with a problem, to which I find no explication in the rev documentation. Usually an unlocked text field, when selected, will have a blinking insertion-point cursor. This functions in my mainstack. But a textfield in the substack does have active insertion-point (where keyboard text

Re: OT - Mac's Doctor Who!

2005-03-28 Thread kee nethery
On Mar 28, 2005, at 6:27 PM, MisterX wrote: A bit off topic... but very interesting article nonetheless! Somebody should send this guy a Rev PR kit... ;) Wolf, the interviewee is a great guy. He's been very helpful for us on our WebObjects stuff. He'd totally enjoy learning about Revolution and h

OT - Mac's Doctor Who!

2005-03-28 Thread MisterX
A bit off topic... but very interesting article nonetheless! Somebody should send this guy a Rev PR kit... ;) http://www.drunkenblog.com/drunkenblog-archives/000513.html cheers Xavier ___ use-revolution mailing list use-revolution@lists.runrev.com h

Re: [noob again]objects and properties and messages

2005-03-28 Thread J. Landman Gay
On 3/28/05 11:05 AM, Mikey wrote: Are you automating creating tabs? If so, can't you name the tab when you create the card and *then* put the list of cardnames into the tab button? The tabs are updated with the names of the cards as the cards are created. Thus when a new card is created, there is

Re: Revolution - Graph Plotting Routines

2005-03-28 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I don't have one offhand, but be assured there are various such examples floating around. In the meantime, you might want to look at the points property in the docs; the kind of graph you are talking about should be extremely simple to generate usin

Revolution - Graph Plotting Routines

2005-03-28 Thread Glyn Jones
Does anyone know of any graph plotting utilities that can be linked seamlessly to Revolution? I am a structural engineer wanting to plot 2D cartesian coordinates from data generated in my structural programs. Please help if you can, there is no point in me re-inventing the wheel. I am willing

Re: Math wizardry

2005-03-28 Thread Richard Miller
Well James.. I think that does it! Very much appreciated. Richard On Mar 28, 2005, at 2:02 PM, Jim MacConnell wrote: Richard, All of these give different values for the resulting angles, depending on the direction from which the lines are drawn. How do I consistently determine the angle between t

Re: [noob again]objects and properties and messages

2005-03-28 Thread Alejandro Tejada
on Mon, 28 Mar 2005 Mikey wrote: > The problem is that there are issues > that rear their ugly heads (in this case, docs), > that, if they don't get resolved, > become a significant hindrance to sales growth of > the tool, and it fades into obscurity, further > development slows or ceases, and

Re: [noob again]objects and properties and messages

2005-03-28 Thread Mikey
> Click the Objects button at the top of the documentation window, then > open Objects in the list and click the object type you want to > consider. Under each object type is a listing of Properties and > Messages for that object. This is actually very useful. I was just hoping for a more specifi

write to process?

2005-03-28 Thread Lynch, Jonathan
Does anyone know - under what circumstances do write to process and read from process work? ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution

Re: Help with Unicode Text

2005-03-28 Thread Kojima Kenji
Dan, put field 2 into jData --field 2 contains Japanese text replace cr with "" in jData put jData into url ("file:/Users/user1/Desktop/jappTest.txt") Then, do this: put url ("file:/Users/user1/Desktop/jappTest.txt") into jData replace "" with cr in jData set the unicodeText of field 2 to jData Try

Re: [noob again]objects and properties and messages

2005-03-28 Thread Jeanne A. E. DeVoto
At 7:34 PM +1200 3/28/05, Richard Gaskin wrote: As I'd written, it returns all properties which are returned in "the properties", as in: get the properties of button 1 This includes read-only properties like ID. If you find any properties not returned by that function submit a Bugzilla report

Re: Help with Unicode Text

2005-03-28 Thread Dar Scott
On Mar 28, 2005, at 12:06 PM, Dan Friedman wrote: put jData into url ("file:/Users/user1/Desktop/jappTest.txt") Sorry, Dan, I still missed something. For unicode use binfile. If I missed anything else, I'm sure somebody will catch it. I need to go take a break. dar ___

Re: Help with Unicode Text

2005-03-28 Thread Dar Scott
On Mar 28, 2005, at 12:06 PM, Dan Friedman wrote: put field 2 into jData --field 2 contains Japanese text Whoops. I didn't see this. Try this: put the unicodeText of field 2 into jData Dar -- ** DSC (Dar Scott Consulting & Dar's Lab) http://www.

Re: Help with Unicode Text

2005-03-28 Thread Dar Scott
On Mar 28, 2005, at 12:06 PM, Dan Friedman wrote: Anyone know how to replace a return char in a unicode string? There are two problems with your method. Well, the first is really a potential problem depending on what you want to do. Do you mean ASCII carriage return? Or the Revolution newline c

Re: [noob again]objects and properties and messages

2005-03-28 Thread Ken Ray
On 3/28/05 1:34 AM, "Richard Gaskin" <[EMAIL PROTECTED]> wrote: > Mikey wrote: >> I believe devolution only lists properties that are editable, right? >> What about read-only properties? > > As I'd written, it returns all properties which are returned in "the > properties", as in: > > get th

Re: LineOffset

2005-03-28 Thread Yves COPPE
Le 28-mars-05, à 20:19, Till Bandi a écrit : Thanks to Tiil,Alex and Chipp ! Greetings. Yves COPPE [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution

Re: larger/smaller fonts

2005-03-28 Thread Ken Ray
On 3/28/05 1:21 AM, "Richard Gaskin" <[EMAIL PROTECTED]> wrote: > I forgot to clarify: by "styled text" I meant all style attributes, > including size. > > So the challenge is to bump up all sizes by about 10% or so. > > Got a regex one-liner for that? > You usually come up with one for everyt

Re: [noob again]objects and properties and messages

2005-03-28 Thread Jeanne A. E. DeVoto
At 2:48 PM -0500 3/27/05, Mikey wrote: is there a reasonably comprehensive list somewhere of what properties and messages are associated with particular objects? How about which properties are read-only vs. writable? I realize that some of this is available via Transcript, but I'd like to actuall

Help with Unicode Text

2005-03-28 Thread Dan Friedman
Hi folks... Anyone know how to replace a return char in a unicode string? If you do this: put field 2 into jData --field 2 contains Japanese text replace cr with "" in jData put jData into url ("file:/Users/user1/Desktop/jappTest.txt") Then, do this: put url ("file:/Users/user1/Desktop/jappTes

Re: [noob again]objects and properties and messages

2005-03-28 Thread Stephen Barncard
Omnis?? Geesh that thing was a monster. Thousands of pages of boring and hard to read documentation, and thousands of little files. My experience with it was that it was a nightmare, hard to learn, hard to get off the ground. I couldn't make any sense of it - it just didn't speak to me...I HATE

Re: Math wizardry

2005-03-28 Thread Jim MacConnell
Richard, >All of these give different values for the resulting angles, depending >on the direction from which the lines are drawn. How do I consistently >determine the angle between the two lines? I think you may want to take a different approach. Since the user is drawing the lines, it sounds li

Re: Math wizardry

2005-03-28 Thread Jim Hurley
Richard, I should have said that the funciton "theLineAngle" below assumes you define the line *either* by the two end points p1, and p2 Or by the line as defined in Run Rev, that is "the points of grc "myLine". The "points" consists of the point p1 followed by a return character and then point

Re: [noob again]objects and properties and messages

2005-03-28 Thread Mikey
As far as getting over the hump into using the tool, I went through much of this with a couple of other tools I used to use, Omnis being one of them. The problem is that there are issues that rear their ugly heads (in this case, docs), that, if they don't get resolved, become a significant hindran

Re: [noob again]objects and properties and messages

2005-03-28 Thread Mikey
> And you don't have to buy the enterprise version unless you really > need to develop on each platform. The studio edition is quite useful, > and doesn't cost a grand. I've now looked at this a couple of times and I don't remember why, but for some reason the top-end version is what I determined I

Re: Math wizardry

2005-03-28 Thread Jim Hurley
Message: 11 Date: Mon, 28 Mar 2005 10:59:45 -0500 From: Richard Miller <[EMAIL PROTECTED]> Subject: Re: Math wizardry To: How to use Revolution Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; format=flowed Thanks to help from Jim Hurley, I can now compute the angles of

Re: LineOffset

2005-03-28 Thread Till Bandi
Yves try lineoffset(cr &"21/03/2005",cr & tdata) (-> Great Tip from Ken Ray about lineOffset, use-revolution list 25th march) Till Am 28.03.2005 um 18:06 schrieb Yves COPPE: Hello, I search a function to do the following : A text contains lines. each line begins with a date "JJ/MM/" and then

Re: [noob again]objects and properties and messages

2005-03-28 Thread Stephen Barncard
Uh oh, Noobs's at the 'frustration phase' with a taste of righteous indignation just preceding the 'aha' phase. Don't give up. It's not that hard, really. Remember what Dan said when he talked bout the DEPTH of this platform -- 10x the features of hypercard. There are a lot of properties to de

breakpoints bug!

2005-03-28 Thread MisterX
I think I found the real problem with the breakpoints that causes RunRev to suddenly quit after closing some stacks! The first solution Chipp gave us helps but doesn't work for all cases... The second solution is this set the crevgeneral["debugobjects"] of this stack to "" save stack close stack

Re: [noob again]objects and properties and messages

2005-03-28 Thread Ken Ray
On 3/28/05 10:58 AM, "Mikey" <[EMAIL PROTECTED]> wrote: > Here's another question on groups/backgrounds in RR: Can you have > multiple-inheritance on a card, i.e. can one card have two different > groups acting as backgrounds on it? This becomes an issue when two > groups-as-backgrounds cards ar

Re: [noob again]objects and properties and messages

2005-03-28 Thread Dan Shafer
MIkey Yep. Dan On Mar 28, 2005, at 8:58 AM, Mikey wrote: Can you have multiple-inheritance on a card, i.e. can one card have two different groups acting as backgrounds on it? ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists

Re: [noob again]objects and properties and messages

2005-03-28 Thread Mikey
> Are you automating creating tabs? If so, can't you name the tab when you > create the card and *then* put the list of cardnames into the tab button? The tabs are updated with the names of the cards as the cards are created. Thus when a new card is created, there is a tab that says "card id _

Re: [noob again]objects and properties and messages

2005-03-28 Thread Mikey
Ken, I think you have identified several of the issues that I have with those three buttons. The bolding doesn't mean anything to me. Changing the name or the icon of the button is a lot more meaningful to me. Here's another question on groups/backgrounds in RR: Can you have multiple-inheritanc

Re: [noob again]objects and properties and messages

2005-03-28 Thread Ken Ray
On 3/28/05 10:29 AM, "Mikey" <[EMAIL PROTECTED]> wrote: > Unfortunately this doesn't work when a new card is added to the mix > and the tab is given the short names of all cards in the stack, since > you can't go to a card with a name like "card id 387274", and even > executing there is a card "ca

Re: SNMP software in Rev

2005-03-28 Thread Dar Scott
On Mar 28, 2005, at 8:17 AM, Bill Vlahos wrote: I'd like to write an app that queries SNMP MIBs from network switches and routers. Can anyone tell me how to do SNMP queries in Rev? I'd like to do this sometime, too. Without looking into it, I'd say the blatantly obvious: Use TCP/IP (sockets) and

Re: Quit vs Exit

2005-03-28 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 on preOpenStack if the platform is "Win32" then put "E&xit" into the last line of button "File" else put "Quit/Q" into the last line of button "File" end preOpenStack then just intercept the option with either name in your menu script. On Mar 28,

Re: Rev Help System

2005-03-28 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm using a program called HelpLogic (www.ebutterfly.com/helplogic) to generate HTML help sources which you can then use Apple's developer tools on OS X, or Microsoft's help workshop thing on Windows, to convert to platform-native help files for the

Re: LineOffset

2005-03-28 Thread Alex Tweedly
Yves COPPE wrote: Hello, I search a function to do the following : A text contains lines. each line begins with a date "JJ/MM/" and then a tab and the a ascii text Id like to find the line which contains the date 28/03/2005 tab ascii text 25/03/2005 tab ascii text 21/03/2005 tab ascii text 20

Re: [noob again]objects and properties and messages

2005-03-28 Thread Mikey
Unfortunately this doesn't work when a new card is added to the mix and the tab is given the short names of all cards in the stack, since you can't go to a card with a name like "card id 387274", and even executing there is a card "card id 387274" returns false. Tao it, dude. Is there a RR comman

Re: [noob again]objects and properties and messages

2005-03-28 Thread Ken Ray
On 3/28/05 9:15 AM, "Mikey" <[EMAIL PROTECTED]> wrote: >> If you are coming from HyperCard or SuperCard, I agree, backgrounds can be >> frustrating, but only if you think of them as "backgrounds". If you rather >> think of them as shared groups (much like sharedText is for fields), then it >> is c

LineOffset

2005-03-28 Thread Yves COPPE
Hello, I search a function to do the following : A text contains lines. each line begins with a date "JJ/MM/" and then a tab and the a ascii text Id like to find the line which contains the date 28/03/2005 tab ascii text 25/03/2005 tab ascii text 21/03/2005 tab ascii text 20/03/2005 tab ascii

Re: Math wizardry

2005-03-28 Thread Richard Miller
Thanks to help from Jim Hurley, I can now compute the angles of separate, but interesecting, lines, each relative to the horizontal. So I've got these two angles. But I'm not having any success figuring out (consistently and accurately) what the angle is between the two lines. I'm only interest

Re: [noob again]locking background objects

2005-03-28 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You can combine this with the cantSelect property of the group itself to prevent the group from being selected at all. On Mar 26, 2005, at 5:44 PM, Pat Trendler wrote: I think this is what you want. selectGroupedControls property (global) Platform su

SNMP software in Rev

2005-03-28 Thread Bill Vlahos
I'd like to write an app that queries SNMP MIBs from network switches and routers. Can anyone tell me how to do SNMP queries in Rev? There was a program " LG Network Manager" on the MetaCard web site which spoke SNMP but the link for it doesn't go anywhere and a Google search doesn't come up wi

Re: [noob again]objects and properties and messages

2005-03-28 Thread Mikey
> > Completely by accident I discover the tabStop property for fields, and > > shread a bunch of code from the field, cursing the whole time that the > > tabStop property isn't listed on the Properties palette for fields, > > (at least as far as I could see). > > Well, it *is*, but it's under the

Re: thanks for the info. Another question

2005-03-28 Thread T. R. Ponn
Kevin, on mouseUp ask "What is your name?" if the result is "Cancel" or it is empty then exit to top answer "Hello,"&&it&"!" end mouseUp Best Regards, Tim Ponn Kevin J wrote: Hi thanks for all the usful info. Now I have just started to play around with revolution. What I was trying to do was

Re: Is there a list of the keyboard shortcuts in the documentation?

2005-03-28 Thread Thomas McGrath III
There it is under the Help Menu. I forgot those things were there. Tom On Mar 28, 2005, at 2:47 AM, Chipp Walters wrote: Anyone? I looked and looked and couldn't find anything under: keyboard shortcuts keys Seems an obvious one. A noob asked me offline about it, and unfortunately, I couldn't answe

Re: Is there a list of the keyboard shortcuts in the documentation?

2005-03-28 Thread Thomas McGrath III
Tip: You can also use several shortcuts to open an object's script. See the Shortcuts section of the documentation for more. But of course I can't find a "Shortcuts" section... Tom On Mar 28, 2005, at 2:47 AM, Chipp Walters wrote: Anyone? I looked and looked and couldn't find anything unde

Re: "rather not have apps... from a web page"

2005-03-28 Thread Thomas McGrath III
That seems to be the key. I actually was not aware they were just scripts. Cool. thanks tom On Mar 28, 2005, at 2:43 AM, Richard Gaskin wrote: The key is to remember that they're not part of the engine, just scripts in buttons that get inserted into your backscripts. You could just put them in

RE: HC Home handlers

2005-03-28 Thread MisterX
welcome to the TAOO project ;) coming very soon... cheers Xavier > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Mikey > Sent: Monday, March 28, 2005 15:42 > To: How to use Revolution > Subject: Re: HC Home handlers > > It's looking to me like I

Re: [noob again]objects and properties and messages

2005-03-28 Thread Ken Ray
On 3/28/05 7:33 AM, "Mikey" <[EMAIL PROTECTED]> wrote: > Completely by accident I discover the tabStop property for fields, and > shread a bunch of code from the field, cursing the whole time that the > tabStop property isn't listed on the Properties palette for fields, > (at least as far as I cou

Re: HC Home handlers

2005-03-28 Thread Mikey
It's looking to me like I need to start another blog: The Unofficial ScriptMasters' Essential Shell, which would include the tools that everybody must have and a stack with a bunch of utility scripts that everybody probably ought to have access to all the time. -- On the first day, God created

Re: [noob again]objects and properties and messages

2005-03-28 Thread Mikey
Pat, Dan, Richard, et. al, The thing that got me on this topic was a little project that I'm trying to build in RR which involves, at this point just two objects: A field, and a tab panel/button/whatever. Completely by accident I discover the tabStop property for fields, and shread a bunch of cod

Re: [noob again]objects and properties and messages

2005-03-28 Thread Mikey
OK, Xavier, I'm looking through your list. Under buttons, I don't see any of the menu events that it appears from RevZilla that Tab Buttons or Tab Panels or whatever one would call them receive. Did I read too fast? -- On the first day, God created the heavens and the Earth On the second day,

A great Windows TIP!

2005-03-28 Thread MisterX
Doing professional tools means you respect the professional way of reporting errors right? I write compiled runrev NT administration tools for NT servers and these dont usually know how to report errors to the system. A log file is always helpful but maybe you need to log the errors into the NT

Re: Calculating a number?

2005-03-28 Thread Dom
Richard Gaskin <[EMAIL PROTECTED]> wrote: > put fld 1 + fld 2 into fld 3 I have some custom budget stacks -- one field "lechamp" for details, one by line, and one field "letotal" for the... total! put fld lechamp into montants replace return with comma in montants put format("%3.2f",sum(mo

Re: Is there a list of the keyboard shortcuts in the documentation?

2005-03-28 Thread Pat Trendler
help/quick reference/shortcut reference. Pat - Original Message - From: "Chipp Walters" <[EMAIL PROTECTED]> To: "Use-Revolution" Sent: Monday, March 28, 2005 5:47 PM Subject: Is there a list of the keyboard shortcuts in the documentation? Anyone? I looked and looked and couldn't find an

Re: "rather not have apps... from a web page"

2005-03-28 Thread Chipp Walters
Hi JB All of our apps use a splashscreen which updates over the web: Check out: http://lists.runrev.com/pipermail/use-revolution/2003-August/021590.html and http://lists.runrev.com/pipermail/use-revolution/2004-February/030395.html -Chipp jbv wrote: Just curious : how do you manage upgrades of a st