Archives for MUI Class

AmiTranslate with DeepL

Posted by ALB42 on 8. Juli 20237 Comments

Usually when I translate texts from one language to an other I use DeepL to do it, it makes better results than Google translate in the most cases (at least if german is the target language). It also has an API to use and the first 500.000 chars are free, so I created a little program for Amiga to use that API.

It’s stupidly named AmiTranslate I know very unimaginative but hey seems the name is not used already, so why not. Of course the program needs an Internet connection and SSL (OpenSSL3 on MorphOS; AmiSSL on all other systems) because it talks directly with the DeepL server (via https) and it needs the texteditor.mcc.

Of course for some of the languages there is the problem of showing the chars (e.g. russian) for that I included a PDF writing function and a plain UTF-8 Text output then you can use other programs to read the actual text. of course nicer would be to make a real TTF output maybe later.

I also removed some languages which does not work at all (even the PDF output, like japanese, korean and chinese)

If you have an own DeepL key you can add the ToolType „DEEPLKEY=<key>“ to the icon, then even my 500.000 chars are used you can still use your own, it’s free so why not.

Downloads at the programs Page

Text to Image AI

Posted by ALB42 on 27. Juni 20232 Comments

Of course it’s perfectly possible to use any text 2 image webpages like getimg.ai with AmiFox on Amiga. But of course a better way is to make a specialized app for it using hugging face with stable diffusion.

It also contains Magic prompt which can produce more sophisticated prompts or even a complete random prompt. Gives really nice pictures sometimes.

AmiFox AREXX and parameter

Posted by ALB42 on 15. April 2023No Comments

Introducing AREXX commands for AmiFox, so you can send a URL to AmiFox to view. If the Browser is idle it will directly start to load the new URL. If still loading another URL it will remember the URL and start it after the current one is finished loading, maybe later also stop the current task, atm its easier that way.

Wit this new AREXX command of course one can use an AREXX script but even better you can use programs like openurl to directly send urls to your favourite Web-browser… or AmiFox 😀

AmiFox 0.3

Posted by ALB42 on 27. März 20239 Comments

A new version of AmiFox is ready for release, I fixed some more bugs the last days. The 0.3 Version is a big step forward for usability of AmiFox. Most of these features I already introduced in the blog entries here so just a short recap.

  • Copy Text from selected webpage (AmiFox-Server 0.2+)
  • Copy Clipboard from Server (AmiFox-Server 0.2+)
  • IFF Format (AmiFox-Server 0.2+)
  • send longer texts to page (needs texteditor.mcc)
  • Mouse wheel support
  • Shift cursor up/down send as Page up/Down (AmiFox-Server 0.2+)
  • Error message when Datatype could not load image
  • send Youtube URLs to AmiTube
  • send Google Maps and OpenStreetmap positions to Mapparium
  • AROS Version atm i386 and 64bit ABIv11
  • Read URL at Mouse position
  • direct download of catched URL at mouse position
  • save Webpage Image
  • Copy/Paste URL

Downloads as always on the AmiFox Page or with the Update check inside AmiFox.


If you using an own AmiFox Server please note that you must update to the latest Version to get all the Features, The Current Version should have the Version Number „AmiFox-Server 0.3“ visible in the AmiFox about (after at least one page was loaded) or in the footer of the AmiFoxServer webpage, next to the WRP Version number.

AmiTube 1.4

Posted by ALB42 on 24. März 20233 Comments

A new release of AmiTube is ready. The biggest enhancement is the Search by ID window for easier handling of YouTube URLs.

A second improvement is the self made AREXX Port for AROS which make it possible to send URLs from AmiFox to AmiTube when you are on a Youtube Video page. (all other platforms had it before already)

  • Bugfix for Get Original Window when no entry is selected
  • Search by ID Window added for easier URL handling
  • Support for Youtube shorts (movies in portait format)
  • show the time left when downloading videos
  • AREXX port for AROS

Download as always on the AmiTube Page

AmiFox and URL Links

Posted by ALB42 on 18. März 2023No Comments

I was browsing around in the old sources of WRP, how it was in older Releases, and I found an interesting point, in the beginning they tried the same as me. To gather all the links on the page with their position and sent it back as map to the client. So they gave me a handy example source how to achieve that with the headless chrome. so I build a routine which takes coordinates and sends back the URL if the coordinates are on a link. And I put that into AmiFox. But for that of course I need a Version detection because older versions or the official WRP can’t do that.

Now this works rather nicely, still thinking if I should do that always and out in the original answer html, but then it will be huge for most webpages. Atm I like this more dynamic way more, I also cache them in AmiFox so if it knows already once the position it will not ask again for these positions.

To use that besides the little text in the status bar I added a Context menu with „Download Link“ and that it no looks that empty also a „save image“ function, which just copies the temp image to an other location. Little demonstration, as usual.

AROS and AREXX

Posted by ALB42 on 16. März 2023No Comments

Some days before I made a Video how AmiFox and AmiTube/MUIMapparium will work together in the next AmiFox version. But that would not work for AROS, simply because the AROS MUI, named Zune does not support an AREXX Port as MUI does. But when I thought about, it should be not too hard to create an AREXX port yourself, in principle what you need to do:

  • Create an Message port (CreateMsgPort)
  • Name that Message port for example „AmiTube.1“, MUI/Zune already supplies such a name in the Base property of the application class (ln_Name)
  • Register that named Message port to the system (AddPort)
  • Read Messages from the port (GetMsg)
  • check if that message is a commando (RXCOMM)
  • Handle that Message (RexxMsg)
  • Reply the message to the sender (ReplyMsg)

Thats all, (of course in destroy you need to remove the msgport from the system and destroy it). But overall very simple. I tried it for i386 AROS and it works very nicely I can send AREXX messages from AmiFox to AmiTube as in Amiga. Now I really think why they did not implement that in Zune, if it’s that simple, maybe I forget something.

AmiFox AROS and AmiSSL

Posted by ALB42 on 15. März 20232 Comments

I got a new AmiSSL Library for AROS i386 ABIv0 and this time it works smoothly. The httpstest worked without a problem.

So I created a new Version of AmiFox for AROS with SSL enabled and it also worked. That went almost a bit too smoothly. noticed already that the images (logo and lock icon) looks wrong in AROS, it seems the TImage does not work properly, the lock is only shifted a bit, but the logo is completely destroyed. What to do about it, I want at least the lock look right, that the user can see if they are on a secure connection. So the easiest way it to bring in the images as iff and load them with Datatypes. The difficult part here is that you cannot load files from memory before Datatypes library V44. So I never do that for m68k Amiga, I always put a file to HD or RAM and load that one. But, here on AROS there must be a datatypes v44+, easy. And yes the datatypes library is v45 so it should work, spoiler, it does not, it does not even give a error message. The object is nil and the error code is 0, nice, a little bit grepping in the AROS code revealed, it seems it is still not implemented. Ok back to field one, I implement that save to T: as file and load that, not nice but it works, and for AROS it’s not too bad to put some stuff into Ram disk, it had enough RAM. But so finally it works, SSL with AmiFox on AROS ABIv0 makes a nice secure connection to the server, visible by the little lock in the lower right corner.

AmiFox AROS? Why?

Posted by ALB42 on 11. März 20232 Comments

Don’t ask me… AmiFox is a nice workaround for Amiga, even it’s slow.. but for a highend computer as AROS (Intel/AMD CPUs)? Why would you ever use it? Especially when there is OWB which can show the webpages in real without the image server in between. And even OWB is not up to date it still shows most of the pages without problems.

But still I got „some“ (2 actually 😉 ) requests for AmiFox for AROS, maybe thats just… hey Amiga has a new Program, we also need it, if it is useful or not is not important. *sigh*

So I compiled it for AROS i386 and AROS 64bit ABIv11 but it has some strange effects… first of course AmiSSL is still missing so no SSL downloads, no SSL connection to Server. 2nd the images are quite disturbed, seems AROS has some problems with real Amiga bitplanes… I mean the lock looks somewhat right… just shiftet? But the logo? not even recognizable. 3rd The Scrollbar in AROS Zune seems really does not like to be hidden/shown in runtime.. it makes crazy stuff, so now it’s visible the whole time on AROS. Join Discord to get the beta.