New Ambient Version MimeTypes!!!
  • mk
  • Butterfly
    Butterfly
    mk
    Posts: 72 from 2004/5/24
    From: Germany Gera
    Hello Gunne,

    you wrote:

    > Ok, archive temporary removed again. Just got the information the icons included in the archive might be copyrighted.

    > mk, Could you please check this ?

    From L.A Yliniemi:

    http://hem.fyristorg.com/layli

    "2006-05-27 Removing iconset and skin for MorphOS"
    "I have removed all files for MorphOS, there was copywrighted, then it cant be available for download."



    I have removed this Icons also from me Filetypes Collection. A new Collection will published soon.

    --
    so long Mario
  • »29.05.06 - 07:18
    Profile
  • Moderator
    gunne
    Posts: 441 from 2003/2/26
    From: Sweden
    mk,

    Ok, fine. Awaiting the new collection instead.
    Best wishes, Gunne
  • »29.05.06 - 09:45
    Profile Visit Website
  • rms
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    rms
    Posts: 599 from 2004/11/27
    Hi all,

    does anyone know what are files like "fastppa" or "filepanel" etc. which are located in prefs/env-archive/mui are for and how to use them.

    Are there any further features which can be defined with such text files? Perhaps a list is somewhere available...

    Regards

    Christoph
  • »25.01.07 - 12:54
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    amiga4001
    Posts: 444 from 2006/11/16
    From: The Netherlands
    Maybe a stupid question...
    I am running morphos 1.4.5 with ambient 1.43
    This already has build in mimetypes..right.
    At least it automatically dearchives .lha files on dubbleclick.
    But I also want to get the same behavior with .lzx .rar etc.
    How do I get this going?
    I tried with settings in mimetypes for mp3 audio to startup songplayer.
    Songplayer starts up nicely but no song in the programslist to play what ever I try.
    Any tips..newbie style?
    Powerbook 5,4 1.5GHz 1.5GB ram
  • »25.01.07 - 19:57
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    diezi7
    Posts: 167 from 2005/7/26
    From: Madrid
    To listen mp3 with Songplayer after double click
    write something like this in Mime Prefs you have
    to add %sp

    Work:Sound/SongPlayer/Songplayer %sp

    ;-D
    PowerMac G4 MDD 1,25 dual (Registered)
    Pegasos II G4 (not working)
    Powerbook G4 1.0 15"
    -=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=
    http://amigalandia.blogspot.com.es/
  • »25.01.07 - 23:27
    Profile Visit Website
  • mk
  • Butterfly
    Butterfly
    mk
    Posts: 72 from 2004/5/24
    From: Germany Gera
    > amiga4001

    > But I also want to get the same behavior with .lzx .rar etc.
    > I tried with settings in mimetypes for mp3 audio to startup songplayer.
    > Any tips..

    http://morphosambient.sourceforge.net/dl/Filetypes20061027.lha

    included unzip, unrar etc.

    included voodoo-X Version 2

    included startups/actions (menue, doubleclick, dragndrop)

    also for much Player (also songplayer), Viewer, Editor, Programm and much much more

    included also a installer-script

    hint: If necessary then adjusting Paths for your installed applications in WBStartup/FileTypesPath with a Texteditor!

    [ Edited by mk on 2007/1/26 8:13 ]
  • »26.01.07 - 05:35
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    amiga4001
    Posts: 444 from 2006/11/16
    From: The Netherlands
    Thanks,
    Is working very nice now.
    Only mp3 music ain't responding.
    I can set what I want it keeps going to the internal player off ambient.
    Powerbook 5,4 1.5GHz 1.5GB ram
  • »27.01.07 - 20:15
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    You have to edit audio/mpeg in mime prefs to override default action set by recognition.db.
  • »28.01.07 - 01:26
    Profile Visit Website
  • mk
  • Butterfly
    Butterfly
    mk
    Posts: 72 from 2004/5/24
    From: Germany Gera
    > amiga4001
    > Only mp3 music ain't responding. I can set what I want it keeps going to the internal player off ambient.

    1.) You can play mpeg (mp3) without modify the filetypes:

    * at doubleclick:
    - with internal player

    1.1)

    - if you have me filetypes packet installed
    - if you have the calling application (here: Songplayer and/or AmigaAmp, Kaya, AmiNetRadio) installed
    - if you have (if necessary) in WBStartup/FileTypesPath adjusted (with a Texteditor) the path where this application installed

    * at (context) menu (mouse over (mpeg) file, right mouse button):
    - with AmigaAmp
    - with Songplayer
    - with Kaya
    - with AmiNetRadio

    2.) To modify doubleclick action (for mpeg/soundplayer) open:

    - ambient-menue /ambient settings
    - mime
    - audio
    - mpeg

    - Play with ambient...
    - modify Event Type to "Menu"
    - ok

    - Play with soundplayer.rexx...
    - modify Event Type to "DoubleClick"
    - ok

    - ok
    - save


    [ Edited by mk on 2007/1/28 9:24 ]
  • »28.01.07 - 08:21
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    amiga4001
    Posts: 444 from 2006/11/16
    From: The Netherlands
    Thanks! Now all is working.
    Didn't know about the right mousebutton menu..nice
    Powerbook 5,4 1.5GHz 1.5GB ram
  • »28.01.07 - 08:27
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    JohnFante
    Posts: 158 from 2006/9/4
    From: Copenhagen
    Two things:

    Has anybody had stability problems with the filetypes pacakage? My system begins to act wierd after I install the package.

    I use AmigaAMP as my Mp3 player. When i doubleclick a Mp3 file it opens and plays nicely :-) the only problem is that as long as AmigaAMP plays I can't close the window where the Mp3 file was!!
  • »11.02.07 - 14:44
    Profile
  • Moderator
    hooligan
    Posts: 1948 from 2003/2/23
    From: Lahti, Finland
    /me sings "Sooooongplayer.. Soooooongplayer!"
    www.mikseri.net/hooligan <- Free music
  • »11.02.07 - 16:38
    Profile Visit Website
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    And /me shouts run!! run!!

    (use run to detach amigaamp process, as window is put to sleep until command has returned)
  • »11.02.07 - 17:32
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    JohnFante
    Posts: 158 from 2006/9/4
    From: Copenhagen
    The Run command did the trick!

    Thanks! :-)
  • »11.02.07 - 18:22
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    AmigaMancer
    Posts: 265 from 2005/8/25
    Quote:

    included voodoo-X Version 2

    Wow! Where was that hidden all these years? Is it an internal beta version?
    Amiga 1200 user.
  • »12.02.07 - 02:53
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    jcmarcos
    Posts: 1178 from 2003/3/13
    From: Pinto, Madrid ...
    I've been reading the FAQs here, and also some messages over "www.ambient-desktop.com", and I still have two questions:

    1.- How to open an Ambient window from a script?
    2.- How to make Ambient's windows remember its lister mode preferences?

    Is there anything anywhere like an "Ambient Manual"?
  • »27.02.07 - 09:15
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Jupp3
    Posts: 1193 from 2003/2/24
    From: Helsinki, Finland
    Quote:

    1.- How to open an Ambient window from a script?

    do path:to/drawer
    Quote:

    2.- How to make Ambient's windows remember its lister mode preferences?

    Does snapshot work?
  • »27.02.07 - 09:38
    Profile Visit Website
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    1. The full qualified rexx command to open a directory is:

    loaduri scheme://path?arguments [NEWWIN] [VIEWID=x]

    where,
    - scheme can be file or devices.
    - path is your wanted path
    - arguments are top (-1 means under mouse), left (-1 means under mouse), width, height, view (list or icon), mode (all, icons, thumbs).

    So for instance, loaduri file://datas:pictures?view=list&mode=thumbs&top=-1&left=-1&width=640&height=480

    2. If you snapshot a directory that has its own icon, view mode (list/icon) will be stored in that icon, like workbench. Due to the way navigation works, if you're already in icon mode, a window will only switch to list mode if you open it in a new window (so it works for snapshot partitions for instance).

    Also, when you snapshot a directory in list mode, additional information such as icon size, column order, hidden columns,... is stored in envarc:ambient.data for the given path (even if there's no icon for that directory).

    An ambient manual is something needed, indeed. In the meantime, feel free to ask questions. :)
  • »27.02.07 - 12:55
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    jcmarcos
    Posts: 1178 from 2003/3/13
    From: Pinto, Madrid ...
    Exactly what I needed! Thank you very much. I wouldn't mind compiling something like an Ambient manual, even if Ambient is always under constant changes. I would need a starting point, is there anything documented somewhere?
    Nevertheless, MorphZone is the place to ask! It's a pity that all this precious information is not organized, so same questions pop up again and again.
    I will now try to apply these new knowledges to my MorphOS, and will come back soon with more questions!
  • »27.02.07 - 13:05
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    magnetic
    Posts: 2129 from 2003/3/1
    From: Los Angeles
    jcmarcos

    A guide or tutorial of Ambient is very much needed. That would be cool

    magnetic
    Pegasos 2 Rev 2B3 w/ Freescale 7447 "G4" @ 1ghz / 1gb Nanya Ram
    Quad Boot: MorphOS 2.7 | Amiga OS4.1 U4 | Ubuntu PPC GNU/Linux | OS X 10.4
  • »27.02.07 - 21:09
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    jcmarcos
    Posts: 1178 from 2003/3/13
    From: Pinto, Madrid ...
    I have a new question for you Ambient guys: Is there a listing of variables passed to the MIME actions?
    I know that the "%sp" variable holds the full path for the selected file. But I need the filename alone, and perhaps also the filename without the extension (or is there a way to trim it out?).
    Finally, what happens if there are several files selected? Is there an array of variables somewhere?
    I was attempting to add an action for WAV files, called "Send to player device as MP3".
    Thanks to "CDDA device handler" (great software!), I'm able to have tracks in a regular CD as WAV files. Then, with "lame", I'm able to create the corresponding MP3 file wherever I like. But I'd like to know if I can do the same for several files at once.
    A bonus would be to ask the user for optional file names, instead of "Track01".
  • »15.03.07 - 09:16
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    GK_LKA
    Posts: 481 from 2004/3/28
    From: Hungary
    The possible options are described in the MIME type editor in the action text field's quick help bubble.

    Group actions started to work in the very latest beta. AFAIK Ambient checks the types of the selected files, and displays the common filetype's actions. Maybe the only way to do what you want is to do it for every file seperately.

    But let Fab tell us that I'm right or wrong :)


    [ Edited by GK_LKA on 2007/3/15 12:47 ]
    [ GK / LKA Team ]
  • »15.03.07 - 11:47
    Profile Visit Website
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    Indeed, kiero added recently the possibility to process all selected files from contextmenu action. The actions only appear if the entries have the same type, or at least the same mime family. Then, depending on your needs, action will be either applied sequentially to each file, or applied to the list of all files if "merge uris" checkmark is checked.

    As said previously, help bubble in command string shows available placeholders. In particular, you can get filename part with %sf. We can always add more placeholders, but if you need something really exotic, you can also just process it with a rexx script later. I did that to convert tiff to png for instance. For instance, to filter out extension, you could use something like :
    parse var filename '"'sfilename'.'ext'"'



    [ Edited by Fab on 2007/3/15 13:03 ]
  • »15.03.07 - 13:02
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    jcmarcos
    Posts: 1178 from 2003/3/13
    From: Pinto, Madrid ...
    Thankyou vert much GK_LKA and Fab! I think Ambient (at least the most recent version, which I've just downloaded) has the bits I need to have success.
    About ARexx, I think I will need to start experimenting, I've never written a single line of code in this language, and its syntax has always looked pretty weird to me. Well, Installer syntax is even weirder!
  • »15.03.07 - 14:32
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    jcmarcos
    Posts: 1178 from 2003/3/13
    From: Pinto, Madrid ...
    I've already updated to Ambient "20070311", and I can't see that "merge URIs" option in the MIME action editor. Anyway, it's true that Ambient repeats exactly the action for every file.
    But... I still have issues. First of all, arguments are strangely put inside quotes, even if I've checked the option not to do so. For example, if the action consists of this AmigaDOS command:

    Code:
    COPY %sp TO RAM:%sf.bak


    If the source file is named wops.txt, the resulting file in RAM: is "wops.txt".bak. Strange...

    The second issue is that I'm unable to use the backquote (`) method in that AmigaDOS command. See, I want to ask for a filename in the command, like this:

    Code:
    COPY %sp TO `REQUESTFILE Drawer=RAM: SaveMode`


    I get an error that I don't remember exactly (sorry), but it's clear that the constructed string is no going into AmigaDOS exactly the way I want to. This last command works perfectly in a shell window, of course.
    I guess I need to learn ARexx... Which is a pity, because the action I want to do does not really need anything beside AmigaDOS.
  • »19.03.07 - 15:31
    Profile