Re: chunk order restriction
...first word 1...? I assume you mean first word or word 1. Importantly, you also need to reduce confusion to Rev by parenthesising the second part of the expression, thus: get last item of (first word of abc\def ghij\kl) then it works (or did for me). cheers David On Sunday, April 21, 2002, at 07:17 , Edwin Haskell wrote: when I run this script: set the itemdelimiter to \ get last item of first word 1 of abc\def ghij\kl I get this message: Script compile error: Error description: Chunk: bad chunk order (must be small to large) I guess this means I can't put items in words like I can in Hypercard? Is there a good reason for this restriction? ___ 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
Mac OS X distribution shown as Classic
Please forgive me if this is a FAQ: I've noticed that RR Mac OS X builds are defined as Classic applications in their Get Info windows (with a fixed memory setting!); is this the case for all Carbon apps or perhaps an odd configuration peculiar to my own system? Thanks, Kurt ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
The returned URL
Hello all, I've got a URL that points to a CGI script, returning a different URL and data. The URL looks something like: http://somesite.com/search/city?p=tokyo; but returns quite a different URL: http://somesite.com/result; I'm trying to work out if there is a way to find the returned URL and not just the data. I've tried half a dozen ways, no luck. Can this be done? This is all new to me. Cheers and thanks! M@ Matt Denton ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Check Menu Items?
The !c checkmarks the menuitem, but I need to have this done dynamically depending on which item the user selects. The checkmark doesn't go on and off accordingly. Have I missed something? Where in the documentation did you find this little nugget? Thanks, Rick Harrison try : put text of me into tMenu get the menuHistory of me if char 1 of line it of tMenu = ! then repeat 2 delete char 1 of line it of tMenu end repeat else put !c before line it of tMenu end if set text of me to tMenu I've done it so and it works. -- Greetings. Yves COPPE Email : [EMAIL PROTECTED] ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Check Menu Items?
Rick, The !c checkmarks the menuitem, but I need to have this done dynamically depending on which item the user selects. The checkmark doesn't go on and off accordingly. Have I missed something? Where in the documentation did you find this little nugget? You need to do this manually by removing the !c when the menu item is selected, and then putting it back in when it is selected again. Here's an example: on menuPick put the menuHistory of me into tSelection put me into tMenuItems if char 1 to 2 of line tSelection of tMenuItems = !c then delete char 1 to 2 of line tSelection of tMenuItems else put !c before line tSelection of tMenuItems end if put tMenuItems into me end menuPick This toggles the checkmark for a menu item in a popup menu button. BTW: You can find this in the Revolution Documentation - click on the RoadMap button, then click Development Guide, then Menus, then menus and the menu bar (under the About section). Scroll down about half way to Special Effects In Menus. Easy! ;-) Hope this helps, Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: BUG in CONVERT command - or I can't tell the time
That is what the documentation says. 0 seconds is 12 midnight, Jan 1, 1970 GMT. Or at least close to it. There are discrepancies with convert for zero(s) seconds and -1 seconds. -2 secs - 23:59:59 -1 secs - 12:00:00 mid GMT -0 secs - 12:00:00 mid GMT zero secs - 0 (the result = invalid date) 0 secs - 0 (the result = invalid date) +0 secs - 12:00:00 mid GMT 1 secs - 12:00:01 get 0 -- and so on convert it to long time put itthe result michael Ian Summerfield of [EMAIL PROTECTED] wrote the following on 4/21/02 4:25 PM Maybe this only goes wrong under OS X. I'm using OS X 10.1.4. Maybe this only goes wrong depending on your date and time setting, I'm set to time zone United Kingdom and my system indicates BST. Revolution is ONE hour out with it's results using CONVERT, I think they have based something on GMT. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: BUG in CONVERT command - or I can't tell the time
On Sunday, April 21, 2002, at 08:18 PM, Michael D Mays wrote: That is what the documentation says. 0 seconds is 12 midnight, Jan 1, 1970 GMT. I get 6:00 PM (I was sure 0 used to get an error for me, too, I'm not sure what's up with that.) Look at at the original time header in the mail an you will see my time zone is -600. So for me on OS X 10.1.3, Blue White, Revolution 1.1.1, convert peeks at the current time zone. Dar Scott ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Check Menu Items?
on 4/21/2002 1:22 PM, Ken Ray at [EMAIL PROTECTED] wrote: You need to do this manually by removing the !c when the menu item is selected, and then putting it back in when it is selected again. Here's an example: on menuPick put the menuHistory of me into tSelection put me into tMenuItems if char 1 to 2 of line tSelection of tMenuItems = !c then delete char 1 to 2 of line tSelection of tMenuItems else put !c before line tSelection of tMenuItems end if put tMenuItems into me end menuPick Ken, Thanks for the code snippet. It didn't quite work for me the way I wanted it to, but it was enough of a start that I was able to work out the rest of the solution for myself. I was running into a problem where it was giving me just the previous item selected and not the current one chosen. Thanks again, Rick Harrison ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Check Menu Items?
on 4/21/2002 1:08 PM, yves COPPE at [EMAIL PROTECTED] wrote: try : put text of me into tMenu get the menuHistory of me if char 1 of line it of tMenu = ! then repeat 2 delete char 1 of line it of tMenu end repeat else put !c before line it of tMenu end if set text of me to tMenu I've done it so and it works. Thanks for the code snippet! Rick Harrison ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution