Revolution and Internet Applications
The applications I envision building over the next year or two are all Internet and Web-based applications. They provide non-browser approaches to dealing with information stored in Web pages and on Internet sites in databases and other formats. So the Internet capabilities of my tool set are crucial. As I probe Revolution's documentation and build small test stacks, I seem to be finding that this particular aspect of Revolution is not (yet) well-developed. For example, not only is the htmlText property very weak in terms of the tag support it offers, it appears to me that it doesn't support even those limited tags it claims to. Specifically, the tag set appears to be unsupported, at least under OS X. Clicking on text that is connected to a link in the original Web page does not generate an automatic link to the new page. I presume this could be scripted but it's difficult to see how: (a) this could be a general-case solution; and (b) one can claim to support a standard HTML tag but not its associated behavior. Similarly, the tag does not seem to work, either. At least the image never gets displayed on any of several Web pages I've tried it with. Beyond that, general Internet support seems to be lacking. Of course, there could be more than meets the eye; without a manual, it's hard to say. The scripting dictionary is useful, but there's no categorization so I can't, e.g., easily find a list of all net-related stuff. I keep having to follow "see also" links that sometimes don't go anywhere useful and often don't have links back to where I was. Or at least so it seems. None of this should be seen as an indictment of Revolution, though. As a long-time HyperTalker, I'm really excited by what I see here. I am hoping to find out that I'm just wrong about this stuff and that Revolution can in fact be the development tool I seek. But after a few hours of exploration, I'm inclined to think it's not yet ready for prime time for the kinds of apps I want to build. Anyone have a different experience or some insights to share? -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- Dan Shafer Technology Visionary - Technology Assessment - Documentation "Looking at technology from every angle" http://www.danshafer.com 831-392-1127 Voice - 831-401-2531 Fax ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Password-protecting a stack...
I have a standalone which creates stacks. I wish them to be protected. So, I set the password property of a newly created stack before saving it. Now, when I launch RunRev, I can open and view the controls and fields of the newly password protected stack without any password prompt! I only get asked for the password when I attempt to access the scripts. Any idea on how I can prevent people from seeing the controls and fields as it is there I am storing information. Thanks for any help. -Chipp ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: how to launch an application in Mac OS X?
To launch an application in OS X, first find out if it's already running, if it is you probably only want to bring it to the front, if it isn't then you can launch it. This is the code I use, it's lengthy but robust. Call StarProg with the name of the program as the first parameter "Quicktime Player" and the complete path to the program as the second parameter, I think you'll need: /Diskname/Applications/QuickTime Player.app/Contents/MacOS/Quicktime Player Create a custom property in the stack called "AppleScript1" and set its contents to: tell application "Finder" return name of every process end tell Put on a card script: global processlist on getprocesses do the applescript1 of this stack as AppleScript put the result into processlist end getprocesses function startProg theName,thePath getprocesses if quote&theName"e is in processlist then do "tell application " & quote & theName & quote & " to activate" as applescript return "Active" exit startProg -- already running end if if there is not a file thePath then return "ERROR: No such application." exit startProg end if KILL quit process thePath -- clears the openProcesses, otherwise RR will -- return "process already running" on the launch launch thePath put the result into res -- check the result for "error -nn" Return res end startProg On 7/4/02 2:38 pm, "Luke Martin" <[EMAIL PROTECTED]> scribed: > I am running Mac OS X 10.1.3. What is the proper way to launch an > application in Mac OS X (i.e. QuickTime Player)? > > Cheers > Luke > > ___ > 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: how send file
Recently, John Cuccio wrote: > How do I change that file or add a file to that folder. Like I do on my > local hard drive. > > I tried > put field 2 into url myfile -- this does not work put field 2 into url ("file:" & myFile) Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: [EMAIL PROTECTED] Web: www.tactilemedia.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: clipboard extension
on 4/7/02 4:35 PM, Troy Rollins at [EMAIL PROTECTED] wrote: > Intercepting events system wide is generally not possible for something > which is run as a program process. Rev is doing this presumably by > trapping the keyboard command before it get's through to the system. > However, if it is not the current frontmost application, it never gets > the keystrokes to trap. > > I believe it was Dar, who earlier in this list discussed making Rev apps > a "service" on Windows. Implementation at this level may give you what > you are looking for - I haven't done it, so I'm not sure. -- Gosh, do you think this is possible with Rev? It would allow my onscreen keyboard shareware to do more than the ones now being offered by Apple or MS for about 20% (or less) of the price. Best regards, Ken N. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
how send file
I have set up personal web sharing on a mac. I can display the contents of a text file in a field put "http://filepath"; into myfile put url myfile into field 1 How do I change that file or add a file to that folder. Like I do on my local hard drive. I tried put field 2 into url myfile -- this does not work I am trying not to use apple script because the system will be Windows sending a file to the mac. What I am trying to do if you have any thoughts. I want to sent a file from 5 different locations to a central location and build a Rev app to view and do stuff with the data. Right now I have PC anywhere calling the remote locations and sending the file. PC anywhere is not always reliable. I thought about email the data to an email address. But I do not know how to download an attachment automatically. Thank you. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: The voice dilemma
The only way, at least currently, to use speech on Windows is to use an external. You can get it at http://www.xworlds.com/metacard/ Scott Slaugh - Original Message - From: "Ken Norris (dialup)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, April 07, 2002 5:27 PM Subject: The voice dilemma > Hello Rev list, > > One of the critical things that makes the onscreen keyboard I'm making > different is its ability to have full audio feedback. The problem is, I > don't know anything about voices for Windows. Does Windows or Unix have > native voices? > > The Mac OS has voices. In my HyperCard version (still unfinished) all I have > to do is use a command: speak "Hello" with voice "Fred", or speak field > myField with voice "Zarvox", or set a phrase as a button task (I love the > idea of setting up a stack full of such object tasks, but the problem > remains: What's available on various platforms?). > > How do I implement voices in Rev? > > Thanks, > Ken N. > > > ___ > 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: clipboard extension
On Sunday, April 7, 2002, at 05:01 PM, Steve L wrote: > How is it possible to accomplish this? There must be > a way, as there are a ton of clipboard extension > programs that do just that; they are usally located in > the system tray, when running, I don't know if this > has anything to do with it or not. Intercepting events system wide is generally not possible for something which is run as a program process. Rev is doing this presumably by trapping the keyboard command before it get's through to the system. However, if it is not the current frontmost application, it never gets the keystrokes to trap. I believe it was Dar, who earlier in this list discussed making Rev apps a "service" on Windows. Implementation at this level may give you what you are looking for - I haven't done it, so I'm not sure. -- Troy RPSystems www.rpsystems.net ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
The voice dilemma
Hello Rev list, One of the critical things that makes the onscreen keyboard I'm making different is its ability to have full audio feedback. The problem is, I don't know anything about voices for Windows. Does Windows or Unix have native voices? The Mac OS has voices. In my HyperCard version (still unfinished) all I have to do is use a command: speak "Hello" with voice "Fred", or speak field myField with voice "Zarvox", or set a phrase as a button task (I love the idea of setting up a stack full of such object tasks, but the problem remains: What's available on various platforms?). How do I implement voices in Rev? Thanks, Ken N. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Image still cut off/menubar problem
on 4/7/02 4:59 AM, Klaus Major at [EMAIL PROTECTED] wrote: > just a quick thought... > > Is the image part of a group and is the "lock location" of this group > set to true ? -- No, but it will be a grouped image (on all cards in the stack). -- > If yes, that explains the mistery... -- How so? -- > Have a nice sunday... -- Thanks, I will. Same to you. Best regards, Ken N. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
clipboard extension
Hello, Iam trying to put together a clipboard extension program with Rev, however, I am having the following problem (I am sure to do with the lack of my experience): I used the "copyKey" scripting in Rev to intercept/take over when the copy command keys (ctrl & insert) are pressed on the keyboard; this works fine when the Rev program is the program that is focused, however, once it is minimized or the focus goes to anothor program, it no longer intercepts the copy command keys (ctrl & insert). How is it possible to accomplish this? There must be a way, as there are a ton of clipboard extension programs that do just that; they are usally located in the system tray, when running, I don't know if this has anything to do with it or not. Thanks Steve __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Auto-remove blank lines in a list field
>Hello all, > >I have a list field and I am trying to write a script >that upon "closeField" (or something appropriate), >will automatically check each line in the field and >remove/delete any blank lines in the list field; I >have tried this a ton of different ways using >variations of the repeat command, but have not been >able to make it work. > >Thanks > >Steve > on closeField filter me with "?*" end closeField -- regards, Geoff Canyon [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Hilite Color disobeyed
At 6:33 AM -0700 4/7/02, Jeanne A. E. DeVoto wrote: >I've seen this too, intermittently, and it's a known problem (which I >should have put in the release notes). I think it was determined that this >is an engine buglet. I'm not sure when it will be addressed. Thanks for your reply, Jeanne. I'm really disappointed to hear the text-hilite problem may be an engine bug. It occurs about 70% of the time here, and causes any stack where the user enters text to be virtually useless. (That's especially true when the text hilite color is very dark, which usually occurs.) When the user tabs from field to field, for example, the field text is unreadable. So too is text selected to be modified or Copied. A selected line of a list field cannot be read. Default text in Ask dialogs cannot be read. And, of course, the overall impression is "buggy software". As a Revolution newbie, I'm really excited by what I see in Revolution, but I'm uncomfortable offering stacks with this feature to the general public. This really needs to be fixed, in my opinion. Maybe this recipe is already known, but I've noticed the script editor uses the correct hilite color when opened by the Script tab of the Properties palette, but not when you press Command-Option over an object. Nor does it work correctly when opened by one of the "Script" buttons of the Application Overview window, nor by dragging the Script tab out of the Properties palette. So sometimes the script window is fine and other times it has the problem, which may make it easier to debug. (On the other hand, if they are two very different windows it only suggests that one Script window has the problem and the other doesn't.) There's another text-selection issue that need to be addressed too, I believe. Selected text should show a different hilite when Revolution is in the background. (Mac OS 9.1 here.) As I type in Eudora, for example, the selected text of the Revolution window in the background looks identical to when it is frontmost. Instead of hiliting the text, the text should be framed. (That, or not show a hilite at all in the background.) As a newbie, I never know if there's a yet undiscovered setting to apply the proper behavior, or if I can safely assume the environment controls such behavior. (I spend a lot of time searching.) Karl ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Auto-remove blank lines in a list field
There are several ways to delete blank lines. Here's the most straightforward: put the number of lines in myText into lineCount repeat with i = lineCount down to 1 if line i of myText is empty then delete line i of myText end repeat Here's another way, probably faster for large amounts of text, but isn't very elegant: repeat until offset(return & return,myText) = 0 replace return & return with return in myText end repeat if line 1 of myText is empty then delete line 1 of myText The most elegant way to do it is probably using the replaceText command, which may be powerful enough to accomplish this task without even using a repeat loop. This is an advanced command which makes use of regular expression technology for text pattern matching. (Maybe somebody on this list knows a regular expression to identify an arbitrary number of consecutive blank lines...). Whichever method you choose, you might consider enclosing your code in a function, as in function stripBlankLines inputText <> return myVariable end stripBlankLines This will make it easily reusable throughout your project. >Hello all, > >I have a list field and I am trying to write a script >that upon "closeField" (or something appropriate), >will automatically check each line in the field and >remove/delete any blank lines in the list field; I >have tried this a ton of different ways using >variations of the repeat command, but have not been >able to make it work. > >Thanks > >Steve > >__ >Do You Yahoo!? >Yahoo! Tax Center - online filing with TurboTax >http://taxes.yahoo.com/ >___ >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: Auto-remove blank lines in a list field
>Hello all, > >I have a list field and I am trying to write a script >that upon "closeField" (or something appropriate), >will automatically check each line in the field and >remove/delete any blank lines in the list field; I >have tried this a ton of different ways using >variations of the repeat command, but have not been >able to make it work. > >Thanks > >Steve You must count down : put the number of lines of fld "yourfldname" into totLines repeat with x = totLines down to 1 if line x of fld "yourfldname" is empty then delete line x of fld "yourfldname" end if end repeat hope this help. -- Greetings. Yves COPPE Email : [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Revolution Book
Hi, I have been using RR daily now for months. I continue to be happy with its capabilities. The only thing that remains an issue for me is the lack of printed documentation and / or third party books on the subject. It is clear that there are additional sources of information because many of the contributors to these lists seem to be extremely knowledgeable about transcript and RR in general. Where did these folks get this information? Was it working w MetaCard? Is there some printed documentation available for Metacard? Don't get me wrong. I'm not angry about this, just frustrated. Does anybody know if there is there a book in the works. What we really need is a book similar to Danny Goodman's "Complete HyperCard Handbook". That type of book could make learning the intricacies of Transcript and Run Rev a lot easier than randomly accessing the online help app or going to the lists. Just my 2¢. Steve -- Stephen R. Messimer, PA Messimer Computing, Inc. www.messimercomputing.com ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: MOD function does not work! So be warned!
On Sunday, April 7, 2002, at 07:24 AM, Michael D Mays wrote: > Actually the answer to my question is that there is no such thing as an > integer in xTalk. Any string which could be a number which seems > to act like > an integer is a binary real which has an exact decimal > representation during > computation. You can't define a range for an integer if your > language does > not have the concept of type. If an implementation did use an integer type for a particular range and then switched to floating point outside that range, how would we ever know? > What I was trying to say is that an integer to a lot of people is > a whole > number in the range of +/- infinity. If they add zero to a large > integer and > the result is another large integer they are upset. Just like > those people > who summed ten tenths and didn't get one. Yes! Most of us learn what an integer is early in mathematics education. The computer language concept of integer type is related, but is not the same; it is computer jargon. > This isn't a large problem in the since that most xTalk > programmers aren't > going to be writing programs where they will encounter these > situations. I have to defer to your judgment on this. I wonder though, whether this is the case because those who tried went on to other applications or other environments after becoming frustrated. I can imagine, though, a little stack to keep up with expense reports that reports after a couple months that reimbursements do not equal out-of-pocket expenses. > The large problem I see is if an xTalk were ones first language > one would be > ignorant of computer numerics. This is why I would prefer to see limitations described in terms of numerals. Or, if that cannot be done, then a safe zone and behavior within it described in simple terms using numerals (referring to number of digits and so on). Anything outside that safe zone is for advanced users and can be described in technical jargon. (What I would really prefer is numbers virtually based completely on numerals.) As typical in any field, those of us who have paid the price to learn trade knowledge think it is easy and the right place to build concepts. Moreover, sometimes we tend to think of those things as the "right" way to think about the world. Or rights of passage into the priesthood. Or, "you can't stay innocent forever, you will have to learn about the real world eventually." Or, "when you get really good, you can graduate to C." A script writer should be able to concentrate on a particular problem domain using commonly held knowledge. At times that problem domain does involve computer numerics as in writing scripts to input or output data that involves those. Those concepts belong only in those commands and functions and options that involve those. Dar Scott ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Auto-remove blank lines in a list field
Hello all, I have a list field and I am trying to write a script that upon "closeField" (or something appropriate), will automatically check each line in the field and remove/delete any blank lines in the list field; I have tried this a ton of different ways using variations of the repeat command, but have not been able to make it work. Thanks Steve __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: mainstack and substack
> > Hi, > >Suggest you use the Application Overview: > >With your stack file selected, expand the overview window. >Then click 'show stack mover'. >Select the stack you want to be the main from the list (source file). >Click 'select' (source file). > >The new selected stack will be the main stack and the previous main >stack is now a substack. > >Regards ... Bob >_ Thanks. It was so easy ... -- Greetings. Yves COPPE Email : [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Another vote for PocketPC support!
Recently, Kevin Miller wrote: > However the other one [PocketPC] wouldn't be so hard and might well > happen if we get enough requests. The PocketPC is quickly becoming a very useful 'platform' for specialized tools, many of which require custom software development and very fast-track prototyping -- where Rev would really shine. Please add my request to your list! And congrats on 1.1.1! Tony Gravett ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
mainstack and substack
Yves wrote: Hello, I have a mainstack with many substacks. I'd like to change making one of the substacks the main stack and the actually main a substack. How to proceed ? -- Hi, Suggest you use the Application Overview: With your stack file selected, expand the overview window. Then click 'show stack mover'. Select the stack you want to be the main from the list (source file). Click 'select' (source file). The new selected stack will be the main stack and the previous main stack is now a substack. Regards ... Bob ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Hilite Color disobeyed
At 10:24 AM -0700 4/6/2002, Karl Petersen wrote: >It's not uncommon for the Mac's text-selection Hilite Color to be >disobeyed in stacks, standalones and development windows (e.g. the >script editor.) Instead, Rev uses a very dark grey color when >selecting text, which makes the selected text almost impossible to >read. I've seen this too, intermittently, and it's a known problem (which I should have put in the release notes). I think it was determined that this is an engine buglet. I'm not sure when it will be addressed. -- Jeanne A. E. DeVoto ~ [EMAIL PROTECTED] Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Bad Chars in Rev Docs (was 'Re: Jeanne...revAppVersiondoesn't work?')
At 11:12 AM -0700 4/6/2002, Ken Ray wrote: >There's also option-= as well, which doesn't display properly. But you CAN >display them under Windows by using the Symbol font Thanks for the suggestion - I'll look into it. It ought not to be too difficult to do this for the next version of the docs. (I suppose a Windows machine might not have the Symbol font installed, but it seems the worst case would just have the characters displayed as boxes, which is what we've got now) -- Jeanne A. E. DeVoto ~ [EMAIL PROTECTED] Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
how to launch an application in Mac OS X?
I am running Mac OS X 10.1.3. What is the proper way to launch an application in Mac OS X (i.e. QuickTime Player)? Cheers Luke ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: MOD function does not work! So be warned!
Actually the answer to my question is that there is no such thing as an integer in xTalk. Any string which could be a number which seems to act like an integer is a binary real which has an exact decimal representation during computation. You can't define a range for an integer if your language does not have the concept of type. What I was trying to say is that an integer to a lot of people is a whole number in the range of +/- infinity. If they add zero to a large integer and the result is another large integer they are upset. Just like those people who summed ten tenths and didn't get one. This isn't a large problem in the since that most xTalk programmers aren't going to be writing programs where they will encounter these situations. The large problem I see is if an xTalk were ones first language one would be ignorant of computer numerics. michael Rob Cozens of [EMAIL PROTECTED] wrote the following on 4/6/02 10:32 AM >> One problem is what is an integer? >> > > I would define an integer as any non-decimal number within the range > of numbers supported by the interpreter. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Image still cut off/menubar problem
Hi Ken, > Hi there, > > Mac PB 1400c, 133mhz, 48 mb, OS 8.6, SanDisk Flash memory 128 mb with > 120 mb > available for additional virtual RAM, RR 1.1b1 > > Three problems: > > 1) The full screen image I put in is still cut off at the top where the > task > buttons are. The image is mostly there, but it's pushed down. I've never > seen anything like this before. > > When I push it back up into position, more of the top gets cut off. I > tried > sizing it's rect to the screen size (0,0,600,800 in this case) this way: > > on preOpenStack > set the rect of image "VirtualKeyboard" to 0,0,600,800 > end preOpenStack > > ...because I understood that's how to do it, but it doesn't work. > Should I > quote the rect dim's (the docs say not)? just a quick thought... Is the image part of a group and is the "lock location" of this group set to true ? If yes, that explains the mistery... Have a nice sunday... Klaus Major [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
List Field and Ask Dialogue
Hi Magnus the following script does the trick (as many others, too) on mouseup put the clickline into ClickLineHolder put word 2 of ClickLineHolder into ClickLineHolder ask "How many?" with "1" put tab & it after line ClickLineHolder of me end mouseup Cheers Martin ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution