Home Bounties Forums Library Downloads Links
 
 
 
/  Forum Index
   /  Scripting
/  Ambient menu and commandtype
Print Topic 
Ambient menu and commandtype

GMKai
# Ambient menu and commandtype
#
Order of the Butterfly

#
Joined: 2003/4/7
Posts: 215
From:

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?
»2010/6/25 11:17
Profile

kiero
# Re: Ambient menu and commandtype

MorphOS Developer

#
Joined: 2003/2/28
Posts: 112
From:

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)
»2010/6/25 11:48
Profile Visit Website
Print Topic 
«  Previous Topic  |  Next Topic  »

Permissions

You cannot post.
You cannot edit.
You cannot add polls.
You cannot attach files.
You cannot reply.
You cannot delete.
You cannot vote.
XML

 
MorphZone engine core provided by RunCMS ©1995 - 2007 RunCMS, Modifications ©2001 - 2009 MorphZone.
RunCms Copyright © 2002 - 2010
- Free Opensource CMS System - 
- Click here to visit our mainsite! -
Design By André Siegel