Re: making a popup insert text.

2005-10-03 Thread Mark Smith
John, a checkbox is just a type of button, so: if hilite of btn AFR then answer You ticked AFR Mark On 3 Oct 2005, at 12:06, Thornton, John wrote: Bob, Don't worry about being really basic, I also have the same problem in that I can't access revonline from my machine. I also have a

Re: Structures in RunRev

2005-10-03 Thread Mark Smith
And you can also store such arrays in custom property sets very easily... Mark On 3 Oct 2005, at 14:58, [EMAIL PROTECTED] wrote: Hi David, Hi David, You dont need structures. You can use the arrays for that without any problem struct contact[id] { name; age; height; weigth } is

Re: Stack Switching Question again

2005-10-05 Thread Mark Smith
But you can still just refer to the data stack.. repeat with n = 1 to the number of cds in stack dataStack repeat for each line L in fld somedata of cd n of stack dataStack if L is whatImAfter then doSomethingWith L end if end repeat end repeat the point being that you can

Re: Setting Custom Property to an Array

2005-10-05 Thread Mark Smith
Dave, you can have pretty much as many Custom Property Sets as you like. Each custom property set is an array. You can store an array in a custom property set as Dave Cragg has shown ie: set the CustomProperties[myData] of this stack to myArray. You can also then refer to the individual

Re: Create a Card in an other Stack

2005-10-06 Thread Mark Smith
Can you give us an example of the code that doesn't work? Mark On 6 Oct 2005, at 09:08, Todd Geist wrote: Hello, I have ui Stack and a data stack. I want to create a new Card in my Data stack from the UI Stack, so I can store a new record on a new Card in the Data Stack. I can't figure

Re: Create a Card in an other Stack

2005-10-06 Thread Mark Smith
Perhaps you need to set the data stack as the defaultStack before sending the command? put the defaultStack into oldDefStack -- save the current defaultStack setting set the defaultStack to dataStack send create card to stack dataStack --do whatever else needs doing set the defaultStack to

Re: Playing with strings

2005-10-07 Thread Mark Smith
If you set the HTMLtext of the field to you bit of html, it will generally do a pretty good job of displaying only the text, though it will be formatted according to the html formatting tags. To get around this, you can do set the HTMLText of fld myField to theBitOfHtml put fld myField

Re: Newbie question

2005-10-09 Thread Mark Smith
Joe, you can either simply put breakpoint in the script at the point you want to, or click in the gey margin to the left of the line you want to stop at. Clicking on the red dot that will now be there will clear it. Mark On 9 Oct 2005, at 18:08, [EMAIL PROTECTED] wrote: Hi Everyone, Is

Re: Removing text from a string

2005-10-09 Thread Mark Smith
something like get offset(.,tFileName) delete char it to -1 of tFileName Mark On 10 Oct 2005, at 02:23, Ian Leigh wrote: I have a list of filenames which are displayed in a list field. When clicked on the name of the selected file appears in a label but I don't want the extension

Re: ALCY (Beginner ) Auto Indentation/ Default font / Tab Pannel / Date functions

2005-10-10 Thread Mark Smith
New controls inherit their font and other settings from the stack they're in. If you set those properties for the stack, your buttons will inherit them...as will your fields and all other controls, which may not be what you want. Otherwise, short of customising the IDE, there's not a

Re: ALCY (Beginner ) Auto Indentation/ Default font / Tab Pannel / Date functions

2005-10-10 Thread Mark Smith
Actually, a quick perusal of the docs reveals the 'newButton' message, sent to the new button when it's created, so you could put this in the script of your stack: on newButton set the textSize of the target to yourSize set the textFont of the target to yourFont end newButton also see

2.6.1,2,3,4,5,6

2005-10-10 Thread Mark Smith
Hurray! The long popups bug is squashed like a, well, bug. Hurray! Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Regex help, please

2005-10-10 Thread Mark Smith
Not regex, but how about if word 1 of vLineBuffer 10 then Mark On 11 Oct 2005, at 00:04, Harvey Toyama wrote: Hi, I have a log file to parse. The data looks like this: Chip_Test: 2 1075.7 R120-7000h

Re: [OT] Microsoft Office's New UI Blazes Some New Trails for Us

2005-10-11 Thread Mark Smith
I think the history of synthesizers is quite an interesting example of what happens in the real world. Back in late seventies, most synths had wonderful UIs (ie. lots of single-function knobs and buttons). Sequential Circuits (RIP) had noticed, even then, that 90% of the synths returned

Re: New date format: YYYY-MM-DD

2005-10-14 Thread Mark Smith
I've seen quite a lot of MMDD about, what Sarah calls 'numeric date' in her DateTime library. I've been using it in all my apps internally for ages, since it's so easy to sort and search. I have a few of simple functions to convert back and forth, and identify weekends and such like,

Re: Constellation's Great, But the Rev IDE Doesn't Suck

2005-10-18 Thread Mark Smith
Well, you can set Constellation to show 'script only', in which case when you choose tp inspect properties, the Rev inspector will open, while your scripts will still open in Constellation. Ypu can have it the other way round too. Just check the appropriate button in Constellations top

Re: Silly Sort Question

2005-10-18 Thread Mark Smith
Gregory, you can use functions as part of your sort command, like this: on mouseUp sort lines of fld 1 numeric by getMonthNum(word 1 of each) end mouseUp function getMonthNum aMonth return lineOffset(aMonth,the monthNames) end getMonthNum Cheers, Mark On 18 Oct 2005, at 17:04, Gregory

Re: Dealing with filenames in a folder...

2005-10-18 Thread Mark Smith
You could just filter again filter ROMlist without .* -- no asterisk at the beginning limits the filter to excluding lines that start with a period Mark On 18 Oct 2005, at 22:07, Ian Leigh wrote: I am, as an attempt to learn Dreamcard, writing a frontend to MAME. I have a fair idea of

Re: How trim?

2005-10-22 Thread Mark Smith
I got these: to strip leading spaces function trimL aString return char offset(word 1 of aString, aString) to -1 of aString end trimL to strip trailing spaces function trimR aString return char 1 to length(word 1 to -1 of aString) + (offset(word 1 of aString, aString) - 1) of aString

Re: counting runs

2005-10-31 Thread Mark Smith
This should also work: on mouseUp repeat 1 put any item of H,T after flipList -- just to generate a sample list end repeat put flipList into headsList -- make a copy to work on replace T with cr in headsList -- split runs of heads into lines filter headsList without

Re: Repeat for each

2005-11-04 Thread Mark Smith
I tend to exclude rather than include in these situations, so something like this? repeat for each line tLine in tData if word is not in item 2 of tLine then next repeat if item 4 of tLine = 2 then next repeat if item 8 of tLine = 50 OR item 8 of tLine = 500 then next repeat

Re: Slow screen refresh in Windows

2005-11-08 Thread Mark Smith
Sometimes the 'lock messages' command can help... Cheers, Mark On 8 Nov 2005, at 18:45, [EMAIL PROTECTED] wrote: I did some digging around in the archives, and I see that some folks are having this same problem, but in my case, I haven't read a solution: I need to be able to click on a

Re: The Disappearing Desktop - It's Real This Time

2005-11-13 Thread Mark Smith
I have to say, I'm a little baffled about what is being discussed here. Is it just the idea of apps (or applets in browsers) that interact with remote servers in real (ish) time? Dynamic HTML or XML generation? Obviously, we have these already, so what is it? Densely, Mark Smith

Re: deleteDups()

2005-11-16 Thread Mark Smith
I'm getting the split version as about 10% faster than 'repeat for each' Rev 2.6.1 Mac PB G4 1.5Ghz Mark On 16 Nov 2005, at 17:44, Alex Tweedly wrote: Geoff Canyon wrote: Bother -- it happened again. First we had repeat for each turning up faster than the filter command. Now I've done

Re: deleteDups()

2005-11-16 Thread Mark Smith
I wonder if the kind or amount of data has an effect. The data I used was a list of about 1 lines, each consisting of 7 items, from 4 to 12 characters each. I also made sure that about 1 in 5 lines was duplicated. One application of the deleteDups function with 'split' - 60 - 65 ms.

Re: Teach Yourself Programming in Ten Years

2005-11-25 Thread Mark Smith
Maybe one of the most interesting things about Rev/MC is the way that it can be seen as both a useful application in its own right , and a development environment. I jumped on Hypercard as soon as I got my first Mac (1990, a Mac Classic), and a great deal of what I did with it (and still

Re: Pricing / entry cost for this tool

2005-11-26 Thread Mark Smith
Dan, this is an innocent question, not intended to provoke or contradict, but where do you think Rev is currently falling down with regard to either pro developers or inventive users? As a hobbyist/inventive user (an excellent phrase, btw), I feel very well served by Rev, though perhaps

Re: to sort system date in a list, and special effect with sliders (XP)

2005-11-29 Thread Mark Smith
Gunter, I usually store dates in mmdd format, and I have functions to convert back and forth from system date. I'm assuming that the german system date is the same as the uk : dd/ mm/yy You can sort a list by the result of a function. My function for converting a dd/mm/yy date to

Re: Adventures in Rotation

2005-12-04 Thread Mark Smith
While I agree that it would be handy if the engine could accept non- integers for graphic points, a simple function to round a list of 4000 or so points to integers took 34 milliseconds on my 1.5Ghz PB G4...hardly onerous in either execution time or coding effort. Cheers, Mark On 5 Dec

Re: Adventures in Rotation

2005-12-04 Thread Mark Smith
Apologies...didn't follow the whole thread. Mark On 5 Dec 2005, at 04:17, Bill Marriott wrote: Mark, It's not hard to round to integers. The problem is that Rev works with integers for its rotation algorithm and therefore corrupts the graphic in the process. Bill Mark Smith [EMAIL

Re: ANN: Remove double spaces--plugin

2005-12-04 Thread Mark Smith
'The replaceText function is not as fast as the Replace command' That is certainly true. in the code below, using the more complicated (in terms of code) replace function takes 20ish milliseconds, whereas the replaceText version (commented out) takes about 200. on mouseUp repeat 1

Re: ANN: Remove double spaces--plugin

2005-12-05 Thread Mark Smith
Jim, I hope you didn't take my little experiment as some kind of one- upmanship - it certainly wasn't intended as such. I was simply interested to see, in this example of removing double- spaces, how great the difference was between the more flexible regex approach, and the more specific

Re: How does a scrollbar get a name?

2005-12-06 Thread Mark Smith
Graham, I don't think you can address the scrollbar(s) of a scrolling field specifically, but a field has the scroll, vScroll and hScroll properties, which you certainly can. Mark On 6 Dec 2005, at 23:25, graham samuel wrote: I'm sure this is a dumb question, but in the RR docs one sees

Re: Handlers and Scope

2005-12-07 Thread Mark Smith
Adam, a handler will be in the form: on myHandler param1,param2,etc doStuff end myHandler a function will be: function myFunction param1,param2,etc. do stuff return something end myFunction the calling of these will be someting like myHandler param1,param2 or: put

Re: VU meter

2005-12-07 Thread Mark Smith
I had the same problem (Mac OS 10.4), with v0.6 of the external, downloaded v1.0 beta and all was good. BTW, I installed it as a plug- in, as Trevor suggests in the docs... The VU style meters look great, though if you need them to behave like 'real' VUs, you may need to make some

Re: Is there a way to determine and control screen resolution in RR?

2005-12-08 Thread Mark Smith
It's not always the best solution, and occasionally can behave strangely, but have you checked out the built in Geometry Manager? In the Property Inspector for each object, there is a Geometry tab, under which you can set how the object is to resize/reposition when the stack resizes. More

Re: Changing Label Text on Substacks

2005-12-08 Thread Mark Smith
Is it absolutely necessary to have the progress stacks as modal? In the property inspector, you can choose the 'decorations', and disable the close box etc Mark On 8 Dec 2005, at 22:35, Adam wrote: Hi all: I have a series of modal windows that display the progress of current

Re: Windows printing - yet again...

2005-12-09 Thread Mark Smith
Is it related to a difference between screen dot size/resolution and printer dot size/resolution? I had a similar problem, and simply reducing the font size by 1 point for printing did the trick...but this was on Mac OS X. Mark On 9 Dec 2005, at 21:28, Lynch, Jonathan wrote: Well, I do

Re: more logs on the FireWire pyre

2005-12-09 Thread Mark Smith
Me, too. But I can't help feeling that just because Apple might stop putting firewire into iBooks, it doesn't mean it'll disappear from the 'pro' machines. You're not running PT off an iBook, after all... :) Mark p.s. Are you the same Stephen Barncard who engineered on Tupelo Honey? On 9

Re: Stock Portfolio project starting

2005-12-10 Thread Mark Smith
Dennis, I have a very rough stack that downloads quotes from yahoo...it's ugly, but it works reasonably well. If it might be helpful, I'd be happy to email it over to you, even though I'm a little embarassed at how rough it is... Mark On 10 Dec 2005, at 16:24, Dennis Brown wrote: I have

Re: MIDI Files

2005-12-11 Thread Mark Smith
Exactly. A midi file is effectively a description of the music (a list of notes to be played, with some other information), like a written score, as opposed to a recording. Mark On 11 Dec 2005, at 13:11, Charles Hartman wrote: On Dec 10, 2005, at 11:22 PM, Scott Kane wrote: Thanks for

Re: Recent Development on the Use-LIst

2005-12-11 Thread Mark Smith
In fact, they have. Heather, of course, didn't put it like that, but as Bob points out, she emphasized that this is a how-to-use list. These discussions are quite interesting, but IMHO this is not the place for them, since they do interfere with the actual utility of the list. Now I'll

Handler/Function with same name

2005-12-11 Thread Mark Smith
I have a library stack with some commonly used stuff in it. I have, in it's script: on trim @aString put word 1 to -1 of aString into aString end trim AND: function trim aString return word 1 to -1 of aString end trim To my surprise, this works perfectly well, so I can do: trim

Re: Handler/Function with same name

2005-12-11 Thread Mark Smith
Do they not do the same thing? I see that the handler modifies the string passed to it, while the function returns a similarly modified copy of the string passed to it, but that was the point of it. Or am I missing something? Cheers, Mark On 11 Dec 2005, at 23:49, Mark Wieder wrote:

Re: Christmas e-cards as learning tools

2005-12-11 Thread Mark Smith
To be both snottily pedantic and a little cruel, it might have been a bit more christmassy if it suggested clicking on the 'garland' rather than the 'wreath'! Though given my attitude towards christmas :) Mark On 11 Dec 2005, at 19:25, Mark Swindell wrote: Here's a card done with

Another widget

2005-12-11 Thread Mark Smith
Now available on RevOnline user: Mark Smith category: General stack:FuturesDownloader Fairly widgety, but I have to get that reflective glass thing happening... Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit

Re: Handler/Function with same name

2005-12-12 Thread Mark Smith
Well I take your point, especially if others were going to use my library. In any case, I've renamed them fTrim and hTrim, respectively, since they serve a similar purpose, and that's probably enough to prevent me from shooting myself in the foot, as well as avoiding any potential

Re: Recent Development on the Use-LIst

2005-12-14 Thread Mark Smith
. As to where the discussion in question should be, I have no idea. Perhaps wherever people have long discussions about how Microsoft and Apple should be run. Mark On 14 Dec 2005, at 02:18, Dan Shafer wrote: Fair enough, Mark. Where should they be, then? On 12/11/05, Mark Smith [EMAIL

Re: LTRIM, RTRIM

2005-12-14 Thread Mark Smith
Jerry, there was a discussion about this quite recently, so you can search the archives to find it. The versions that I have are: function TrimL aString return char offset(word 1 of aString, aString) to -1 of aString end TrimL function TrimR aString retun char 1 to offset(word 1 of

Test

2005-12-14 Thread Mark Smith
Please ignore ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution

Re: How do I control a Java applet in my browser from Rev?

2005-12-14 Thread Mark Smith
their limited functionality browser (Java) interface. Dennis On Dec 14, 2005, at 1:12 PM, Mark Smith wrote: Dennis, have you contacted the supplier to ask if they have an API that would enable you to link a rev app directly to their service? They might have such a thing based on Soap/XML

Re: Newbie Question

2005-12-14 Thread Mark Smith
Joe, 'set the showLines of fld myField to true' Best, Mark On 14 Dec 2005, at 20:18, [EMAIL PROTECTED] wrote: Hi Everyone, Please tell me how to create a field with the lines showing. Joe, Orlando, FL ___ use-revolution mailing list

Re: How do I control a Java applet in my browser from Rev?

2005-12-14 Thread Mark Smith
A useful thing can also be to store your applescripts in custom properties, with place-holders for values and then: put the myApplescript of me into tScript replace placeholder with value in tScript do tScript as applescript an example (including a bit of javaScript): a custom property

Re: How do I control a Java applet in my browser from Rev?

2005-12-15 Thread Mark Smith
taking a quick look at it to see if this approach is likely to work. (I changed the password, but it still runs --just won't connect for the real quote data). Dennis On Dec 14, 2005, at 6:53 PM, Mark Smith wrote: A useful thing can also be to store your applescripts in custom properties

Re: Graphic Tools

2005-12-15 Thread Mark Smith
But what kind of discussion of RunRevs drawing tools do you think might be said to be unrelated to using Revolution? Mark On 15 Dec 2005, at 15:48, Mathewson wrote: 1. Just uploaded 4 images of 'StackWare' palettes for comparison to the RRGraphix Group (

Re: Graphic Tools

2005-12-15 Thread Mark Smith
Of course, we're all free to create whatever lists and forums we want, but I see no indication in Heathers message to suggest that what you have in mind would be inapropriate for this list. That's why I asked. It just seems that it would be a shame to find that people hoping to find thngs

Re: (no subject)

2005-12-15 Thread Mark Smith
You seem to suggest that RR is both too neglectful of the list and, at the same time, too strict in it's moderation of same. I don't understand. Mark On 15 Dec 2005, at 20:47, Mathewson wrote: 1. I liked the separate Paint Tools palette in RR 2.0.1 - just seen a bad case of disclosure

Re: Chunking, Array's and I've lost my mind...

2005-12-16 Thread Mark Smith
A. 1.6574 B. A walrus :) On 16 Dec 2005, at 14:02, Thomas McGrath III wrote: OK, I'll bite. When applying a patina to cold rolled steel using a patina that does not contain acid is t best to warm the metal first? If so, is putting it out in the Sun acceptable? Tom On Dec 16, 2005, at

[OT]test

2005-12-18 Thread Mark Smith
test, everyone ingnore except tom...:) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution

Re: calculating vscroll

2005-12-21 Thread Mark Smith
How are you selecting the line? I just tried 'select line 21' of a field (field is only about 4 lines high), and it scrolled right to it without me having to do anything Mark On 21 Dec 2005, at 18:32, Chris Sheffield wrote: It's been a while since I've posted anything to the list.

Re: calculating vscroll

2005-12-21 Thread Mark Smith
to I'll try using select instead. Thanks. Chris On Dec 21, 2005, at 12:10 PM, Mark Smith wrote: How are you selecting the line? I just tried 'select line 21' of a field (field is only about 4 lines high), and it scrolled right to it without me having to do anything Mark On 21 Dec 2005

Re: Tint the background of a field.

2005-12-21 Thread Mark Smith
set the backColor of fld xxx to 220,220,220 all three numbers will get you grey, and the higher the number (max 255 = white) the lighter the grey. Cheers, Mark On 21 Dec 2005, at 21:21, [EMAIL PROTECTED] wrote: Hi Everyone, This is probably a simple question. But, this newbie can't

Re: Send spool file to Ip address?

2005-12-21 Thread Mark Smith
Have you tried reading the file into a variable, and then writing it to the socket? assuming the spool file is binary: put URL (binfile: theFilePath) into myVar write myVar to socket 192.168.0.201 or even bypassing the variable (don't know if this is reasonable) write URL (binfile:

Re: Tint the background of a field.

2005-12-22 Thread Mark Smith
set the backColor of fld xxx to 220,220,220 all three numbers will get you grey, and the highr the number the lighter the grey. Cheers, Mark On 21 Dec 2005, at 21:21, [EMAIL PROTECTED] wrote: Hi Everyone, This is probably a simple question. But, this newbie can't figure out how to

Re: Send spool file to Ip address?

2005-12-22 Thread Mark Smith
Have you tried reading the file into a variable, and then writing it to the socket? assuming the spool file is binary: put URL (binfile: theFilePath) into myVar write myVar to socket 192.168.0.201 or even bypassing the variable (don't know if this is reasonable) write URL (binfile:

Re: empty customPropertySet and array notation

2005-12-22 Thread Mark Smith
Scott, you have to specify what object the custom property set belongs to, so to get a a value from a custom property set. get the cpsName[foo] of fld myField if the set doesn't exist, or if the specified element doesn't exist, the above will return empty, but if the object doesn't exist,

Re: empty customPropertySet and array notation

2005-12-23 Thread Mark Smith
I think you're right - I don't think you can use array notation to access the basic, unnamed 'default' set...which seems a little strange, but there it is. Cheers, Mark On 23 Dec 2005, at 10:00, Scott Morrow wrote: Mark, Thank you for the suggestion but as it turns out, I'm not trying to

Re: linking text

2005-12-26 Thread Mark Smith
set the textStyle of word 6 to 7 of fld myField to link set the linkText of word 6 to 7 of fld myField to myLink -- where myLink is the link eg, card 1 of stack mySubStack or http:// www.google.com or whatever Mark On 26 Dec 2005, at 16:33, Preston Shea wrote: How does one link word 6 and

Re: Current card

2005-12-27 Thread Mark Smith
Also remember that the resumeStack message (like the various open, preopenand close messages) are sent to the current card of a stack, so you can have different resumeStack handlers on different cards. If you finish them with 'pass resumeStack', the message will get passed along to the

Re: Automating Rev Apps in OS X

2005-12-27 Thread Mark Smith
In fact, there is an excellent cron GUI by the name of Cronnix at: http://www.abstracture.de/projects-en/cronnix It's donationware, and very good. Mark On 27 Dec 2005, at 16:38, Andre Garzia wrote: Dan, the way MacOS X and other Unixes schedule tasks is the way of cronjobs, cron is a

[ANN]99 bottles

2005-12-28 Thread Mark Smith
I've posted a Transcript version of the 99 bottles of beer program to: http://www.99-bottles-of-beer.net/language-transcript-994.html For those who haven't seen this site, it's worth a look, in particular the Perl entry, which is extraordinary... Mark

Re: [ANN]99 bottles

2005-12-28 Thread Mark Smith
On Dec 28 2005, at 13:05, Mark Smith wrote: I've posted a Transcript version of the 99 bottles of beer program to: http://www.99-bottles-of-beer.net/language-transcript-994.html For those who haven't seen this site, it's worth a look, in particular the Perl entry, which is extraordinary

Re: Flop Line of Chars?

2005-12-29 Thread Mark Smith
I can't think of one, but I wonder how big a deal it would be to change the engine to be able to do a reverse range, so that you could do put char -1 to 1 of ABCDEF into myBackwardVariable. It might be useful to be able to 'get line 9 to 6 of myList', for example, or maybe it should be 'get

Re: returnInField problem

2005-12-29 Thread Mark Smith
How is the returnInField handler in the script of field x being triggered? Mark On 29 Dec 2005, at 13:59, Friedrich F. Grohmann wrote: I am working with two stacks both of them with a number of text fields. There is a script in stack A which puts the selectedText of one field of this

Re: returnInField problem

2005-12-29 Thread Mark Smith
Exactly. Nothing wrong with 'type return', either. Mark On 29 Dec 2005, at 16:31, Malte Brill wrote: Hi Fritz, The relevant part of the script in Stack A is put myVariable into fld x select after fld x type numToChar(13) have you tried numToChar(10) ? put

Re: returnInField problem

2005-12-29 Thread Mark Smith
Going back to the original question, I think there may be a context problem - the problem arising when putting text into fld x from another stack, so the returnInField handler can't find fld y, because the current stack is tnot the stack in which fld y resides. One solution would be,

Re: returnInField problem becomes font problem

2005-12-29 Thread Mark Smith
Fritz, this stuff is well outside my knowledge, but have you tried using 'set the UnicodeText of fld x to ...' rather than simply pasting the text in? Good luck, Mark On 30 Dec 2005, at 01:43, Friedrich F. Grohmann wrote: First of all, thanks to everybody who thought about my problem and

Re: Running an help (.chm) file in the same directory

2006-01-02 Thread Mark Smith
revGoURL file:help.chm should open it in the users default browser. Mark On 2 Jan 2006, at 14:03, Jason (Polydiam) wrote: I've got a html help file (a .chm) file that I'm trying to run from the same directory that my runrev file is published to in windows. I've tried Launch

Re: Timing

2006-01-02 Thread Mark Smith
put the ticks into tTicks repeat while the ticks - tTicks 240 Easier though, is to use a send in time, like: send showImage to me in 4 seconds and then have a handler: on showImage show image TheTitle end showImage Mark On 3 Jan 2006, at 02:31, Scott Kane wrote: Hi, I've been

Re: More Scope Problems

2006-01-03 Thread Mark Smith
Also, if there is any scope ambiguity, it helps to be explicit: send stackInitialize to stack stackA or send stackInitialize to me (if the card doesn't handle it, it'll go to the stack) or even set the defaultStack to stackA Mark On 3 Jan 2006, at 16:34, Rob Cozens wrote: Morning Dave,

Re: Duplicating a Substack

2006-01-07 Thread Mark Smith
Assuming the main stack is called 'MyMainStack and the sub stack to be cloned is called MySubStack1: clone stack MySubStack1 set the mainStack of it to MyMainStack set the name of it to MySubStack2 Cheers, Mark On 28 Dec 2005, at 22:34, Stephen Paul McNutt wrote: The weird thing is I've

Re: How do I select text in a field?

2006-01-08 Thread Mark Smith
Curiousthis works here. You don't have an 'on openField' or some other handler that might interfere? Mark On 9 Jan 2006, at 01:42, Bill Vlahos wrote: I want to programatically select text in a field as if I had doubleclicked it. For example... I want to select word 4 of a field.

Re: audio wave form

2006-01-10 Thread Mark Smith
Though probably possible, I doubt that this is practical, except perhaps with an external, or unless you can somehow get it from Quicktime. But maybe someone here knows better. Mark On 11 Jan 2006, at 01:29, liamlambert wrote: Is it possible display the audio wave form in rev Liam

80 bit extended number

2006-01-11 Thread Mark Smith
I need to extract a binary floating point number from a binary file. It's an 'extended' 80 bit (10 byte) floating point number (I think this is an apple thing). The binaryDecode function doesn't seem to support this, so can anyone here suggest a way of doing it? The binaryDecode function

Re: 80 bit extended number

2006-01-11 Thread Mark Smith
integer, would it? Mark On 11 Jan 2006, at 14:08, Mark Smith wrote: I need to extract a binary floating point number from a binary file. It's an 'extended' 80 bit (10 byte) floating point number (I think this is an apple thing). The binaryDecode function doesn't seem to support this, so can

Re: Newby question

2006-01-12 Thread Mark Smith
Well for question 2... if you start the test with a button, the add to that buttons script: startTimer and then in the stack script: on startTimer send timesUp to me in 120 seconds end startTimer on timesUp beep go last cd -- or whatver action needs to be taken end timesUp Mark On 12 Jan

[ANN] Audio Waveform display

2006-01-12 Thread Mark Smith
I've put an early version of a grouped control for showing audio waveforms in rev up on RevOnline. Stack: AudioWaveform User: Mark Smith Mark ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe

Re: [ANN] Audio Waveform display

2006-01-12 Thread Mark Smith
: AudioWaveform User: Mark Smith very, very cool! But where did you define: chooseFile() I get an error: Error in function handler - choosefile() Mark Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution

Re: [ANN] Audio Waveform display

2006-01-12 Thread Mark Smith
you think to be able to add a play function with a cursor moving along the wave form? Should be great! Le 12 janv. 06 à 21:59, Klaus Major a écrit : I've put an early version of a grouped control for showing audio waveforms in rev up on RevOnline. Stack: AudioWaveform User: Mark Smith

Re: [ANN] Audio Waveform display

2006-01-12 Thread Mark Smith
Thanks! Mark On 13 Jan 2006, at 03:36, liamlambert wrote: Nice one Mark 20 out of 10 Liam Lambert [EMAIL PROTECTED] IRELAND ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

Re: [ANN] Audio Waveform display

2006-01-13 Thread Mark Smith
have a sharp feeling for mathematics :-( Best Regards from Paris, Eric Chatonet Le 13 janv. 06 à 04:04, Mark Smith a écrit : Now updated. Fixed the file thing, and have added a player with moving cursor ... and you can zoom and scroll while playing. Thanks! Mark On 12 Jan 2006, at 21:05

Re: [ANN] Audio Waveform display

2006-01-13 Thread Mark Smith
of player wsPlayer of me to the width of grc w1 / the cpDuration of player wsPlayer of me Any idea why? -Chipp Mark Smith wrote: I've put an early version of a grouped control for showing audio waveforms in rev up on RevOnline. Stack: AudioWaveform User: Mark Smith Mark

Re: [ANN] Audio Waveform display

2006-01-14 Thread Mark Smith
On 14 Jan 2006, at 20:40, Alejandro Tejada wrote: on Fri, 13 Jan 2006 03:04:31 + Mark Smith wrote: Now updated. Fixed the file thing, and have added a player with moving cursor ... and you can zoom and scroll while playing. Excellent work, Mark! Thanks for sharing this stack. You

Re: [ANN] Audio Waveform display

2006-01-15 Thread Mark Smith
even be read and played back as MIDI by Hypercard but it's been so long... Sivakatirswami On Jan 14, 2006, at 4:49 PM, Mark Smith wrote: Alejandro, there shouldn't be any problem using it in Windows, or 'Nix for that matter, I just don't have anything but OS X machines to test

Re: Striped List Fields

2006-01-17 Thread Mark Smith
I'm sure Xavier won't mind me butting in here...the relevent script is the card script - there is an 'on stripes' handler. It sets the hilited lines of the fld 1. It's a very neat and simple implementation. Mark On 18 Jan 2006, at 01:28, Scott Kane wrote: I've been messing around with

Re: reading button names

2006-01-20 Thread Mark Smith
Certainly, put the label of btn myButton into myVariable Mark On 21 Jan 2006, at 00:07, Jeff Hudson wrote: Is is possible to read the name or label of a standard button. I see things about radiobuttons in families. I would like to put the label information of a button into a variable.

Re: How to avoid that 3 be in 34 ?

2006-01-21 Thread Mark Smith
Also, assuming that there are no spaces in the values in the field: if (myVar space) is not in fld myField then put cr myVar after fld myField Mark On 21 Jan 2006, at 20:07, Mark Schonewille wrote: Hi André, If all entries are in separate lines, you could do if myVar is not among the

[ANN] AudioWaveform

2006-01-22 Thread Mark Smith
I've fixed some bugs and improved some things, not least the fact that it can now read the sample rate from an AIF (thanks to Mark Waddinham for his binary expertise). It's now version 0.9, and it's on RevOnline and http://www.futility.co.uk/futsoft/AudioWaveform.html I've also made it

Re: [ANN] AudioWaveform

2006-01-22 Thread Mark Smith
Sorry, that should be no caps: http://www.futility.co.uk/futsoft/audiowaveform.html On 23 Jan 2006, at 02:07, Mark Smith wrote: I've fixed some bugs and improved some things, not least the fact that it can now read the sample rate from an AIF (thanks to Mark Waddinham for his binary

Re: Use of keyword https

2006-01-23 Thread Mark Smith
Do you have the SSL plugin? If not then it won't work, but you can maybe do it through a shell. I've had good luck with 'curl', which would be something like: put https://www.example.com/output?this=that; into tURL put shell(curl quote tURL quote) into testData Mark On 23 Jan 2006, at

  1   2   3   4   5   6   7   8   9   10   >