Question: is there a way to run the script with double-click? Would be cool :)
This is possible for adf files. In mimesettings for x-adf choose "Doubleclick" for event type.
For whdload files it isn't possible, because the mime settings are global, so they are for every file.
You may have noticed the script shows up in the menu with all files.
So it's not possible this way to set doubleclick as your default action.
Maybe it would be possible if you rename the whdload file to a filename with for example whd as filestype.
So for example aladdin.whd. And then define the correct mime settings for the filetype whd.
Just had a quick look:
I renamed the whdloadfile to aladdin.whd
I removed the x-morphos-globalaction-file
and saved the following file to x-amigaos-whdload in sys:prefs/ambient/filetypes/application
Name WHDLoad file
Name Run in UAE WHDLOAD
Command AMIGADOS run >nil: c:rx system:prefs/ambient/scripts/uaeexe.rexx "%sp"
Now the whdloadfile can be doubleclicked and the script is automatically executed.
Edit: don't know why, but doubleclick suddely doesn't work anymore. It is set as the default action, so...
Anyway, it should work and it did.
Edit2: For some strange reason, the double click event picks the default tool (whdload) in stead of the rexx script.
So I guess a doubleclick isn't possible with whdload files.[ Edited by Mozzerfan 02.09.2022 - 14:40 ]