Splash Screen Designer

2008-01-16 Thread Richmond Mathewson
This is listed as SPLASH SCREEN DESIGNER; look under 'Richmond' The name of the stack is SSD.rev, and that is how it shows up when it is put into the Plug-ins folder. sincerely, Richmond Mathewson A Thorn in the flesh is better than a

docs

2008-01-16 Thread Peter Alcibiades
"supercard docs leave the user reverse enginering for dollars" Yes. Yes, so true. The problem is not with the existing docs, which are just fine for what they do. The problem, for people learning it, is that they are like a cookbook all about ingredients but with no recipes for dishes. Its li

docs

2008-01-16 Thread Randall Lee Reetz
Someone mentioned one of the great hypercard books... Made me wish as much of the inner workings of modern xtalk environments were as transparently explained by the developers themselves. I cant spealpk for runrev but supercard docs leave the user reverse enginering for dollars. randall _

Re: cancel a wait

2008-01-16 Thread Kay C Lan
On Jan 17, 2008 1:27 AM, Chris Sheffield <[EMAIL PROTECTED]> wrote: > Is there any way to cancel a wait command? > > So I'm wondering, if a user moves to that second card before the audio > of the first card finishes, is there some way to cancel that > wait...with messages? Does that make sense? L

Re: Splash Screen Designer

2008-01-16 Thread -= JB =-
Is that the name it is listed as and what category is it in? I could not find it. -=>JB<=- On Jan 16, 2008, at 12:22 PM, Richmond Mathewson wrote: Just uploaded to revOnline: Shamelessly copied from HyperNext; but, I belive, rather better. Download it into your plug-ins folder and use it wi

Re: Unicode Problem

2008-01-16 Thread Mark Smith
Dave, this may be an endian issue. The string below is a big endian unicode string, if you're on an intel machine you'll need to either reverse each pair before calling unidecode, or simpler (if you're sure there'll be no non-ascii characters) just 'replace null with empty in myStringData'

Re: Unicode Problem

2008-01-16 Thread Sarah Reichelt
> I'm reading a string from a file that is stored in Unicode (2-byte) > format. I need to convert it to one byte characters in order to write > the string to a database which is later sent to the server. > > When I execute the following it gives unexpected results > > put uniDecode(myStringData,"AN

Unicode Problem

2008-01-16 Thread Dave
Hi, I'm reading a string from a file that is stored in Unicode (2-byte) format. I need to convert it to one byte characters in order to write the string to a database which is later sent to the server. When I execute the following it gives unexpected results put uniDecode(myStringData,"ANS

Re: An interesting project?

2008-01-16 Thread Mark Wieder
Tim- My favorite musical input device these days is the reactable: http://www.youtube.com/watch?v=0h-RhyopUmc -- Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, uns

Re: I just bit the bullet and bought the Studio Bundle

2008-01-16 Thread Neal Campbell K3NC
My welcome also! I also recommend Hypercard 2.2: The Book as its a great library resource to a lot of the functions. Go to amazon and see whats available there. Neal Campbell www.abrohamnealsoftware.com AIM:nealk3nc On Jan 16, 2008, at 6:17 PM, Andre Garzia wrote: Hello Jim, be ver

Re: I just bit the bullet and bought the Studio Bundle

2008-01-16 Thread Andre Garzia
Hello Jim, be very welcome!!! :D This is the best community ever, feel free to ask any question! I recommend buying "Software at the speed of though" by Dan Shafer, it's available as an eBook and it is a wonderful resource! Cheers andre On 1/10/08, Jim Schaubeck <[EMAIL PROTECTED]> wrote: > I'm

Re: Many Cards Versus One Card and a List Field

2008-01-16 Thread Björnke von Gierke
On 16 Jan 2008, at 21:36, Mikey wrote: Regardless, there is nothing that stops anyone from circumventing a patent by reverse-engineering it, which is generally the favored technique. This is just false. patents are documented, because that is the only way to enforce them in court. Therefore

An interesting project?

2008-01-16 Thread Timothy Miller
Hi, Can I post a youtube link here? Well, here goes. http://www.youtube.com/watch?v=wreP8FMupyM If you don't feel like clicking on the link, it demonstrates a cool drumbeat machine with a GUI, sort of. I lusted after it for a moment, then realized it's limited, probably not commercially a

ReL Many Cards Versus One Card and a List Field

2008-01-16 Thread Richard Gaskin
Mikey wrote: Richard, Obviously others have commented on the patent. If the patent hasn't expired, it is about to, and the technique will be described in the patent application. Regardless, there is nothing that stops anyone from circumventing a patent by reverse-engineering it, which is genera

Re: Filenames again

2008-01-16 Thread Kenji Kojima
Randall, The first line was shell command got list names of files in working directory. You got UTF8 filenames. Then it's converted to UTF16 and set the test field 1. OSX 10.5.1 ENGLISH and Rev 2.8.1. -- Kenji Kojima RGB MusicLab: Pixels into Music http://www.kenjikojima.com/rgbmusiclab/

Re: importing a bunch of files

2008-01-16 Thread Richard Gaskin
Randall Lee Reetz wrote: In your script, it appears that a custom prop is dynamically declared just by setting it's value? Is this all you have to do? In SuperCard, one has to specifically declare a "user" property with a "define" statement before ever setting it's value. Yeah, and that

Re: Filenames again

2008-01-16 Thread Mark Smith
Kenji, thank you for that. Unfortunately, having got the name, there doesn't seem to be any way in Revolution to actually do anything with it - at least on this english system... Best, Mark On 16 Jan 2008, at 20:51, Kenji Kojima wrote: Hi Mark, This is the way you can get Japanese filena

Re: importing a bunch of files

2008-01-16 Thread Eric Chatonet
Hi Randall, Le 16 janv. 08 à 19:41, Randall Lee Reetz a écrit : This 256 char path limit... who's is it... File system? Rev? Obviously a Rev choice about used variables. See 'Documentation/rev/Memory and Limits Reference.rev' Best regards from Paris, Eric Chatonet. -

Re: Filenames again

2008-01-16 Thread Randall Lee Reetz
Kenji, Will you please explain your solution. I don't understand what is happening and how "it works. Thanks, Randall On Jan 16, 2008, at 12:51 PM, Kenji Kojima wrote: Hi Mark, This is the way you can get Japanese filenames. put "cd ~/Desktop" &cr& "ls" into tScript set the unicodeText

Re: Filenames again

2008-01-16 Thread Kenji Kojima
Hi Mark, This is the way you can get Japanese filenames. put "cd ~/Desktop" &cr& "ls" into tScript set the unicodeText of fld 1 to uniencode(shell(tScript),utf8) -- Kenji Kojima RGB MusicLab: Pixels into Music http://www.kenjikojima.com/rgbmusiclab/ On Jan 16, 2008, at 2:56 PM, Mark Smith wr

Re: Many Cards Versus One Card and a List Field

2008-01-16 Thread Mikey
Richard, Obviously others have commented on the patent. If the patent hasn't expired, it is about to, and the technique will be described in the patent application. Regardless, there is nothing that stops anyone from circumventing a patent by reverse-engineering it, which is generally the favored

Re: importing a bunch of files

2008-01-16 Thread Jeanne A. E. DeVoto
At 10:18 AM -0800 1/16/2008, Richard Gaskin wrote: Thierry wrote: Of course you have to replace spaces and slashes with some string that will not break the name of the custom prop into several parts :-) I just ran this test: on mouseUp put "some/thing" into v1 put "some thing" into v2

Re: Many Cards Versus One Card and a List Field

2008-01-16 Thread Randall Lee Reetz
Ya, this "hint bits" just sounds like a clever indexing/pointing system... hard to defend any specific case of this as categorically owned. This is at base in any fast database incarnation... or it wouldn't be fast. You have to play access tricks (stack the deck) or search algorithms will

Splash Screen Designer

2008-01-16 Thread Richmond Mathewson
Just uploaded to revOnline: Shamelessly copied from HyperNext; but, I belive, rather better. Download it into your plug-ins folder and use it with a copy of your stack; it builds a substack which will then preload for a 15 second period. Its fairly crappy - but only spent about 6 hours on it. I

Re: importing a bunch of files

2008-01-16 Thread Randall Lee Reetz
Richard, In your script, it appears that a custom prop is dynamically declared just by setting it's value? Is this all you have to do? In SuperCard, one has to specifically declare a "user" property with a "define" statement before ever setting it's value. Otherwise it doesn't know if

Re: Many Cards Versus One Card and a List Field

2008-01-16 Thread Jeanne A. E. DeVoto
At 6:06 PM -0800 1/15/2008, Richard Gaskin wrote: J. Downs wrote: What made it possible to use HC that way was its "hint bits", a system for indexing field contents which is not only proprietary but patented as well. Hint bits made it ultra-fast for obtaining data across the otherwise-complex

Re: Filenames again

2008-01-16 Thread Randall Lee Reetz
I work mainly in SuperCard... same issues here... can display chars in UTF but not UTF aware at the function level. Makes text parsing almost impossible. The chars are counted but you can't find out what they are. For instance: CharToNum(char 3 of myTxt) ... yields "0" if char 3 is unic

Re: Filenames again

2008-01-16 Thread Mark Smith
You're probably right, but my English system is having to deal with a non-english file, and Rev is failing miserably, though the finder and other apps seem to be ok with it Sadly, it seems lke I can't even get round it using shell commands, since Rev also fails to cope with the type of

Re: Filenames again

2008-01-16 Thread Randall Lee Reetz
I am waiting for heavier geeks to weigh in here... but isn't it that the localization of the OS (which language you signed in as) what makes the File System char set aware? Randall On Jan 16, 2008, at 10:45 AM, Mark Smith wrote: Andre, I think that's my only hope...much as I really hate A

Re: Filenames again

2008-01-16 Thread Dave Cragg
If I have a file that has a Japanese name: "音楽ファイル を.mp3" (I wonder if that'll come out ok in everyone's mail!), it seems to be the case that this file effectively does not exist in any useful way for Revolution. It is not listed in 'the files', it's name is omitted from 'the detailed files

Re: cancel a wait

2008-01-16 Thread J. Landman Gay
Chris Sheffield wrote: So I'm wondering, if a user moves to that second card before the audio of the first card finishes, is there some way to cancel that wait...with messages? Would it work to check whether the player is running before starting another wait sequence? That might avoid the pr

Re: Filenames again

2008-01-16 Thread Mark Smith
Andre, I think that's my only hope...much as I really hate Applescript! It does seem incredible that Revolution just can't do it. How do people in Japan and Russia deal with it? Maybe they just don't use Revoluton. :( Thanks, Mark On 16 Jan 2008, at 17:52, Andre Garzia wrote: Is this an ap

RE: importing a bunch of files

2008-01-16 Thread Randall Lee Reetz
This 256 char path limit... who's is it... File system? Rev? -Original Message- From: "Thierry" <[EMAIL PROTECTED]> To: "How to use Revolution" Sent: 1/16/2008 9:51 AM Subject: Re: importing a bunch of files Le 16 janv. 08 à 17:39, Eric Chatonet a écrit : > Bonjour Thierry, > > Why do

RE: importing a bunch of files

2008-01-16 Thread Randall Lee Reetz
If you follow shuch a scheme, you will have to keep your internal data in lockstep with your stored data structure. Choose one as master and let the other slave to it (always sticking to this heirarchy). Either way, you will have to navigate some form of object tree... And translate that out t

Re: importing a bunch of files

2008-01-16 Thread Eric Chatonet
I posted the mail below but it did not appear in the list: so I apologize if it should appear twice. Well :-) You can also set a specific custom property set with custom properties the name of which does not matter and parse it: In each custom property, line 1 will be the path and line 2 to -

Re: Filenames again

2008-01-16 Thread Stephen Barncard
I'm seeing Japanese text in the email with Eudora MacLeopard 10.5.1 If I have a file that has a Japanese name: "[EMAIL PROTECTED]" -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - ___ use-revolution mailing list use-r

Re: importing a bunch of files

2008-01-16 Thread Richard Gaskin
Thierry wrote: Of course you have to replace spaces and slashes with some string that will not break the name of the custom prop into several parts :-) Yes, I'm aware of that. I think such failure depends on how it's done. I just ran this test: on mouseUp put "some/thing" into v1 put

Re: importing a bunch of files

2008-01-16 Thread Thierry
Hi Randall, Not only that but using your disc files as dat fields or even record will seriously overburden your file system's day to day efficiency. You could easily add orders of magnitude to the number of files and directories on disc.. Seriously slowing down a lot of OS (and finder)

dimming of Edit menu items after using OsX file dialogue

2008-01-16 Thread Andrew Meit
Hi, HELP I have found both in 2.8.1/2.9b10 that after calling OsX's standard file dialogue to open a file the first 4 menuitems under my Edit menu (stand editing stuff) becomes disabled until I force a redraw of the window by either iconizing it in the dock and uniconizing it or by openin

I just bit the bullet and bought the Studio Bundle

2008-01-16 Thread Jim Schaubeck
I'm a novice at RunRev but I do enjoy creating applications. I wish I was experienced enough to do it for a living (I'm getting there) Some people like to read a good book.I like to use RunRev.for hours Looking forward to the bundle Jim Schaubeck. _

Re: Rev on OLPC Sugar OS?

2008-01-16 Thread Tim Shields
Hi there, We have tested Rev on XO in the office, and I can report that standalone applications work without any (known) problems - as long as you keep in mind the limitations of the XO Sugar Windowing system. XO uses the Matchbox window manager. This window manager ALWAYS has all windows fullscr

Re: failing to find printer from ide in linux

2008-01-16 Thread ShieldsOnTour
Hi Peter, What are the results when you do the following : In Rev, enter the command : put the availablePrinters in the message box. Also, from an XTerm, what happens when you enter the following : lpstat -a Thanks, Tim. On 7 Jan, 08:10, Peter Alcibiades <[EMAIL PROTECTED]> wrote: > Rev

Re: cancel a wait

2008-01-16 Thread Chris Sheffield
Thanks for the suggestion Eric. That probably would work. Unfortunately, it would probably require a fairly big code rewrite in order to accomplish it, which I was hoping to avoid. But maybe that's my only option. On Jan 16, 2008, at 11:00 AM, Eric Chatonet wrote: Hi Chris, Instead of u

Re: importing a bunch of files

2008-01-16 Thread Eric Chatonet
Well :-) You can also set a specific custom property set with custom properties the name of which does not matter and parse it: In each custom property, line 1 will be the path and line 2 to -1 contents :-) Le 16 janv. 08 à 18:51, Thierry a écrit : Le 16 janv. 08 à 17:39, Eric Chatonet a

Re: cancel a wait

2008-01-16 Thread Eric Chatonet
Hi Chris, Instead of using a 'wait until the sound is "done" with messages", could you just set a flag to true on playstarted and set it to false on playstopped? And use this flag (a local script var, a custom prop, etc.) to act as you want it to work? Le 16 janv. 08 à 18:27, Chris Sheffi

Re: Filenames again

2008-01-16 Thread Andre Garzia
Is this an application just for you, or you plan to distribute it ? If it's just for you, then, you can try to hack your file access using AppleScript, maybe it has a better unicode support. Andre On 1/16/08, Mark Smith <[EMAIL PROTECTED]> wrote: > Hi all, I'm once again trying to deal with unic

Re: importing a bunch of files

2008-01-16 Thread Thierry
Le 16 janv. 08 à 17:39, Eric Chatonet a écrit : Bonjour Thierry, Why don't you store directly your text files into custom properties, the name of which would be the path? Why not Ok, it's a mix solution from the 2 I exposed :-) Of course you have to replace spaces and slashes with so

RE: importing a bunch of files

2008-01-16 Thread Randall Lee Reetz
Not only that but using your disc files as dat fields or even record will seriously overburden your file system's day to day efficiency. You could easily add orders of magnitude to the number of files and directories on disc.. Seriously slowing down a lot of OS (and finder) functionality. Be g

RE: importing a bunch of files

2008-01-16 Thread Randall Lee Reetz
Wholy moly... The file system was definately NOT made to be a live data store. For one, disc IO is several orders of magnitude slower than memory IO. Maybe soon a memory/file system meld will revolutionize computing, be we are about 30 years behind this. Retrieve your data from disc and unpac

Filenames again

2008-01-16 Thread Mark Smith
Hi all, I'm once again trying to deal with unicode and filenames again... This is on OS X. If I have a file that has a Japanese name: "音楽ファイル を.mp3" (I wonder if that'll come out ok in everyone's mail!), it seems to be the case that this file effectively does not exist in any useful way

cancel a wait

2008-01-16 Thread Chris Sheffield
Is there any way to cancel a wait command? I've got a strange thing happening, and I'm just not sure how to get around it. In the app, the user has the ability to move back and forth between two certain cards. When the first card opens, some audio instructions start playing. After starting

Re: importing a bunch of files

2008-01-16 Thread Eric Chatonet
Bonjour Thierry, Why don't you store directly your text files into custom properties, the name of which would be the path? Of course you have to replace spaces and slashes with some string that will not break the name of the custom prop into several parts :-) BTW note that custom props names

Jan, Dick, Mark, thanks!

2008-01-16 Thread Peter Alcibiades
Thanks so much guys for this. One sees how easy it can be when you know how. I will hack away and try these. And actually, they are a lot more terse than what I'm getting in awk. Its sort of academic about 2.6.1 and linux printing now, since we are moving to 2.9, but it is really weird. On

Re: handler: error in statement

2008-01-16 Thread mfstuart
So here's the exact RunRev error message: Type - Handler: error in statement Object - Results Line - go card "EditRecord" of stack "names" Hint - mouseDoubleUp When I click the "Script" button from the RunRev Errors dialog box, it hilights the following part of the script... go card "EditRec

importing a bunch of files

2008-01-16 Thread Thierry
Hi, Another thread about kind of Database :-) For a specific project, I need to implement this: I have an arbitrary set of text files stored on the disk in an arbitrary numbers of directories, within a root one, ie: dirRoot/ dirRoot/f1 dirRoor/f2 dirRoot/dir2/f3 dirRoot/dir2/dir3/f4 dirRoot/d

Re: handler: error in statement

2008-01-16 Thread Eric Chatonet
Hi Mark, As said Mark Schonewille, getting the complete error message would be better :-) But here are some clues: I assume that gRecord is declared :-) I assume also that 'there is a card "EditRecord" of stack "names". If it is the case, I suspect that you run some code at openCard or preO

Re: handler: error in statement

2008-01-16 Thread Klaus Major
Hi Mark Hi all, This error (see subject) happens when I double-click on a table field of data that has an "on mouseDoubleUp" in it. The idea of the script is to get the ID value (item 1) and place it into a global variable. Then go to a card to edit the record. Here's the RunRevScript:

Re: handler: error in statement

2008-01-16 Thread Mark Schonewille
Hi Mark, Could you please post the exact and complete error message? Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard stacks with DIFfersifier. http://differsifier.e

Re: [TIP] Blank Option button

2008-01-16 Thread Jeanne A. E. DeVoto
At 4:35 AM -0500 1/16/2008, [EMAIL PROTECTED] wrote: Here's one for your Scripter's Scrapbook: How to blank the label of an option btn without resorting to SPACE... set the label of btn "MyOptionBtn" to null So far as I am aware, this is an undocumented feature. No, it's documented. "nul

Re: Many Cards Versus One Card and a List Field

2008-01-16 Thread Jan Schenkel
--- Peter Alcibiades <[EMAIL PROTECTED]> wrote: > > [snip] > > Then I will do printing by going to full screen and > doing Print Desktop from > the shell. What a horrible kluge! Awk and a text > editor for printing has to > be better than this. It would be embarassing if the > people who wil

Re: Many Cards Versus One Card and a List Field

2008-01-16 Thread Mark Smith
Sorry, I forgot that Rev won't allow an item of a word, so we have to factor the month out to another function: This is tested on some made up data, 20,000 records function getReport pData repeat for each line L in pData put word 4 of L & getMonth(word 5 of L) into tKey add word

Re: Many Cards Versus One Card and a List Field

2008-01-16 Thread Mark Smith
Peter, this is untested, but might work reasonably quickly: on getReport put file dataFile into tData set the itemdelimiter to "/" repeat for each line L in tData put word 4 of L & line (item 2 of word 5 of L) of the monthnames into tKey add word 3 of L to tTotals[tKey]

RE: Many Cards Versus One Card and a List Field

2008-01-16 Thread Randall Lee Reetz
Maybe i can offer an explanation. I use xtalk n situations that are sometimes much easier to accomplish in other more highly specialized tools because i can then extend my use of that solution in almost unlimited ways. I can connect the data to other tools i have built, extend it in knew ways,

Re: Many Cards Versus One Card and a List Field

2008-01-16 Thread Dick Kriesel
On 1/15/08 10:47 PM, "Peter Alcibiades" <[EMAIL PROTECTED]> wrote: > Its a childishly simple problem. There is a file with 15k records. Tab > delimited. Each record has five fields and is of the form: > > number eg 123 > description eg Pen, Pencil > price eg 2.00 > category eg AA, AB... > da

Many Cards Versus One Card and a List Field

2008-01-16 Thread Peter Alcibiades
I seem to have cracked this one now, by brute force. But the solution really shows how much this must be the wrong tool for the job - unless there is a much better way, which there probably is, and I'd love to hear about. And also would be interested to hear how one was supposed to find it! F

[TIP] Blank Option button

2008-01-16 Thread FlexibleLearning
Here's one for your Scripter's Scrapbook: How to blank the label of an option btn without resorting to SPACE... set the label of btn "MyOptionBtn" to null So far as I am aware, this is an undocumented feature. Doing a Quick Search for 'null' in Rev throws it into a bit of a spin! /H F

RE: Constructing and calling a handler as "do"

2008-01-16 Thread Randall Lee Reetz
The other caution i must issue here is that the internal scripting of the editor for instance might be written in odd ways so that it is distinguishable from user code and objects... So if your new wacko code practices happen to mimick these more official wacko styles, then you could walk your s

Re: Constructing and calling a handler as "do"

2008-01-16 Thread Kay C Lan
On Jan 16, 2008 11:30 AM, Richard Gaskin <[EMAIL PROTECTED]> wrote: > Kay C Lan wrote: > > ...midWord capitalization for me dates back to the origin of > HyperCard... > > Oh, it's much, much older than that, older than the Pascal that helped > inspire it > Inspire, I like that word. I'm often