Very nice of you Andre. I hope I can add some new tools soon. BTW, Ken's new
DropTools framework is really a thing of beauty-- reminds me of the rev on
rockets stuff you did awhile back. I suspect of all of us, you've
contributed more free source code than anyone! Thanks :-)
On Fri, Jun 17, 2011
Envoyé de mon iPad
Le 18 juin 2011 à 07:11, Ken Ray k...@sonsothunder.com a écrit :
Please let me know so I can update it; I'm trying to keep up with all the
custom controls that have been created to make it easier for everyone to
find the controls they need.
Hello Ken,
I have two other
On 06/18/2011 09:07 AM, Slava Paperno wrote:
Aha! The idea of using the number of words is brilliant.
Unfortunately, the word boundaries don't quite work, and I think it's for
the same reason: I think the mouseCharChunk reports bytes, not characters.
It is Unicode-smart in some ways: when you
Hi Jacque,
That's wrong for unicode, because it will catch one NULL too many, either at
the beginning or the end of the string, depending on whether it is small or big
endian (which depends on the processor that LiveCode is running on).
If you're really desperate, you might use this approach
Hi Slava,
Instead of simply pasting the text into LiveCode, do the following:
set the unicodeText of fld x to the clipboarddata[unicode]
Now you can do this:
on mouseDown
select the clickText
set the unicodeText of fld 2 to the unicodeText of the selection
end mouseDown
or whatever you
Is there an equivalent to the mouseText, or the mouseChunk, or the
mouseCharChunk that is Unicode-aware? Or some ingenious way to retrieve the
word that the user clicked?
doing THIS:
on mouseDown
set the useUnicode to true
set the unicodeText of fld fEND to the unicodeText of the
Hi,
See subject. My app needs to know the device its IP, including the NAT
version if applicable.
put the hostAddresstoName of the hostName into tIP
doesn't work on iOS. Any thoughts greatly appreciated!
--Maarten
___
use-livecode mailing list
Page 36 of the iOS 4.6.1 release notes - for the device
Page 38 of the iOS 4.6.1 release notes - for its IP
Hi,
See subject. My app needs to know the device its IP, including the NAT
version if applicable.
put the hostAddresstoName of the hostName into tIP
doesn't work on iOS. Any
Hi Richmond,
The itemDel can be only one char/byte long. If the useUnicode is true, then
numToChar(32) returns 2 bytes. Hence the error. The docs are correct.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter:
Does anyone of you have experience with software to send newsletters to a list
of 1000+ email addresses? I tried to write something myself, but I'm afraid
servers will falsely recognize me as a spammer if I make my own software for
this.
Any recommendations?
Terry
A very interesting discussion! Thanks, Richmond--I tried all the same
tricks, with the same baffling results you're reporting. First work always
works.
Mark--I've used you suggestion about the unicodeText of selection to great
advantage in a different context (when the user has selected some text
John,
No, I saw that. I want the IP address of the iOS device my app is
running on. p39 is a way of monitoring the IP address of another
server for reachability.
Thanks,
Maarten
On Sat, Jun 18, 2011 at 12:38 PM, John Dixon dixo...@hotmail.co.uk wrote:
Page 36 of the iOS 4.6.1 release notes -
For years now I have from time to time tried to get revFontLoad to work in
Windows. This particular font requires no licensing.
I have spent the day trying one more time. I have read and re-read every post
to this list that contains either revFontLoad or embedding fonts. and I
still cannot
Hi Lars,
If you can't get revFontLoad to work, you might use the Installer Maker (link
in signature) to install your entire application including the font. Currently,
you can get a license for Installer Maker at a 25% discount at
http://livetalk.us/im
If you are determined to get revFontLoad
A new little custom control for Macintosh (Windows Linux also, I suppose...)
on revOnline :
Search : Circular Slider Store.
René - if you're interested in turning this (and any of your other controls
you've made) into a DropTool, let me know and I'll help you (if you need
help, that is).
basically it's like this:
put the fontNames into theCompare
answer file
if it = then
beep
exit to top
end if
put it into thePath
revFontLoad thePath
if the fontNames theCompare then
answer success!
revFontUnload thePath
--not unloading before quitting your app can lead to crashes
Hi Pierre,
Have you tried it? I don't do anything server-side so cannot advise you
specifically. Since it is a library of LiveCode with no other dependencies,
it should be compatible with any LiveCode implementation. The only
requirementis that the graphic be drawn to the first available
Hi Andy,
Currently you pass the required text to be displayed, so the conversion
would be done by your app before feeding the values as a parameter to
ChartMaker. However, I will certainly look into handling date conversion
within the ChartMaker engine as an option.
Best regards,
Hugh Senior
Hi Slava,
I tried your example of mixed unicode and ASCII words. Using the word
technique and the html I did this:
-
on mouseUp
get word 2 of the clickCharChunk
put the number of words in char 1 to it of me into tWordNum
put word 1 to (the number of words in
Thanks, Bernd! Using the html is something I didn't try, but otherwise your
results are exactly the same as mine: The Russian Robert (Роберт) is the fourth
word, yet clicking its first letter reports it as word 3.
Yes, Robert's Chinese ancestor are the culprit here, of course :)
The Chinese
This is the usual reminder, that there is only one hour left until we start.
Remember: eHug and Cleverfiles have offered us DiskDrill Pro for a Sweepstake!
DiskDrill is a data recovery tool for Mac OS X, and only people who join the
event on ChatRev will be able to win a version of this 98 $
Does anyone of you have experience with software to send newsletters to a list
of 1000+ email addresses? I tried to write something myself, but I'm afraid
servers will falsely recognize me as a spammer if I make my own software for
this.
Any recommendations?
I've been using Direct Mail by
Slava,
Роберт gave up:
---
on mouseUp
get word 4 of the clickCharChunk
put the number of words in char 1 to it of me into tWordNum
select word tWordNum of me
put the htmlText of the selectedtext into tWordClicked
put tWordClicked into field 3
set the
On 6/18/11 7:32 AM, Slava Paperno wrote:
You also said if you're desperate, delete that extra null byte. That's
intriguing. I don't care about PPC machines. But I can't find any null bytes
in my fields. I expected a null byte to be added to each Roman character,
e.g. 0x00AF. But when I use put
On 6/18/11 1:34 PM, J. Landman Gay wrote:
Here is a shudderingly, terrifyingly ugly hack that seems to work, at
least with the sample text you posted:
Never mind, it's off by one. I didn't test each letter. :(
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive
When I use word 4 of the mouseCharChunk (instead of word 2), following
Bernd's procedure, then your first method the number of words in char 1 to
(word 4 of the mouseCharChunk) of me works for all words in my sample, and
I think so does this terrifying hack. I'm still testing with longer and
more
Slava,
this also works
-
on mouseUp
get word 4 of the clickCharChunk
put the number of words in char 1 to it of me into tWordNum
select word tWordNum of me
put the unicodeText of the selectedtext into tWordClicked
set the unicodeText of field 2 to
Something is different about the Russian upper case R (Р, decimal 1056, hex
0420, you can copy it from Character Map in Windows). That's why Robert
misbehaves, and so do Ruanda, Rodesia, and even USSR.
Seriously, when the word СССР is clicked on any of the first three letters, and
I use one of
Something is different about the Russian upper case R
byteToNum(byte 1 of the russian letter R) is 32 which is (TADA) SPACE and thus
a word delimiter. Did I mention I hate unicode and the way it currently (not)
works?
Cries bitter tears.
Malte
Slava,
although Роберт is a nice guy he must give in:
I tried with
Саша, Наташа, Митя, Роберт, Robert, Jeffrey, and Соня Петрова, СССР, ССРРСС
Слава
Паперно, Лора Баглай, Макс, Паперно
Роберт, СССР, ССРРСС
---
on mouseUp
get word 4 of the clickCharChunk
put it into
Amen!
S.
-Original Message-
From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-
boun...@lists.runrev.com] On Behalf Of Malte Brill
Sent: Saturday, June 18, 2011 5:22 PM
To: use-livecode@lists.runrev.com
Subject: Re: the mouseText and Unicode: the Russian letter R
Hi Bernd! I hope you are having fun :) This is very entertaining...
So the htmlText of char i may CONTAIN p ??? Incredible... I'll be
playing with this all night.
My Robert is a little different from yours:
set useUnicode to true
--field Robert contains one Russian letter, the upper case Р,
In the process of getting a slightly tricky script to work, I've been pondering
the do command and the native value function.
I've made an inference. I suspect one could get along without the do command
by judiciously employing the value function, e.g., value(foo) or the value of
foo
I
As usual, I'm riding the tail end of the wave, but I too want to thank Ken Ray
and all of you who are contributing to his Drop Tools plugin. Just a very minor
nit, Ken: LiveCode Preferences is found in the LiveCode Menu and not in the
Edit menu as indicated in your DropTools User Guide.
On Saturday, June 18, 2011 10:05:18 PM Roger Guay wrote:
As usual, I'm riding the tail end of the wave, but I too want to thank Ken
Ray and all of you who are contributing to his Drop Tools plugin. Just a
very minor nit, Ken: LiveCode Preferences is found in the LiveCode Menu
and not in the
Thanks to everyone who posted all the fun stuff in this thread today.
The workaround below combines ideas from all of you.
I learned two essential things from you guys:
1) mouseChunk, mouseText, mouseCharChunk, and a couple of related functions
return the positions of bytes, not characters. In
36 matches
Mail list logo