Remember me

Lost Password?

Register now!
Who's Online
43 user(s) are online (24 user(s) are browsing Forums)

Members: 0
Guests: 43

Support us!
Recent OS4 Files
Report message:*

Re: DOpus5 frustration

Subject: Re: DOpus5 frustration
by Severin on 2014/6/24 16:18:50


Match is case sensative, so %pdf will not work but %PDF will.

Most filetypes have a 'magic number' which is the first few characters in a file.

Eg. to match a png use:
Match $89504e470d0a1a0a

the lasst 4 characters can not be entered from the keyboard so the 8 characters have to be given in hex code.

Jpg is ??????JFIF (the first 6 chars in the file can be anything, the ? means ignore this character).

Python scripts are:

Match (nocase) #!python
Match (nocase) #!c:python
Match Name *.py

IFF files are a little different, for those you use Match FORM and set it to AIFF, 8SVX, ILBM etc.

If you look on aminet you can find collections of filetypes for dopus5, you just need to update what to do with them eg. double click, drag'n'drop, popup menu entries etc.

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project