Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
63 user(s) are online (49 user(s) are browsing Forums)

Members: 0
Guests: 63

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: DOpus5 frustration

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

@kilaueabart

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
Or
Match (nocase) #!c:python
Or
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