Thanks for the suggestion.
Actually the way I am processing the
data from the end makes it faster for
what I need in the long run.
I finally got it working but now I need to
clean it up and probably re think it again
since I did it so many different ways.
Thanks to everyone for your help!
JB
[I take the liberty to move this to a new thread in order to have a more
appropriate subject]
> Richard Gaskin wrote (in thread 'nice Sierra feature'):
>>> Mark Wieder wrote:
>>> On linux you can alt-click to grab and move a window.
>
> ... which is both great and horrible.
> It's handy, of
JB wrote:
> When I read the data is put into it so I was putting empty
> into it after the read to make sure it was clear.
>
> I tried not putting empty into it and used,
> repeat until it = empty
>
> but apparently it never became empty.
When I read your earlier description I thought you were
Thanks for the info!
I almost have it by keeping track of what is read.
While Livecode is very fast with text I am trying
to keep the process a small as possible. If I am
working of 350 files a fews seconds on each file
adds up a lot.
JB
> On May 28, 2017, at 1:29 PM, hh via use-livecode
>
[This certainly depends upon how you read 'sections'.
If one uses a separator and search backwards then you'll get empty
before the first if at start of file.]
When testing this 'ineffective' way (because of searching backwards)
I found a better method:
Say your separator is for example
That did not work for me. When I read the data is
put into it so I was putting empty into it after the
read to make sure it was clear.
I tried not putting empty into it and used,
repeat until it = empty
but apparently it never became empty.
JB
> On May 28, 2017, at 10:37 AM, hh via
Sannyasin Brahmanathaswami wrote:
> If using
> sftp://username:password@mydomain/sompath/somefile.ext
> is the user name and password "sniffable"
>
> I am under the impression it is not as SFTP encrypts *before* sending
> out the pipe.
>
> Is that understanding correct?
Yes, that's the key
> JB wrote:
> ... I want to read in sections from the EOF and
> stop at the beginning of the file instead reading
> from the start to EOF.
>
> I have no problems opening, reading and
> closing files or reading in sections.
>
> Does anyone know the easiest way to determine
> when I reach the start
Thanks, Richard
JB
> On May 28, 2017, at 8:26 AM, Richard Gaskin via use-livecode
> wrote:
>
> Mike Bonner wrote:
>
> > On Sat, May 27, 2017 at 7:23 PM, JB wrote:
> >> I want to read a file as binary of any
> >> size but as crazy as it sounds I want
> >> to
On 05/28/2017 09:08 AM, Richard Gaskin via use-livecode wrote:
Mark Wieder wrote:
On linux you can alt-click to grab and move a window.
...which is both great and horrible.
It's handy, of course, but it also means not being able to rely on
Alt-click in our UIs.
In many cases I've
Mark Wieder wrote:
On linux you can alt-click to grab and move a window.
...which is both great and horrible.
It's handy, of course, but it also means not being able to rely on
Alt-click in our UIs.
In many cases I've migrated some Alt-click functionality to Shift-click,
but it's nice to
Personally I'd do something "totally mental":
I'd import the file contents into a field, reverse its order and work on
from there.
Richmond.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe,
Thanks for letting me know the limitations of the method I offered. Now
that you point it out, it makes sense since it'd be rather tough to do a
count of something that isn't entirely accessible beginning to end.
The detailed files method is definitely better.
I guess one could go read a file
On 05/28/2017 02:35 AM, Colin Holgate via use-livecode wrote:
Was just testing something and needed to look up a function in the dictionary.
As can often happen, especially when you frequently alternate between using one
and two monitors, the top of the dictionary window was underneath the
Mike Bonner wrote:
> On Sat, May 27, 2017 at 7:23 PM, JB wrote:
>> I want to read a file as binary of any
>> size but as crazy as it sounds I want
>> to read in sections form the EOF and
>> stop at the beginning of the file instead
>> reading from the start to EOF.
>>
>> I have no problems
There’s just a Reload option in macOS right-click.
> On May 28, 2017, at 11:27 AM, Roger Eller via use-livecode
> wrote:
>
> IIRC, in Linux a window can be moved by right-clicking and selecting
> 'move', then drag from anywhere within the frame.
>
> On May 28,
IIRC, in Linux a window can be moved by right-clicking and selecting
'move', then drag from anywhere within the frame.
On May 28, 2017 5:35 AM, "Colin Holgate via use-livecode" <
use-livecode@lists.runrev.com> wrote:
> Was just testing something and needed to look up a function in the
>
It does: Thanks for pointing that out as it made me look more closely at
my code and work out that
the cause of this was something else, which I have now rectified.
Richmond.
On 5/28/17 12:27 pm, Colin Holgate via use-livecode wrote:
I just tried that, and the insertion point seems to be
Was just testing something and needed to look up a function in the dictionary.
As can often happen, especially when you frequently alternate between using one
and two monitors, the top of the dictionary window was underneath the macOS
menubar. To fix that in the past I would do something on the
I just tried that, and the insertion point seems to be right after the new
character. At least it is in LiveCode 8.
> On May 28, 2017, at 10:21 AM, Richmond Mathewson via use-livecode
> wrote:
>
> Here's a right &*^%$# with *textField*s:
>
> I have thousands
Here's a right &*^%$# with *textField*s:
I have thousands of scripts that go something a bit like this:
*setthetextoftheselectedTexttonumToCodePoint**(107)*
and when one is activated it pops the designated Unicode Glyph *INTO*
the place
in the text inwith a
Thanks a bucket: that hit the thing on the head first time.
Best, Richmond.
On 5/28/17 11:36 am, james--- via use-livecode wrote:
Try textDecode(thefilecontent, "UTF8") or maybe 'utf16' given this is what LC
is using internally.
___
use-livecode
Try textDecode(thefilecontent, "UTF8") or maybe 'utf16' given this is what LC
is using internally.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
On Sun, 5/28/17, JB via use-livecode wrote:
>
> Subject: File - read from EOF
> To: "How to use LiveCode"
> Cc: "JB"
> Date: Sunday, May 28, 2017, 2:23 AM
>
> I want to read a file as binary of any
> size but
So: Having exported Unicode text from my Devawriter Pro to HTML (which
shows up in a Web Browser alright *IFF* the text encoding
is set to 'Unicode'), on REIMPORTING that HTML file I get something that
does NOT look the same at all.
My script WAS set to this:
set the htmlText of fld "fld" to
25 matches
Mail list logo