(No I will NOT put images and sounds into a separate folder for the world to
steal. They will be embedded.)
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
Shao,
In the example you give, I would bet the repeat with is faster, since it
only has to do 128 replace statements, whereas the repeat for each would
have to adjust each character one at a time. It probably depends on the size
of what's being converted - if it's small, repeat for each, if it's
In the example you give, I would bet the repeat with is faster, since it
it's my actual code, i used to use the repeat for but switched that chunk
to the repeat with as it seemed to be easier to just replace all of the
instances at once...
It probably depends on the size of what's being
music, there will be a means to copy it, even if the copy is as primitive
as
a cassette player and microphone.
i have a few MP3s that are done like that to get the songs from a movie (i
own the movie.. the soundtrack is illegal(?) to get shipped to canada, but
the movie isn't .. go figure
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 =
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
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 few
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 still get similar
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
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
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
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 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 if
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, user
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 solution.
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
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 plan
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 have shut
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
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
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
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 (or at the
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
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 and IBook2 14
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 put some
handlers at
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-mail?
Thomas McCarthy wrote:
I was just wondering if there was a road-map somewhere of MetaCard's future
development plans
http://www.metacard.com/pi5.html
--
Richard Gaskin
Fourth World Media Corporation
Custom Software and Web Development for All Major Platforms
Developer of WebMerge 2.0:
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
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]
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
friendly,
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
31 matches
Mail list logo