!###################################################################### !# !# dtcreate.ddf !# !# Dialog description file for the dtcreate client. !# !# Hewlett-Packard Visual User Environment !# !# Copyright (c) 1990 Hewlett-Packard Company !# !# $XConsortium: dtcreate.ddf /main/3 1995/11/01 16:12:22 rswiston $ !# !###################################################################### ! The dialogs defined in this file are used by dtcreate. To display ! the main Create Action dialog: ! 1) Open the General toolbox from the tools slide-up ! panel. ! 2) Open the Utilities container. ! 3) Double-click the CreateAction icon. ! ! In this block, localize title and helpTitle. If the online help has ! been localized, the helpLocation resource may also require localization. ! createAction.type: CustomFormDialog createAction.useApplicationShell: True createAction.title: %|nls-1-#Create Action#| createAction.helpTitle: %|nls-2-#Create Action - Help#| createAction.helpType: Topic createAction.helpVolume: Dtmisc createAction.helpLocation: ToUseMakeActionTA createAction.hasInitialFocus: name createAction.dialogButtons: apply,close,help createAction.subfields: \ nameLabel,name,\ commandLineLabel,commandLine,\ commandType,\ optLabel,sep1,sep2,\ promptLabel,prompt,\ largeIconLabel,largeIcon,\ smallIconLabel,smallIcon,\ descriptionLabel,description ! ! In this block, localize label. ! createAction.apply.label: %|nls-5-#Apply#| createAction.apply.isDefault: True createAction.apply.action: f.returnValues ! ! In this block, localize label. ! createAction.close.label: %|nls-6-#Close#| createAction.close.isDefault: False createAction.close.action: f.returnValues ! ! In this block, localize label. ! createAction.help.label: %|nls-7-#Help#| createAction.help.isDefault: False createAction.help.action: f.help ! ! In this block, localize label. ! createAction.nameLabel.type: LabelField createAction.nameLabel.topOffset: 20 createAction.nameLabel.leftOffset: 20 createAction.nameLabel.topAttachment: XmATTACH_FORM createAction.nameLabel.leftAttachment: XmATTACH_FORM createAction.nameLabel.label: %|nls-10-#Name:#| createAction.name.type: TextField createAction.name.crMovesToNextTextField: True createAction.name.topAttachment: XmATTACH_OPPOSITE_WIDGET createAction.name.topWidget: nameLabel createAction.name.topOffset: -7 createAction.name.leftAttachment: XmATTACH_WIDGET createAction.name.leftWidget: nameLabel createAction.name.leftOffset: 10 createAction.name.rightAttachment: XmATTACH_FORM createAction.name.rightOffset: 10 ! ! In this block, localize label. ! createAction.commandLineLabel.type: LabelField createAction.commandLineLabel.topOffset: 20 createAction.commandLineLabel.leftOffset: 20 createAction.commandLineLabel.topAttachment: XmATTACH_WIDGET createAction.commandLineLabel.topWidget: nameLabel createAction.commandLineLabel.leftAttachment: XmATTACH_FORM createAction.commandLineLabel.label: %|nls-11-#Command Line:#| createAction.commandLine.type: TextField createAction.commandLine.crMovesToNextTextField: True createAction.commandLine.lines: 1 createAction.commandLine.topAttachment: XmATTACH_WIDGET createAction.commandLine.topWidget: commandLineLabel createAction.commandLine.topOffset: 5 createAction.commandLine.leftAttachment: XmATTACH_FORM createAction.commandLine.leftOffset: 40 createAction.commandLine.rightAttachment: XmATTACH_FORM createAction.commandLine.rightOffset: 10 ! ! In this block, localize label, xWin.label, noOut.label, ! term.label, and termClose.label ! createAction.commandType.type: OptionMenuField createAction.commandType.topAttachment: XmATTACH_WIDGET createAction.commandType.topWidget: commandLine createAction.commandType.topOffset: 20 createAction.commandType.leftAttachment: XmATTACH_FORM createAction.commandType.leftOffset: 20 createAction.commandType.rightAttachment: XmATTACH_FORM createAction.commandType.rightOffset: 10 createAction.commandType.label: %|nls-12-#Window Type:#| createAction.commandType.options: xWin,noOut,term,termClose createAction.commandType.xWin.label: %|nls-13-#X Windows#| createAction.commandType.noOut.label: %|nls-14-#No Output#| createAction.commandType.term.label: %|nls-15-#Terminal#| createAction.commandType.termClose.label: %|nls-16-#Terminal (auto-close)#| createAction.commandType.active: term createAction.commandType.spacing: 35 ! ! In this block, localize label ! createAction.optLabel.type: LabelField createAction.optLabel.topOffset: 30 createAction.optLabel.leftOffset: 100 createAction.optLabel.topAttachment: XmATTACH_WIDGET createAction.optLabel.topWidget: commandType createAction.optLabel.leftAttachment: XmATTACH_FORM createAction.optLabel.label: %|nls-17-#Optional Fields#| createAction.sep1.type: SeparatorField createAction.sep1.orientation: Horizontal createAction.sep1.separatorType: SHADOW_ETCHED_OUT createAction.sep1.topAttachment: XmATTACH_OPPOSITE_WIDGET createAction.sep1.topWidget: optLabel createAction.sep1.topOffset: 10 createAction.sep1.leftAttachment: XmATTACH_FORM createAction.sep1.rightAttachment: XmATTACH_WIDGET createAction.sep1.rightWidget: optLabel createAction.sep1.rightOffset: 5 createAction.sep2.type: SeparatorField createAction.sep2.orientation: Horizontal createAction.sep2.separatorType: SHADOW_ETCHED_OUT createAction.sep2.topAttachment: XmATTACH_OPPOSITE_WIDGET createAction.sep2.topWidget: optLabel createAction.sep2.topOffset: 10 createAction.sep2.leftAttachment: XmATTACH_WIDGET createAction.sep2.leftWidget: optLabel createAction.sep2.leftOffset: 5 createAction.sep2.rightAttachment: XmATTACH_FORM ! ! In this block, localize label ! createAction.promptLabel.type: LabelField createAction.promptLabel.topOffset: 20 createAction.promptLabel.leftOffset: 20 createAction.promptLabel.topAttachment: XmATTACH_WIDGET createAction.promptLabel.topWidget: optLabel createAction.promptLabel.leftAttachment: XmATTACH_FORM createAction.promptLabel.label: %|nls-18-#Filename Prompt:#| createAction.prompt.type: TextField createAction.prompt.crMovesToNextTextField: True createAction.prompt.lines: 1 createAction.prompt.topAttachment: XmATTACH_WIDGET createAction.prompt.topWidget: promptLabel createAction.prompt.topOffset: 5 createAction.prompt.leftAttachment: XmATTACH_FORM createAction.prompt.leftOffset: 40 createAction.prompt.rightAttachment: XmATTACH_FORM createAction.prompt.rightOffset: 10 ! ! In this block, localize label ! createAction.largeIconLabel.type: LabelField createAction.largeIconLabel.topOffset: 30 createAction.largeIconLabel.leftOffset: 20 createAction.largeIconLabel.topAttachment: XmATTACH_WIDGET createAction.largeIconLabel.topWidget: prompt createAction.largeIconLabel.leftAttachment: XmATTACH_FORM createAction.largeIconLabel.label: %|nls-19-#Large Icon:#| createAction.largeIcon.type: TextField createAction.largeIcon.crMovesToNextTextField: True createAction.largeIcon.topAttachment: XmATTACH_OPPOSITE_WIDGET createAction.largeIcon.topWidget: largeIconLabel createAction.largeIcon.topOffset: -7 createAction.largeIcon.leftAttachment: XmATTACH_WIDGET createAction.largeIcon.leftWidget: largeIconLabel createAction.largeIcon.leftOffset: 20 createAction.largeIcon.rightAttachment: XmATTACH_FORM createAction.largeIcon.rightOffset: 10 ! ! In this block, localize label ! createAction.smallIconLabel.type: LabelField createAction.smallIconLabel.topOffset: 20 createAction.smallIconLabel.leftOffset: 20 createAction.smallIconLabel.topAttachment: XmATTACH_WIDGET createAction.smallIconLabel.topWidget: largeIconLabel createAction.smallIconLabel.leftAttachment: XmATTACH_FORM createAction.smallIconLabel.label: %|nls-20-#Small Icon:#| createAction.smallIcon.type: TextField createAction.smallIcon.topAttachment: XmATTACH_OPPOSITE_WIDGET createAction.smallIcon.topWidget: smallIconLabel createAction.smallIcon.topOffset: -7 createAction.smallIcon.leftAttachment: XmATTACH_OPPOSITE_WIDGET createAction.smallIcon.leftWidget: largeIcon createAction.smallIcon.rightAttachment: XmATTACH_FORM createAction.smallIcon.rightOffset: 10 ! ! In this block, localize label ! createAction.descriptionLabel.type: LabelField createAction.descriptionLabel.topOffset: 20 createAction.descriptionLabel.leftOffset: 20 createAction.descriptionLabel.topAttachment: XmATTACH_WIDGET createAction.descriptionLabel.topWidget: smallIconLabel createAction.descriptionLabel.leftAttachment: XmATTACH_FORM createAction.descriptionLabel.label: %|nls-21-#Description:#| createAction.description.type: TextField createAction.description.lines: 4 createAction.description.topAttachment: XmATTACH_WIDGET createAction.description.topWidget: descriptionLabel createAction.description.topOffset: 5 createAction.description.leftAttachment: XmATTACH_FORM createAction.description.leftOffset: 40 createAction.description.rightAttachment: XmATTACH_FORM createAction.description.rightOffset: 10 createAction.description.bottomAttachment: XmATTACH_FORM createAction.description.bottomOffset: 20 ! ! To display this dialog: ! 1. Run CreateAction ! 2. Type something in the 'Command Line:' field but not ! the 'Name:' field. ! 3. Press 'OK' ! ! In this block, localize title, ok.label, and message. ! noName.type: ErrorDialog noName.title: %|nls-3-#Create Action - Error#| noName.helpTitle: %|nls-2-#Create Action - Help#| noName.helpType: Topic noName.helpVolume: Dtmisc noName.helpLocation: ToUseMakeActionTA noName.dialogButtons: ok noName.ok.label: %|nls-8-#OK#| noName.ok.isDefault: True noName.ok.action: f.unpost noName.message: %|nls-22-#You must supply a name....#| ! ! To display this dialog: ! 1. Run CreateAction ! 2. Type something in the 'Name:' field but not ! the 'Command Line:' field. ! 3. Press 'OK' ! ! In this block, localize title, ok.label, and message. ! noExecString.type: ErrorDialog noExecString.title: %|nls-3-#Create Action - Error#| noExecString.helpTitle: %|nls-2-#Create Action - Help#| noExecString.helpType: Topic noExecString.helpVolume: Dtmisc noExecString.helpLocation: ToUseMakeActionTA noExecString.dialogButtons: ok noExecString.ok.label: %|nls-8-#OK#| noExecString.ok.isDefault: True noExecString.ok.action: f.unpost noExecString.message: %|nls-23-#You must supply a command....#| ! ! To display this dialog: ! 1. Run CreateAction ! 2. Do not type in anything ! 3. Press 'OK' ! ! In this block, localize title, ok.label, and message. ! noNameOrExec.type: ErrorDialog noNameOrExec.title: %|nls-3-#Create Action - Error#| noNameOrExec.helpTitle: %|nls-2-#Create Action - Help#| noNameOrExec.helpType: Topic noNameOrExec.helpVolume: Dtmisc noNameOrExec.helpLocation: ToUseMakeActionTA noNameOrExec.dialogButtons: ok noNameOrExec.ok.label: %|nls-8-#OK#| noNameOrExec.ok.isDefault: True noNameOrExec.ok.action: f.unpost noNameOrExec.message: \ %|nls-24-#You must supply a name and....#| ! ! To display this dialog: ! 1. Run CreateAction ! 2. Type something in the 'Name:' field that contains ! a blank ! 3. Press 'OK' ! ! In this block, localize title, ok.label, and message. ! foundBlank.type: ErrorDialog foundBlank.title: %|nls-3-#Create Action - Error#| foundBlank.helpTitle: %|nls-2-#Create Action - Help#| foundBlank.helpType: Topic foundBlank.helpVolume: Dtmisc foundBlank.helpLocation: ToUseMakeActionTA foundBlank.dialogButtons: ok foundBlank.ok.label: %|nls-8-#OK#| foundBlank.ok.isDefault: True foundBlank.ok.action: f.unpost foundBlank.message: %|nls-25-#The action name....#| ! ! To display this dialog: ! 1. Run CreateAction ! 2. Type something longer than 11 characters in the 'Name:' field. ! 3. Type something in the 'Command Line:' field. ! 4. Press 'OK' ! ! In this block, localize title, ok.label, cancel.label, and message. ! longName.type: WarningDialog longName.title: %|nls-4-#Create Action - Warning#| longName.helpTitle: %|nls-2-#Create Action - Help#| longName.helpType: Topic longName.helpVolume: Dtmisc longName.helpLocation: ToUseMakeActionTA longName.dialogButtons: ok,cancel longName.ok.label: %|nls-8-#OK#| longName.ok.isDefault: True longName.ok.action: f.unpost longName.cancel.label: %|nls-9-#Cancel#| longName.cancel.action: f.unpost longName.message: \ %|nls-26-#The following action name....#| ! ! To display this dialog: ! 1. Run CreateAction ! 2. Fill out the 'Name:' field. ! 3. Type 'foo | bar' in the 'Command Line:' field. ! 4. Press 'OK' ! ! In this block, localize title, ok.label, and message. ! needShell.type: ErrorDialog needShell.title: %|nls-3-#Create Action - Error#| needShell.helpTitle: %|nls-2-#Create Action - Help#| needShell.helpType: Topic needShell.helpVolume: Dtmisc needShell.helpLocation: ToUseMakeActionTA needShell.dialogButtons: ok needShell.ok.label: %|nls-8-#OK#| needShell.ok.isDefault: True needShell.ok.action: f.unpost needShell.message: \ %|nls-27-#The command line for your....#| ! ! To display this dialog: ! 1. Run CreateAction ! 2. Fill out the 'Name:' field. ! 3. Type 'echo $*' in the 'Command Line:' field. ! 4. Type 'Quote "' in the 'Filename Prompt:' field. ! 5. Press 'OK' ! ! In this block, localize title, ok.label, and message. ! promptQuote.type: ErrorDialog promptQuote.title: %|nls-3-#Create Action - Error#| promptQuote.helpTitle: %|nls-2-#Create Action - Help#| promptQuote.helpType: Topic promptQuote.helpVolume: Dtmisc promptQuote.helpLocation: ToUseMakeActionTA promptQuote.dialogButtons: ok promptQuote.ok.label: %|nls-8-#OK#| promptQuote.ok.isDefault: True promptQuote.ok.action: f.unpost promptQuote.message: \ %|nls-28-#The 'Filename Prompt:' field....#| ! ! To display this dialog: ! 1. Run CreateAction ! 2. Fill out the 'Name:' field. ! 3. Type 'echo hi' in the 'Command Line:' field. ! 4. Type 'Filename:' in the 'Filename Prompt:' field. ! 5. Press 'OK' ! ! In this block, localize title, ok.label, and message. ! unusedPrompt.type: ErrorDialog unusedPrompt.title: %|nls-3-#Create Action - Error#| unusedPrompt.helpTitle: %|nls-2-#Create Action - Help#| unusedPrompt.helpType: Topic unusedPrompt.helpVolume: Dtmisc unusedPrompt.helpLocation: ToUseMakeActionTA unusedPrompt.dialogButtons: ok unusedPrompt.ok.label: %|nls-8-#OK#| unusedPrompt.ok.isDefault: True unusedPrompt.ok.action: f.unpost unusedPrompt.message: \ %|nls-29-#The cmd line must use....#| ! ! To display this dialog: ! 1. Touch $HOME/.dt/types/test.vf ! 2. chmod 444 $HOME/.dt/types/test.vf ! 3. Run CreateAction ! 4. Type 'test' in the 'Name:' field. ! 5. Type 'echo hi' in the 'Command Line:' field. ! 6. Press 'OK' ! ! In this block, localize title, ok.label, and message ! notWritable.type: ErrorDialog notWritable.title: %|nls-3-#Create Action - Error#| notWritable.helpTitle: %|nls-2-#Create Action - Help#| notWritable.helpType: Topic notWritable.helpVolume: Dtmisc notWritable.helpLocation: ToUseMakeActionTA notWritable.dialogButtons: ok notWritable.ok.label: %|nls-8-#OK#| notWritable.ok.isDefault: True notWritable.ok.action: f.unpost notWritable.message: \ %|nls-30-#The following action definition....#| ! ! To display this dialog: ! 1. rm $HOME/.dt/types/test.vf $HOME/.dt/types/tools/test ! 2. Run CreateAction ! 3. Type 'test' in the 'Name:' field. ! 4. Type 'echo hi' in the 'Command Line:' field. ! 5. Press 'OK' ! ! In this block, localize title, ok.label, and message. ! actionExists.type: InformationDialog actionExists.title: %|nls-1-#Create Action#| actionExists.helpTitle: %|nls-2-#Create Action - Help#| actionExists.helpType: Topic actionExists.helpVolume: Dtmisc actionExists.helpLocation: ToUseMakeActionTA actionExists.dialogButtons: ok actionExists.ok.label: %|nls-8-#OK#| actionExists.ok.isDefault: True actionExists.ok.action: f.unpost actionExists.message: \ %|nls-32-#You have defined....#|\ \n\ %|nls-33-#If you are running....#| ! ! To display this dialog: ! 1. rm $HOME/.dt/types/test.vf ! 2. touch $HOME/.dt/types/tools/test ! 3. chmod 444 $HOME/.dt/types/tools/test ! 4. Run CreateAction ! 5. Type 'test' in the 'Name:' field. ! 6. Type 'echo hi' in the 'Command Line:' field. ! 7. Press 'OK' ! ! In this block, localize title, ok.label, and message ! actionDoesntExist.type: InformationDialog actionDoesntExist.title: %|nls-1-#Create Action#| actionDoesntExist.helpTitle: %|nls-2-#Create Action - Help#| actionDoesntExist.helpType: Topic actionDoesntExist.helpVolume: Dtmisc actionDoesntExist.helpLocation: ToUseMakeActionTA actionDoesntExist.dialogButtons: ok actionDoesntExist.ok.label: %|nls-8-#OK#| actionDoesntExist.ok.isDefault: True actionDoesntExist.ok.action: f.unpost actionDoesntExist.message: \ %|nls-32-#You have defined....#|\ \n\ %|nls-31-#An icon for this action....#|