Re: Reading text files

2004-07-10 Thread Chipp Walters
David, Try this. Create a button in your stack and put the following in it: on mouseUp answer file "choose a text file to read" if it is empty then exit mouseUp --> SHOWS THE CONTENTS OF THE TEXT answer URL("file:" & it) end mouseUp If there's nothing in the answer dialog box, then you'

RE: Documentation: best source?

2004-07-10 Thread Kaveh Bazargan
At 6:38 pm -0500 10/7/04, Ken Ray wrote: >> Yes, I did that, but none seemed to fit the ticket. In the >> end the label property did the trick. > >One caveat, Kaveh - the label property is set to the same value as the >"selectedText" property of the button. However the label can be changed >without

Re: Sending AppleScript from Terminal to RR

2004-07-10 Thread Kaveh Bazargan
At 6:24 pm -0700 10/7/04, Dan Shafer wrote: >Or if you're running the bash shell, it looks like this: > >$ exec osascript < >tell application "Safari" > >activate > >end tell [ctrl-d] > >I guess in the bash shell, ctrl d is the EOF. At any rate, typing \EOF >produces no visible result. Thanks to a

Re: Sending AppleScript from Terminal to RR

2004-07-10 Thread Dan Shafer
Or if you're running the bash shell, it looks like this: $ exec osascript activate >end tell [ctrl-d] I guess in the bash shell, ctrl d is the EOF. At any rate, typing \EOF produces no visible result. Nifty But after I type "\EOF", I just keep getting more prompts. On

Re: Bringing some Game Sounds into Rev

2004-07-10 Thread Ken Norris
Hi Kurt, On Jul 10, 2004, at 9:00 AM, [EMAIL PROTECTED] wrote: Date: Sat, 10 Jul 2004 09:31:04 -0400 From: Kurt Kaufman <[EMAIL PROTECTED]> Subject: Re: Bringing some Game Sounds into Rev Then again, to do a lot of live MIDI data entry, a true external MIDI keyboard is probably best. ===

Re: [Slightly OT] Setting up WinXP as webserver to test RunRev CGI

2004-07-10 Thread Andre Garzia
If you're into CGI scripting using Revolution take your time to look into: revHTTPd project which is a simple webserver with tons of features built with Rev. It's ideal for self contained apps and intranets. You can see it running by pointing to http://home.soapdog.org:8082 LibCGI by Rodney an

Re: use-revolution Digest, Vol 10, Issue 36

2004-07-10 Thread Ronald Kozlowski
I am attending a Conference and will be out of the office till the 19th. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

anyone here want to try XML-RPC Server Side.

2004-07-10 Thread Andre Garzia
Hi Folks, it's with great pleasure that I am here to announce that I finally managed to implement XML-RPC server side in Revolution. The "Integer", "String", "Date", "Boolean", "Float" and "Double" datatypes are mapping correctly. It's build in a way that you simply don't need to change your co

RE: Tabkey and Positioning Cursor

2004-07-10 Thread Ken Ray
> try this: > > ... >show fld xyz >select before text of fld xyz > ... > > This will set the cursor to where you want it :-) Or even easier: focus fld "Name" :-) Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ _

RE: Documentation: best source?

2004-07-10 Thread Ken Ray
> Yes, I did that, but none seemed to fit the ticket. In the > end the label property did the trick. One caveat, Kaveh - the label property is set to the same value as the "selectedText" property of the button. However the label can be changed without affecting what is the currenly selected item,

Re: custom properties and how to address them

2004-07-10 Thread Barry Levine
Klaus, Ah, yes! Much more straightforward. Thank you. On 7/10/04 10:00 AM, "Klaus" allegedly flung into the void: >> get line 2 of the customKeys of fld 1 >> put "answer the "& it &" of fld 1" into thePhrase >> do thePhrase > > Here you can omit the last line! > > ... > get line 2 of the cust

Re: Reading text files

2004-07-10 Thread Mark Wieder
David- Saturday, July 10, 2004, 1:09:36 PM, you wrote: DS> open file tfilename What you want here is open file tfilename for read The default mode is update, which will fail because it can't be opened in that mode from a locked device. -- -Mark Wieder [EMAIL PROTECTED]

RE: Sending AppleScript from Terminal to RR

2004-07-10 Thread Ken Ray
Kaveh, Here's a way to do it interactively from Terminal. The following simple script activates Safari... 1) Open Terminal. 2) At the prompt type the following and hit return: exec osascript <<\EOF 3) You should get a new ? prompt. Type each line of the script on its own line and hit return. A

Re: Standalone building

2004-07-10 Thread Dan Shafer
I suspect the reason for the delays is that in the old version, you were not having Rev "slim down" the standalone by removing unneeded stuff. And perhaps not using any profiles, either. These steps can take time (I'm not sure if 4 minutes is appropriate; depends on lots of variables). dan On

RE: Hiddden files and hybrid CDs

2004-07-10 Thread Ken Ray
I had this happen to me as well. What I ended up doing was to burn separate CDs... not much of a consolation, but the only way I could get the product out the door. The other approach is to use visible folders, but just "hide" your files by changing their names/icons/locations so that they aren't o

Standalone building

2004-07-10 Thread David Squance
And while I have your attention ;) How long should it take to build a standalone (RR2.1.2) ? The first ones I did some time back were done in a few seconds. For this project, it takes about 4 minutes each when it is on 'Removing development properties from stack "draws"' and 'Now setting Profile

Re: Reading text files

2004-07-10 Thread David Squance
I wasn't going to do it right away (I was working in the yard), but did and inserting 'for text read' made the difference. Thanks a lot. Dave >Again, thanks for the replies, Dan and Andrew. >I get no results. That is nothing from the text file. I got a long >series of >YesYesYes ...in the field

Re: Sending AppleScript from Terminal to RR

2004-07-10 Thread Kaveh Bazargan
At 3:27 pm -0600 10/7/04, Dar Scott wrote: >On Jul 10, 2004, at 3:04 PM, Kaveh Bazargan wrote: > >>> Stop using AppleScript. Use Transcript or shell scripts. >> >> Sounds like a good idea. But how do I send a Transcript from Terminal >> to RR? > >I'm having a little trouble picturing what you are

Re: Reading text files

2004-07-10 Thread David Squance
Again, thanks for the replies, Dan and Andrew. I get no results. That is nothing from the text file. I got a long series of YesYesYes ...in the field. I'll try Andrew's suggeston: open file tfilename for text read Dave >OK, do you get an error message when you try to read from the CD or do >

Re: Sending AppleScript from Terminal to RR

2004-07-10 Thread Dar Scott
On Jul 10, 2004, at 3:04 PM, Kaveh Bazargan wrote: Stop using AppleScript. Use Transcript or shell scripts. Sounds like a good idea. But how do I send a Transcript from Terminal to RR? I'm having a little trouble picturing what you are doing. If your Revolution app runs the scripts with shell() t

Re: Reading text files

2004-07-10 Thread Dan Shafer
OK, do you get an error message when you try to read from the CD or do you get erroneous read results or no results at all or what? Dan On Jul 10, 2004, at 1:09 PM, David Squance wrote: Dan, Thanks for the reply. I'm only attempting to read from a file, not write to it, but is there a reason th

Re: Sending AppleScript from Terminal to RR

2004-07-10 Thread Kaveh Bazargan
At 2:21 pm -0600 10/7/04, Dar Scott wrote: >In my handy "Learning Unix for Mac OS X Panther", I found osascript. gotta get this. [...] >Stop using AppleScript. Use Transcript or shell scripts. Sounds like a good idea. But how do I send a Transcript from Terminal to RR? -- -- Kav

Re: [Slightly OT] Setting up WinXP as webserver to test RunRev CGI

2004-07-10 Thread Dave Cragg
At 7:31 am +0200 4/7/04, Terry Vogelaar (de Mare) wrote: Hi, I have a Mac OS X machine set up to test my RunRev CGI scipts. It was quite easy to set up the build in server and install the Darwin engine on it, mainly thanks to the great tutorial made by Jacque. For the website I cooperate with some

Re: Getting back stack resizability

2004-07-10 Thread David Kwinter
It worked, a perfect work-around! Thanks a lot - Original Message - From: "Martin Baxter" <[EMAIL PROTECTED]> To: "How to use Revolution" <[EMAIL PROTECTED]> Sent: Saturday, July 10, 2004 1:53 PM Subject: Re: Getting back stack resizability > David, I see the same behaviour here on Rev

Re: reading from cd

2004-07-10 Thread Meitnik
In a message dated 07/10/2004 04:23:13 PM, [EMAIL PROTECTED] writes: > open file tfilename > -- change this to: open file tfilename for text read your reading from locked media...should be better documented, had stumbed on this too for reading from a DVD andrew __

Re: use-revolution Digest, Vol 10, Issue 35

2004-07-10 Thread Ronald Kozlowski
I am attending a Conference and will be out of the office till the 19th. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Re: Documentation: best source?

2004-07-10 Thread Jeanne A. E. DeVoto
At 3:44 PM +0100 7/10/2004, Kaveh Bazargan wrote: For example I am creating an options button and I need to know how to get the item selected. Where is the best place to look for that? Here's one way: 1. Click "All Documentation By Category" 2. Click the "Menus" category 3. Look under the "How To"

Re: Unicode (was "Call for Tutorial Topics")

2004-07-10 Thread Jeanne A. E. DeVoto
It sounds like you looked only at the dictionary instead of the How Tos. You certainly won't find every possible question answered there, but I think there are topics that are close enough to at least give a substantial hint (such as, in your case, "How to enter or display Unicode text in a fie

Re: Sending AppleScript from Terminal to RR

2004-07-10 Thread Dar Scott
On Jul 10, 2004, at 1:47 PM, Kaveh Bazargan wrote: Is it possible to send a simple script direct from Terminal? In my handy "Learning Unix for Mac OS X Panther", I found osascript. Also bearing in mind I want to port this to Linux, what is the best strategy to minimize incompatibility? Stop using A

Re: Communication with USB HID devices?

2004-07-10 Thread Dar Scott
On Jul 10, 2004, at 11:41 AM, Phil Davis wrote: Turns out I have a new contact at OSU Open Source Lab who has already been using the very device I'm working with. I'm told he's developing a cross-platform wrapper (API) for the HID driver on each platform. I'll see what I can

Re: Reading text files

2004-07-10 Thread David Squance
Dan, Thanks for the reply. I'm only attempting to read from a file, not write to it, but is there a reason that doesn't work when the file is on a CD? This is part of the script I'm using: set the itemDelimiter to "/" repeat answer file "Choose the team name:" if the result is "cancel

Re: Getting back stack resizability

2004-07-10 Thread Martin Baxter
>Try this on Windows XP+Rev 2.21: > >- create a new stack >- turn "Metal Texture" on >- turn "Metal Texture" off >- try to resize your stack > >I've learned by trial and error that Metal Texture is intended for Mac >apps, but after doing this is there any way to get my resizability back? >I've alre

Sending AppleScript from Terminal to RR

2004-07-10 Thread Kaveh Bazargan
What is the best way to do this? Right now I have compiled and saved the script as an application, and I send the following command from Terminal: open "myscript.app" But I am not too happy as this brings the application to the front momentarily. What is a better way? Is it possible to send a sim

Re: Documentation: best source?

2004-07-10 Thread Kaveh Bazargan
At 3:35 pm -0400 10/7/04, [EMAIL PROTECTED] wrote: [...] > I'd start off by looking for 'Properties' in the documentation. Can you >find any place where the properties are grouped according to object? Also, it >might be good to see if you can guess what the name of the appropriate >property >sh

Re: Using AppleScript to modify stacks

2004-07-10 Thread Kaveh Bazargan
At 10:16 am -0700 10/7/04, Richard Gaskin wrote: [...] >The "do script" command can be used to trigger custom handlers in your >standalone, or just about anything else that could be done internally >with the "do" command. > >"evaluate" operates like a Transcript function: it evaluates a >Transcri

Re: Getting back stack resizability

2004-07-10 Thread Roger . E . Eller
> - create a new stack > - turn "Metal Texture" on > - turn "Metal Texture" off > - try to resize your stack > ... ... > Is another property to switch? David, This looks like a bug to me... The usual "set the resizable of stack "myStack" to true" has no affect. Can someone else using Windows p

RE: Communication with USB HID devices?

2004-07-10 Thread Phil Davis
Noble effort! Too bad success isn't measured solely by effort... Turns out I have a new contact at OSU Open Source Lab who has already been using the very device I'm working with. I'm told he's developing a cross-platform wrapper (API) for the HID driver on each platform. I'll

Re: Bringing some Game Sounds into Rev

2004-07-10 Thread J. Landman Gay
On 7/10/04 8:31 AM, Kurt Kaufman wrote: If you know the piano keyboard you might also use the sample stack "MIDIBuilder" (included with the Revolution distribution) to generate MIDI files which you could reference in a Player object. JLG wrote: I just looked at this again -- it is really very nic

Re: Using AppleScript to modify stacks

2004-07-10 Thread Richard Gaskin
Kaveh Bazargan wrote: I need to send a message from Terminal to a stack, when a process is finished, so that the stack can start another job. For instance I want the hilite of a button to be set to true. Can I do this with AppleScript, and if so where can I find documentation? Looking at Rev's Appl

Reading text files

2004-07-10 Thread David Squance
I have a stack which needs to read text files and place the content in a field. This had been working fine in the IDE with the text files and the stack in the same folder on my hard drive (Mac OS 10.3.4), but not as a standalone. I switched to the answer file approach, and got it to work with the

Using AppleScript to modify stacks

2004-07-10 Thread Kaveh Bazargan
I need to send a message from Terminal to a stack, when a process is finished, so that the stack can start another job. For instance I want the hilite of a button to be set to true. Can I do this with AppleScript, and if so where can I find documentation? -- -- Kaveh Bazargan http://w

Re: Shell $PATH problems

2004-07-10 Thread Dar Scott
On Jul 10, 2004, at 6:42 AM, Kaveh Bazargan wrote: But when I say put shell("bash --login;" &return& "echo $PATH") I get the new path name, just as in Terminal. Again this might be something basic. Any idea why the return is needed? I can only guess. Maybe some init is done between lines. Dar

Re: use-revolution Digest, Vol 10, Issue 34

2004-07-10 Thread Ronald Kozlowski
I am attending a Conference and will be out of the office till the 19th. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

RE: activate the links present in the html documents.

2004-07-10 Thread Ken Ray
Yogananth, Well, to load the html page into the field, you do: set the htmlText of fld 1 to url ("file:" & pathToFileOnDisk) This will cause Rev to render the HTML the best that it can. Keep in mind that Rev can't display all HTML tags, but only things you could normally have in a field (for e

XML bug, Revolution simply stops executing...

2004-07-10 Thread Andre Garzia
Hi Folks, I've got a XML Tree made of a XML-RPC call, the tree works and I am able to extract the contents of the elements. When trying to count the children of a given node, Revolution simply stops executing the handler without giving any info. I've got this lines put "counting children... " i

RE: Documentation: best source?

2004-07-10 Thread MisterX
set the hilite of btn "checkbox" to true does the trick for a check box button for option buttons, you create your option buttons, group them, set the radiobehavior of the group to true (the revproperty palette sometimes changes the names of these properties for the sake of clarity) also look at "

ANN: WinN2O is now even more powerfull!

2004-07-10 Thread MisterX
You can't stop progress and you cant stop me from updating these nitrous stacks! I noticed that I was missing some features in WinN2O: To change the window mode of your stacks on the fly... I wasn't happy with the auto sizer feature and added a couple revised scripts were needed. Last but not leas

Re: Bringing some Game Sounds into Rev

2004-07-10 Thread Marian Petrides
And quite affordable, as well (easily gotten for under $100 for keyboard + interface), assuming you have software which will capture MIDI (like GarageBand on the Mac). M On Jul 10, 2004, at 9:31 AM, Kurt Kaufman wrote: Then again, to do a lot of live MIDI data entry, a true external MIDI keybo

Documentation: best source?

2004-07-10 Thread Kaveh Bazargan
I am having difficulty finding what I want in the documentation. I have a hard copy of Dan Shafer's book, but that is not comprehensive enough without the future volumes. I find with the help menu I go round and round in circles. I can see lots of tips but I can't get to what I want. For example I

Re: Documentation & Books OT

2004-07-10 Thread Kaveh Bazargan
At 8:35 am -0500 10/7/04, Marty Billingsley wrote: [...] >One of the best tutorial web sites I've seen is Atomic Learning, which >has video tutorials on many common desktop programs (word, excel, >dreamweaver, flash, etc.). The tutorials are terrific and would be >a good model to work from in cr

Re: Bringing some Game Sounds into Rev

2004-07-10 Thread Marty Billingsley
Tom Cole <[EMAIL PROTECTED]> writes: > > The HyperCard stack I am converting is a little pinball game and I used > to use the Play Harpsichord command to get music to play. I'd just > write in the notes. All I really need is for the game to beep, and > boing at wrong answers and maybe play a few no

Re: Documentation & Books OT

2004-07-10 Thread Marty Billingsley
Kurt Kaufman <[EMAIL PROTECTED]> writes > > The music notation program "Finale" has a rather steep learning curve > and many, many tools that do very specific things in terms of notation, > precise page layout and symbol design. In the latest release there are > included a dozen or so "Flash" movi

Re: Bringing some Game Sounds into Rev

2004-07-10 Thread Kurt Kaufman
If you know the piano keyboard you might also use the sample stack "MIDIBuilder" (included with the Revolution distribution) to generate MIDI files which you could reference in a Player object. JLG wrote: I just looked at this again -- it is really very nice, and has come a ways since the early v

Re: Shell $PATH problems

2004-07-10 Thread Kaveh Bazargan
OK. Here is a solution. I learnt the following from my discussions on the Apple Unix discussions forum: = When bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that

Re: customKeys and how to address them

2004-07-10 Thread Klaus Major
Hi Barry, Devin, Thanks for the assistance. I'm reproducing the few script lines that I found demonstrate the basic concept (in case there are others here who are as bamboozled as I was): get line 2 of the customKeys of fld 1 put "answer the "& it &" of fld 1" into thePhrase do thePhrase Here you

Re: use-revolution Digest, Vol 10, Issue 33

2004-07-10 Thread Ronald Kozlowski
I am attending a Conference and will be out of the office till the 19th. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Re: Documentation & Books OT

2004-07-10 Thread Ryno Swart
One of the absolutely 'best documented' products for newbies is SketchUp. It's a 3D application. Oh man! Only last night I wrote this message to a friend, "What I need is a 3D program where I can draw the wire frames. I want to bend those wires by hand." And this morning I learn from Chipp abou