Re: Rotatable fields?
on 2/6/02 11:06 AM, Klaus Major at [EMAIL PROTECTED] wrote: Interesting idea. What's the purpose? You can rotate text of course, like any other drawn thing, Would you like to share this secret to this lovely community, please ;-) (In case you are not talking about creating text with the draw-tools (:-) in MC/RR...) -- Yeah, sure, I mean text with the draw tools. Of course, if someone really HAS to rotate fields, they can always set the monitor on its side. We did that for a bed-ridden disabled person whose very limited motor functions only worked on one side, so she laid on that side (couldn't use it anyway) most of the time. We positioned the monitor on its side where she could see it easily, gave her a trackball, and let her go crazy. Best regards, Ken N. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Is there a way to permit an oject to be dragged in rev and some sort of dropped upon message capability
I have a series of objects that I would like for the user to be able to drag to another area of the active card. Thanks... ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Rotatable fields?
on 2/6/02 5:33 PM, Howard Bornstein at [EMAIL PROTECTED] wrote: I also recently had a need for this. I wanted to rotate a button 90 degrees and have the label rotate with it. Unfortunately, it doesn't work. -- Why do you need to rotate the actual button? Just rotate a graphic under a transparent button. HTH...best regards, Ken N. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
AppleScript functions made easy
In HyperCard I had a stack with a lot of AppleScript functions. Because RR treads AppleScript differently, I tried to make a function which may come in handy for others as well. The basic idea is that you store the AS-functions in a separate file; a normal AppleScript-file. No custom props or fields needed, so you don't have to work with a copy of the script, but you can work with the original, which saves time when the AppleScript function is still in development. Then you must know the path and the name of the function in the file. You call it with: get AppleScriptFunction(nameOfFunction, path:to:file, 1, 2, three, four) Mind that on Mac OS classic you need to use colons in the path (2nd param), while on Mac OS X you must use slashes. Then in the stack-script you can put: function AppleScriptFunction aFun, aFile put set theScript to load script (alias quoteaFilequote)return \ tell theScript to aFun( into ASfunc if paramcount() 2 then repeat with e = 3 to paramcount() put param(e) into f if param(e) is a number then put f , after ASfunc else put quote f quote , after ASfunc end if end repeat end if put ) into last char of ASfunc do ASfunc as applescript end AppleScriptFunction Now you can call any function with any number of parameters. The value that is returned by the AppleScript-function is returned by AppleScriptFunction as well. Terry ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: AppleScript functions made easy
In HyperCard I had a stack with a lot of AppleScript functions. Because RR treads AppleScript differently, I tried to make a function which may come in handy for others as well. The basic idea is that you store the AS-functions in a separate file; a normal AppleScript-file. No custom props or fields needed, so you don't have to work with a copy of the script, but you can work with the original, which saves time when the AppleScript function is still in development. Then you must know the path and the name of the function in the file. You call it with: get AppleScriptFunction(nameOfFunction, path:to:file, 1, 2, three, four) Mind that on Mac OS classic you need to use colons in the path (2nd param), while on Mac OS X you must use slashes. Then in the stack-script you can put: function AppleScriptFunction aFun, aFile put set theScript to load script (alias quoteaFilequote)return \ tell theScript to aFun( into ASfunc if paramcount() 2 then repeat with e = 3 to paramcount() put param(e) into f if param(e) is a number then put f , after ASfunc else put quote f quote , after ASfunc end if end repeat end if put ) into last char of ASfunc do ASfunc as applescript end AppleScriptFunction Now you can call any function with any number of parameters. The value that is returned by the AppleScript-function is returned by AppleScriptFunction as well. Terry Thank you, really very useful ! -- Greetings. Yves COPPE Email : [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looks like HyperCard
Jeanne A. E. DeVoto wrote: Well, that's not exactly true. ;-) It's a useful mode for testing before you build your actual standalone...but it's pretty much the same thing you get with Suspend Revolution UI in the Development menu. Well, OK. For me alone, applications which are meant to have a UI, but don't, have little value. I must be missing some secret developer only value to this feature. ;) -- Troy RPSystems www.rpsystems.net ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Record Sound on Windows machine
I have been trying to record sound using Rev 1.1.1b but have not been able to get anything except static. I have the latest version of Quicktime installed. Have tried it on Windows ME and Win XP Pro OSs. Can you give me any clues of which codec, etc. that I should use? Also what filetype is produces using this command? Is it a QT movie? Thanks == Mr. Kim L. Smith Humanities Research Center 3060 JKHB Brigham Young University Provo, UT 84602 Office: (801) 422-7426 Fax: (801) 422-0304
Re: Looks like HyperCard
On Thu, 07 Feb 2002 Troy Rollins [EMAIL PROTECTED] wrote: Jeanne A. E. DeVoto wrote: Well, that's not exactly true. ;-) It's a useful mode for testing before you build your actual standalone...but it's pretty much the same thing you get with Suspend Revolution UI in the Development menu. Well, OK. For me alone, applications which are meant to have a UI, but don't, have little value. I must be missing some secret developer only value to this feature. ;) What you seem to be missing is that stacks *are* applications. Not having them run as applications when you double click on them would be roughly equivalent to double clicking on most executables on your system starting up Codewarrior if you happened to have that installed (i.e., just because it was produced with that tool doesn't make it a document of that tool). And of course anyone that uses MetaCard to build custom utilties for themselves or their companies will be very disappointed to have the whole development environment start up each time they ran one of these tools. Nevertheless, a way open the development environment together with the stack (probably by holding down the control key when double-clicking or something) is planned for a future release. Regards, Scott -- Troy RPSystems www.rpsystems.net Scott Raney [EMAIL PROTECTED] http://www.metacard.com MetaCard: You know, there's an easier way to do that... ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looks like HyperCard
Troy Rollins wrote: This has come up several times in this group. The gist is this - double-clicking a stack opens it, sans the Rev UI. Open the stack in Rev, or create a stand-alone, and all is well. Basically, double-clicking a stack which is not a stand-alone, opens it in Rev in some strange way that no one actually wants to do. ;) Jeanne replied: Well, that's not exactly true. ;-) It's a useful mode for testing before you build your actual standalone...but it's pretty much the same thing you get with Suspend Revolution UI in the Development menu. I thought Troy was right, but Jeanne is the only known exception, so he wasn't speaking the truth, because he said no one actually want it. ;-) I think doubleclicking a stack should start up the Rev UI as well. When someone wants to test, he/she can use the Suspend UI command. Terry ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: insertion point
On Thursday, February 7, 2002, at 07:13 AM, Kevin Miller wrote: On 6/2/02 11:44 am, Pierre Delain [EMAIL PROTECTED] wrote: When I click into some of my unlocked fields to edit text, the insertion point (I mean the vertical bar used to select text) does not appear, although text is editable. This happens for some of my fields, not all of them (I don't understand why, since they are exactly the same). How can I have it back? Do you have objects over the fields? I had this difficulty also with 1.1.1B1 on OSX. Although I am sure (positive as a matter of fact) I did not place an image over the entire surface of the card, one was there. Deleting it fixed the problem. Question is, how did the image get there? Also, clicking on the field selected the field and not the image that was over it (I assume it was over it). Clicking on the card selected the image so I could delete it. John Miskimins ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
More hierarchical menu problems
Hi, I have a button menu with 3 items and two of those items contain 2 sub-items each. The script is fairly straightfoward: On menuPick switch tChosen case item1 statements break case item2 statements break case item3 statements break case sub-item1a statements break case sub-item1b statements break case sub-item2a statements break case sub-item2b statements break end switch end menuPick When I select any sub-items I get statements executed as though I selected some other items. The hierarchical menu is configured with returns and tabs and looks OK. Could this be a bug? -- Tim ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: More hierarchical menu problems
it returns the menu item and the sub item.. example: File New Folder /N File would return New|Folder (check the actual delimiter though).. you would just need to change the delimiter and grab the required item ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: More hierarchical menu problems
On 2/8/02 1:43 AM, yves COPPE [EMAIL PROTECTED] wrote: Hi, I have a button menu with 3 items and two of those items contain 2 sub-items each. The script is fairly straightfoward: On menuPick switch tChosen case item1 statements break case item2 statements break case item3 statements break case sub-item1a statements break case sub-item1b statements break case sub-item2a statements break case sub-item2b statements break end switch end menuPick When I select any sub-items I get statements executed as though I selected some other items. The hierarchical menu is configured with returns and tabs and looks OK. Could this be a bug? -- Tim When you select a subitem, you must write : case Item x|subitem ax statements break case Item x|subitem bx statements break The parent menu must be written followed by | and the subitem menu Good luck. Thanks to all. A combination of chant, secret handshakes, and code correction fixed the problem. -- Tim ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Rotatable fields?
on 2/7/02 2:30 AM, Shao Sean at [EMAIL PROTECTED] wrote: Yeah, sure, I mean text with the draw tools. how does one draw text (not using fields, labels, etc).. i'm trying to find something that works like the REALbasic graphic object so I mix and match text and images with greater control then using a field does.. -- Well, guess what? I forgot Rev has no text tool, although I have no idea why this is so. Because they seem so basic, I probably won't use Rev's paint tools for much beyond overall size and position ideas, maybe simple animation. I'll create the 'real' detailed graphics in software designed for the purpose. You can draw text in just about any paint program: Photoshop, corelDRAW, etc., including HyperCard's Color Tools. Rotate it, flip it, filter it, scale it, color it, mix and match with your other pictures, whatever you like, and import it to RR as a .gif or .jpg. I assume you can't have it as a scriptable graphic 'object' that way, though. Let's ask: Can you import a .gif image and place it in a graphic object? Or in a button icon? Best regards, Ken N. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Rotatable fields?
Well, guess what? I forgot Rev has no text tool, although I have no idea why mm.. this royally bites.. i guess i'll have to come up with something to do what should be built-in.. wish me luck ;-) You can draw text in just about any paint program: Photoshop, corelDRAW, yeah, the only thing is the data is to be created on the fly.. there is no preset data, there is no concept of what the data could be (other than text and images.. the actual content is unknown).. Can you import a .gif image and place it in a graphic object? Or in a button icon? i believe you can for both.. if you are asking if that is good for my needs, see above.. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looks like HyperCard
At 11:30 AM -0800 2/7/2002, Terry Vogelaar wrote: I thought Troy was right, but Jeanne is the only known exception, so he wasn't speaking the truth, because he said no one actually want it. ;-) I think doubleclicking a stack should start up the Rev UI as well. When someone wants to test, he/she can use the Suspend UI command. Well, I tend to agree with this myself, if only because a stack under development is a document that belongs to Rev, and double-clicking the document is the usual way you start up an application to work on that doc. (And there's no way to load the development environment after the fact without quitting and restarting, then re-opening the stack you're working on.) I think this capability is planned for a future release of the engine. My point was just that there *is* a use for it. ;-) -- 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