Search found 604 matches
- Fri Feb 26, 2021 3:39 pm
- Forum: General plugin questions
- Topic: File attributes lost with Zip and CopyFile
- Replies: 6
- Views: 4224
File attributes lost with Zip and CopyFile
If you unpack files with the Zip plugin and the CopyFile() function, the unpacked files don't have ANY protection bits set (list shows it like --------). So the files aren't readable, deletable, writable, or executable. Tested on MorphOS. @REQUIRE "zip", {InstallAdapter = True} CopyFile(&q...
- Wed Feb 03, 2021 3:26 pm
- Forum: General plugin questions
- Topic: XAD plugin and RAR archives
- Replies: 2
- Views: 1898
XAD plugin and RAR archives
xad.hwp seems to fail to open any RAR archives on MorphOS with the 3rd party XAD client , even when the same archives can be opened with XADUnFile, XADopus, and Ambient. When trying with xad.hwp it doesn't seem to recognize the archive and a hit appears in the MorphOS debug log. Reproduce it, for ex...
- Wed Feb 03, 2021 2:37 pm
- Forum: General plugin questions
- Topic: Filename character encoding with the zip plugin
- Replies: 2
- Views: 1766
Filename character encoding with the zip plugin
When you create archives with zip.hwp (zip.AddFile/NewName, for instance), it seems to accept only filenames in UTF-8 encoding, for example, when using umlauts. This is problematic, because Amiga/MorphOS programs can't show them correctly and you get typical UTF-8 garbage when listing or unpacking f...
- Sun Jan 31, 2021 1:30 pm
- Forum: General plugin questions
- Topic: XAD and tar.gz archives
- Replies: 1
- Views: 2659
XAD and tar.gz archives
I've been wondering why I get a filename inside a gzip archive as "unnamed.dat" with Hollywood's XAD plugin. Other programs show the name as the archive name, even XAD's own commandline tools. The XAD plugin seems to be only one showing this "unnamed.dat". I hunted it down now, a...
- Tue Jan 26, 2021 5:24 pm
- Forum: General plugin questions
- Topic: Directory dates when copying with XAD
- Replies: 2
- Views: 1887
Directory dates when copying with XAD
If I unpack an archive with XAD and CopyFile(), all directories inside the archive will get an arbitrary date on them (04-Nov-02 10:30:00). Even if I define a non-existent path as the destination directory, the newly created dir gets this wrong date. They should get the current date or if real direc...
- Mon Jan 25, 2021 7:35 pm
- Forum: General programming
- Topic: Can I use EXISTS using jokers?
- Replies: 3
- Views: 2373
Re: Can I use EXISTS using jokers?
I'm not sure if wildcards are practical with an Exists function... don't you still want to know exact files? But anyway, here's my take :) ; An "Exists" function which works with (MatchPattern) wildcards, and is case insensitive. Function p_Exists(f$) Local d$ = PathPart(f$) f$ = LowerStr(...
- Mon Jan 18, 2021 4:59 pm
- Forum: General programming
- Topic: MUIRoyale - Problem with % sign in TextItem Content
- Replies: 3
- Views: 2507
Re: MUIRoyale - Problem with % sign in TextItem Content
This works for me on MorphOS. On which system you're testing it?
- Tue Jan 05, 2021 4:02 pm
- Forum: Newbie questions
- Topic: How to program a fast graphics filter operation
- Replies: 6
- Views: 4919
Re: How to program a fast graphics filter operation
How about putting the plotting between DisableLineHook() and EnableLineHook()? It should improve performance in this kind of situations at least. Didn't think better yet, but just a quick suggestion
- Sun Dec 13, 2020 6:30 pm
- Forum: Showcase
- Topic: RNOPublisher
- Replies: 11
- Views: 11200
Re: RNOPublisher
Very useful application. I have created several pages with RNOPublisher already. Cool, nice to hear that! Is it possible to make it more WYSIWYG? I often get an info that my document doesn't fit the page size while it looks to fit perfectly. It's difficult, because Hollywood and PDF (Polybios/libHa...
- Tue Nov 24, 2020 5:56 pm
- Forum: Newbie questions
- Topic: CountDirectoryEntries
- Replies: 2
- Views: 2091
Re: CountDirectoryEntries
It's an error in the documentation. Add an I letter there:
numcarpetas=CountDirectoryEntries(1, #COUNTDIRECTORIES)
numcarpetas=CountDirectoryEntries(1, #COUNTDIRECTORIES)