Re: Case problem

2002-09-26 Thread Dominique
> on commandkeydown thekey >switch thekey >case "n" Yeah! You will lough at me -- but I placed the key code (110) instead of the key name (n) ! You have nonetheless to give the key code if the key name is not directly accessible (as for "1" on the numeric keypad ;-)) I was puzzled by "ra

Re: Frontscripts and backscripts

2002-09-26 Thread Richard Gaskin
Shari wrote: > Also, it's a killer to debug a front/back script. The error window > does not specify where the error occurred, only that one did. > > I've got it working with front and backscripts. But I wouldn't call > it the most optimal solution. If only the error window were more > friend

RE: Thank you all...

2002-09-26 Thread Shari
>PS Hey, my brother lives in Alpharetta! Just northwest of me :-) He's in one of the nicest areas of the city :-) -- --Shareware Games for the Mac-- http://www.gypsyware.com ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/l

Frontscripts and backscripts

2002-09-26 Thread Shari
According to the documentation, the following limits are imposed: The Starter Kit permits up to ten objects to be inserted into the frontscripts. This limit is set by line 4 of the scriptLimits function. Standalone applications also have this limitation. Ditto for backScripts. Also, it's a

Re: MetaCard's Future

2002-09-26 Thread Richard Gaskin
Thomas McCarthy wrote: > I was just wondering if there was a road-map somewhere of MetaCard's future > development plans -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.

MetaCard's Future

2002-09-26 Thread Thomas McCarthy
I was just wondering if there was a road-map somewhere of MetaCard's future development plans (schedule?) Perhaps a list like: "to do now", "to do next", "to do when the episode of Star Trek on TV is not one I like" Cheers Tom Changed your e-m

Re: Case problem

2002-09-26 Thread Klaus Major
Bonsoir Dominique, >> on menupick quoi >>switch quoi >> case "nouveaux" >> create card >> break >> ... >>end switch >> end menupick > > I know that I could build a menu -- but, for the sake of simplicity > (and > elegance ;-)) I preferred not to build a menu, instaed I pu

Re: best laptop for MetaCard

2002-09-26 Thread Pierre Sahores
Dominique a écrit : > > > Mine's the 12" version [snip] > > Thanks for your story :-) > > -- > Regards, > (-8 Dominique > ___ > metacard mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/metacard Both my Compaq Presario 15"

Re: Case problem

2002-09-26 Thread Karl Becker
I have a similar command-key problem. I was trying to set some menu buttons in a menu group to have the shortcut command-1, command-2, and other numbers. But it screwed up my entire menu bar, I couldn't get a lot of other menu shortcuts to work in the standalone or in the game. What's the d

Re: best laptop for MetaCard

2002-09-26 Thread Pierre Sahores
erik hansen wrote: > > is there a best laptop for MetaCard? > > = > [EMAIL PROTECTED]http://www.erikhansen.org > > __ > Do you Yahoo!? > New DSL Internet Access from SBC & Yahoo! > http://sbc.yahoo.com > ___

Re: Case problem

2002-09-26 Thread Dominique
> on menupick quoi >switch quoi > case "nouveaux" > create card > break > ... >end switch > end menupick I know that I could build a menu -- but, for the sake of simplicity (and elegance ;-)) I preferred not to build a menu, instaed I put some handlers at the stack level (

Re: saving styled text?

2002-09-26 Thread eric engle
Hi Klaus! Your solution does help somewhat and I thank you and am planning to spend tonight working on applying your suggestion. However it is not a complete solution. Let me explain my problem more exactly: I wish to be able to do the following 1) Copy text from a field in metaCard and paste

Re: Case problem

2002-09-26 Thread Klaus Major
Bonsoir Dominique, looks like a job for a hidden button in the style of pop-up ;-) Try it, create a button, set its contents to something like: new/n first/f last/l etc... set its style to popup, group it, if necessary, to have it on all cards (dont forget to set the "background behaviour" of

Case problem

2002-09-26 Thread Dominique
I have a little notepad made with MC. I wanted to navigate with CMD-1... as in HC That works. I want now to create a new card with CMD-n: doesn't work! The stack script: == on commandkeydown touche switch touche case 65436 go first break case 65433 go prev break

Re: Thank you all...

2002-09-26 Thread Michael Kann
Send us all World Series tickets and we'll call it even. --- Shari <[EMAIL PROTECTED]> wrote: > You guys really made my evening yesterday, when just > before quitting > for the day, I realized that the inability to edit > scripts would blow > my entire strategy for this program. > > I would ha

RE: Thank you all...

2002-09-26 Thread Yates, Glen
> But thanks to you guys jumping immediately into help mode, I now have > ideas to try out that will hopefully prevent a major upheaval. I'm > hoping to avoid dissecting the entire program. I was intending to > have this out the door today to my testers, and be working on part 2 > of the pla

Thank you all...

2002-09-26 Thread Shari
You guys really made my evening yesterday, when just before quitting for the day, I realized that the inability to edit scripts would blow my entire strategy for this program. I would have shut down and been miserable all night long, and probably today and tomorrow and every day it took to rew

Re: saving styled text?

2002-09-26 Thread Klaus Major
Hi Eric, > how do I save styled text from a field to a file so > that the text formatting is retained in the saved > file? > > I can save plain ascii just fine - I would like to > save its format as well however. > > I have tried running through the help stacks and faq > and have not found a solu

Re: which is faster (a repeat structure question)

2002-09-26 Thread Shari
>test3 is the other method i mentioned.. perhaps it's not the repeat that's >slowing it down, but the actually replacing? for now it looks like i'll >switch my code back to the slightly faster method 2.. I have a save handler that saves data changed in a standalone, and stores it in a stack, us

Stop, thief!

2002-09-26 Thread Shari
>I understand the sentiment here but using this practice to prevent theft is >a bit naive: any image than can be shown onscreen can be copied via >screencapture and any sound that can be played through the system can be >recorded via audiocapture or an external recording device. I know this. But

saving styled text?

2002-09-26 Thread eric engle
how do I save styled text from a field to a file so that the text formatting is retained in the saved file? I can save plain ascii just fine - I would like to save its format as well however. I have tried running through the help stacks and faq and have not found a solution. Hints pointers or i

Re: Editing scripts in a standalone

2002-09-26 Thread Shari
>I don't know if I like your attitude here, Shari :-) > >This is probably more of an ethical issue I'm bringing up, and I >don't mean anything personal at all by it. I'm just wondering if >putting media in a separate folder would be such a bad thing to >do... it would at least let you do what

Re: best laptop for MetaCard

2002-09-26 Thread Dominique
> Mine's the 12" version [snip] Thanks for your story :-) -- Regards, (-8 Dominique ___ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard

Re: which is faster (a repeat structure question)

2002-09-26 Thread Shao Sean
file size: 1.61KB test1: 46 test2: 2 test3: 46 file size: 978KB test1: 47102 test2: 7444 test3: 46913 test3 is the other method i mentioned.. perhaps it's not the repeat that's slowing it down, but the actually replacing? for now it looks like i'll switch my code back to the slightly faster me

Re: which is faster (a repeat structure question)

2002-09-26 Thread Shao Sean
> Oddly enough, on files containg binary data the outputs do not match. > Should they? *shrug* the code is used to convert 8-bit characters into their quoted-printable format.. i use "binfile:" and base64encode for binary data and this code is strictly used on non-binary data ___

Re: which is faster (a repeat structure question)

2002-09-26 Thread Richard Gaskin
Shao Sean wrote: >> put url("file:"&it) into inputData > you store the data > >> replace numToChar(i) with ("=" & toUpper(baseConvert(i,10,16))) \ >> in inputData > you convert the data > > >> -- TEST 2 > but for test2 the data is still converted.. Good catch. I revised it as shown below and

Re: which is faster (a repeat structure question)

2002-09-26 Thread Shao Sean
how about a cross between the two? constant charsToReplace = "127,128,129,130,...,255" -- you get the idea repeat for each item i in charsToReplace replace numToChar(i) with ("=" & toUpper(baseConvert(i,10,16))) in inputData end repeat test1 for me was _wy_ slow even at files of just a

Re: which is faster (a repeat structure question)

2002-09-26 Thread Shao Sean
> put url("file:"&it) into inputData you store the data > replace numToChar(i) with ("=" & toUpper(baseConvert(i,10,16))) \ > in inputData you convert the data > -- TEST 2 but for test2 the data is still converted.. > put the milliseconds into tStart > repeat for each char

Re: which is faster (a repeat structure question)

2002-09-26 Thread Richard Gaskin
Shao Sean wrote: > repeat with i = 127 to 255 > replace numToChar(i) with ("=" & toUpper(baseConvert(i,10,16))) in > inputData > end repeat > return inputData > > > repeat for each char inputDataChar in inputData > if (charToNum(inputDataChar) >= 127) then > put "=" & toUpper(baseConvert(charTo