Ambient menu and commandtype
  • Order of the Butterfly
    Order of the Butterfly
    GMKai
    Posts: 239 from 2003/4/7
    Hello,

    when creating a menu via Arexx for Ambient there is this form:
    'menu add id="m1-1-1" parentid="m1-1-0" title="String" type=item command="PATH" commandtype=TYPE'

    where type can be AMIGADOS, WORKBENCH, INTERNAL.

    My question is: What effect does this selection have? What is the difference behind the TYPEs?
  • »25.06.10 - 10:17
    Profile
  • MorphOS Developer
    kiero
    Posts: 129 from 2003/2/28
    type selects how the command string is interpretted:
    internal - ambient internal rexx command. just like 'menu ...' or 'loaduri'.
    amigados - path to normal executable or script to be executed in dos mode (taking parameters in command line)
    workbench - similar to amigados but executes command in workbench mode (tooltypes from icon)
  • »25.06.10 - 10:48
    Profile Visit Website
  • Moderator
    hooligan
    Posts: 1935 from 2003/2/23
    From: Lahti, Finland
    After sites resurrection from death I can't delete spammers post or delete its account, live with it :)
    www.mikseri.net/hooligan <- Free music
  • »30.01.13 - 10:07
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    pampers
    Posts: 1055 from 2009/2/26
    From: Tczew, Poland
    Let's buy that Diablo, maybe he will give us a break then ;)
    MorphOS 3.x
  • »01.02.13 - 19:23
    Profile Visit Website