Search found 384 matches

by jPV
Tue May 18, 2021 8:58 am
Forum: RapaGUI
Topic: Get MUI version
Replies: 2
Views: 43

Re: Get MUI version

It would be better to check the version from muimaster.library, because the main MUI program isn't at the same location on every system and the library is what finally defines the actual MUI version you use. I also modified the code otherwise how I'd do it, although it doesn't affect to functionalit...
by jPV
Fri May 07, 2021 8:30 am
Forum: Newbie questions
Topic: Double terminated string problem
Replies: 3
Views: 143

Re: Double terminated string problem

Hmm.. I think ArrayToStr() already cuts it, because if I do this: t={72,111,108,108,121,0,119,111,111,100,0} s$=ArrayToStr(t) DebugPrint(ByteLen(s$)) It prints 5. About your function I see few issues there: 1) Why three zeroes in \000? Shouldn't \0 be enough? 2) FindStr() returns -1 if it doesn't fi...
by jPV
Tue Apr 27, 2021 6:23 pm
Forum: MUI Royale
Topic: Virtual Keyboard for TextEditor
Replies: 1
Views: 285

Re: Virtual Keyboard for TextEditor

Texteditor.Insert?

Something like this?

Code: Select all

		Case "Pressed":
			mui.DoMethod("editor", "Insert", msg.id, "Cursor")
 		EndSwitch
by jPV
Wed Apr 07, 2021 6:31 pm
Forum: Hollywood bugs
Topic: Multiple copies of linked plugins in the temporary directory
Replies: 12
Views: 6544

Re: Multiple copies of linked plugins in the temporary directory

This is great, thank you!

But btw... it wouldn't be possible to do it on AROS too?
by jPV
Tue Mar 30, 2021 10:38 am
Forum: Hollywood bugs
Topic: Loadbrush Alphachannel = true (fails)
Replies: 5
Views: 371

Re: Loadbrush Alphachannel = true (fails)

You'll have to use LoadTransparency instead of LoadAlpha for palette based PNGs now, it was kind of a bug in HW8 regarding this :) PPaint saves 8bit palette based PNGs and they don't have alpha channel.
by jPV
Sun Mar 28, 2021 1:09 pm
Forum: Newbie questions
Topic: Is it possible to delete a file via FTP?
Replies: 21
Views: 1212

Re: Is it possible to delete a file via FTP?

The RawFTP command LIST could probably be used to fetch a directory file list but I notice that it needs a PORT or PASV command, so this could be just as complicated as the mentioned STORE command? Yes, getting directory listings require a data port, just like when transferring files. That's why yo...
by jPV
Sun Mar 28, 2021 12:53 pm
Forum: Newbie questions
Topic: Is it possible to delete a file via FTP?
Replies: 21
Views: 1212

Re: Is it possible to delete a file via FTP?

curl/hurl gives you a filelisting if you download a directory just like a file, it doesn't have separate functions for it. The filelisting is basically like a text file, but the nasty part is that the FTP standard doesn't define anything about the listing format, it's basically meant to be read by a...
by jPV
Wed Mar 24, 2021 4:58 pm
Forum: Newbie questions
Topic: Set many variables at once
Replies: 2
Views: 290

Re: Set many variables at once

Just use tables: myvar = {} For Local i = 1 To 50 Local variablename$ = "variable_"..i myvar[variablename$] = False Next DebugPrint(myvar.variable_2) DebugPrint(myvar["variable_2"]) Or skip the string indices and use numbers: myvar = {} For Local i = 1 To 50 myvar[i] = False Next DebugPrint(myvar[2])
by jPV
Fri Feb 26, 2021 4:44 pm
Forum: General plugin questions
Topic: Memory consumption with XAD and CopyFile
Replies: 1
Views: 239

Memory consumption with XAD and CopyFile

When extracting with the XAD plugin and the CopyFile function, it seems to cache the whole file in RAM before actually writing it to the destination filesystem. This doesn't seem to happen with the same conditions with the Zip plugin (although it has its own issues). You run out of memory very quick...
by jPV
Fri Feb 26, 2021 4:05 pm
Forum: General plugin questions
Topic: CopyFile with Zip is horribly slow
Replies: 1
Views: 235

CopyFile with Zip is horribly slow

When I try to extract bigger files with the Zip plugin and CopyFile, extracting gets slower and slower when the extracted file is bigger. The furter it advances, the slower it gets... the first 10 megabytes may get quickly enough that you don't notice it, but then it just slows down and finally craw...