Mini Kabibi Habibi
// Copyright 2023 Adobe Systems Incorporated
vBatch = 2890;
vSetPopupWidth = 250;
vLeftPathWidth = 300;
vpathWidth = 400;
vComponentWidth = 250;
zDialogTitle = '$$$/Dialog/CreateDroplet/Title=Create Droplet';
zSaveDropletIn = '$$$/Dialog/CreateDroplet/SaveDropletIn=Save Droplet In';
zActionCluster = '$$$/Dialog/Batch/ActionCluster=Play';
zAction = '$$$/Dialog/Batch/Action=&Action:';
zSet = '$$$/Dialog/Batch/Set=Se&t:';
zlogSaveAs = '$$$/Dialog/Droplet/LogSaveAs=&Save As...';
zChoose = '$$$/Dialog/Batch/Choose=&Choose...';
zChooseDestination = '$$$/Dialog/Batch/ChooseDestination=C&hoose...';
zOverrideSave = '$$$/Dialog/Batch/OverrideSave=O&verride Action ^[Save As^] Commands';
zOverrideOpen = '$$$/Dialog/Batch/OverrideOpen=Ove&rride Action ^[Open^] Commands';
zIncludeSub = '$$$/Dialog/Batch/IncludeSubfolders=&Include All Subfolders';
zNoOpenOptions = '$$$/Dialog/Batch/NoFileOptions=Suppress &File Open Options Dialogs';
zNoColorWarning = '$$$/Dialog/Batch/NoColorWarnings=Suppress Color &Profile Warnings';
zDestination = '$$$/Dialog/Batch/Destination=Destination:';
zFileNaming = '$$$/Dialog/Batch/FileNaming=File Naming';
zExample = '$$$/Dialog/Batch/Example=Example:';
zStartSerial = '$$$/Dialog/Batch/StartSerial=Starting Serial #:';
zCompatibility = '$$$/Dialog/Batch/Compatibility=Compatibility:';
zPlus = '$$$/Dialog/Batch/Plus= +';
zBlanks = '$$$/Dialog/Batch/Blanks= ';
zWindows = '$$$/Dialog/Batch/Windows=&Windows';
zMacOS = '$$$/Dialog/Batch/MacOS=&Mac OS';
zUnix = '$$$/Dialog/Batch/Unix=&Unix';
zErrors = '$$$/Dialog/CreateDroplet/Errors=&Errors:';
dialog(name: zDialogTitle, view_id: 'dlog', class_name: 'TCreateDropletDialog', show: true, placement: place_row, child_vertical: align_top, margin_top: 3, margin_bottom: 3) {
group(child_horizontal: align_fill, name: 'OKCancel', show: true, margin_top: gStaticTextHeight / 2) {
button(name: gOKString, horizontal: align_fill, view_id: 'ok ', show: true, dismiss: true,
default: true);
button(name: gCancelString, horizontal: align_fill, view_id: 'cncl', show: true, dismiss: true);
}
group(name: 'MainDialog', show: true, child_horizontal: align_fill) {
group(placement: place_row) {
group(placement: place_column) {
cluster(name: zSaveDropletIn, show: true, placement: place_column) {
button(name: zChoose, show: true, dismiss: false, view_id: 'sdch', tooltip: '$$$/CreateDroplet/ToolTip/ChooseName=Specify name and choose location for droplet file', dialogButton: false);
static_text(name: '', show: true, wincontrol: false, view_id: 'sdpt', width: vLeftPathWidth, tooltip: '$$$/CreateDroplet/ToolTip/CurrentName=File in which the droplet will be saved');
}
cluster(name: zActionCluster, show: true) {
popup(name: zSet, view_id: 'set ', show: true, resource_id: vBatch + 4, width: 250, tooltip: '$$$/CreateDroplet/ToolTip/Set=Choose the set which contains the action');
popup(name: zAction, view_id: 'actn', show: true, resource_id: vBatch + 1, width: 250, tooltip: '$$$/CreateDroplet/ToolTip/Action=Choose the action for the droplet');
check_box(name: zOverrideOpen, view_id: 'open', tooltip: '$$$/CreateDroplet/ToolTip/OverrideOpen=Use the source files when opening');
check_box(name: zIncludeSub, view_id: 'subd', tooltip: '$$$/CreateDroplet/ToolTip/IncludeSub=Droplet will process all folders and subfolders');
check_box(name: zNoOpenOptions, view_id: 'nofo', tooltip: '$$$/CreateDroplet/ToolTip/NoOpenOptions=Do not show file open options dialogs');
check_box(name: zNoColorWarning, view_id: 'nocl', tooltip: '$$$/CreateDroplet/ToolTip/NoColorWarn=Do not show color profile warnings');
}
popup_cluster(resource_id: vBatch + 5, name: zErrors, view_id: 'logp', tooltip: '$$$/CreateDroplet/ToolTip/Errors=Specify what to do when errors are encountered') {
group(horizontal: align_left, placement: place_column) {
button(name: zlogSaveAs, dismiss: false, view_id: 'lchs', tooltip: '$$$/CreateDroplet/ToolTip/ChooseLog=Specify name and choose location for error log file', dialogButton: false);
static_text(name: '', view_id: 'lpth', wincontrol: false, width: vLeftPathWidth, tooltip: '$$$/CreateDroplet/ToolTip/LogName=File in which the error log will be saved');
}
}
}
popup_cluster(resource_id: vBatch + 3, name: zDestination, show: true, view_id: 'dstm', tooltip: '$$$/CreateDroplet/ToolTip/DestinationPopup=Final destination of processed files') {
group() {
group(name: 'Choose Dest Group', placement: place_column) {
button(name: zChooseDestination, show: true, dismiss: false, view_id: 'dchs', tooltip: '$$$/CreateDroplet/ToolTip/ChooseDestinationName=Choose the folder to contain final files', dialogButton: false);
static_text(name: '', show: true, wincontrol: false, view_id: 'dpth', width: vLeftPathWidth, tooltip: '$$$/CreateDroplet/ToolTip/DestinationName=Folder in which final files will be saved');
}
check_box(name: zOverrideSave, show: true, view_id: 'save', tooltip: '$$$/CreateDroplet/ToolTip/OverrideSave=Override ^[save as^] action steps with destination specified here');
}
cluster(name: zFileNaming, show: true, view_id: 'flnm', class_name: 'TFileNamingCluster', tooltip: '$$$/CreateDroplet/ToolTip/FileNaming=Specify a rule for naming final files') {
static_text(name: zExample, show: true, view_id: 'exam', horizontal: align_fill, tooltip: '$$$/CreateDroplet/ToolTip/Example=An example of the current rule');
group(name: 'Popup Name Group', horizontal: align_fill) {
group(name: 'Name Group Row 1', spacing: gSmallGap, placement: place_row) {
edit_text(name: '', view_id: 'edt1', frame: true, max_chars: 60, width: vComponentWidth, tooltip: '$$$/CreateDroplet/ToolTip/NameText=Type specific text to be included in final file name');
popup(name: '', view_id: 'pop1', vertical: align_top, resource_id: vBatch + 6, tooltip: '$$$/CreateDroplet/ToolTip/NamePopup=Select a specific rule to be included in final file name');
static_text(name: zPlus, width: 16, view_id: 'pls1');
}
group(name: 'Name Group Row 1a', spacing: gSmallGap, placement: place_row) {
edit_text(name: '', view_id: 'edt2', frame: true, max_chars: 60, width: vComponentWidth, tooltip: '$$$/CreateDroplet/ToolTip/NameText=Type specific text to be included in final file name');
popup(name: '', view_id: 'pop2', vertical: align_top, resource_id: vBatch + 13, tooltip: '$$$/CreateDroplet/ToolTip/NamePopup=Select a specific rule to be included in final file name');
static_text(name: zPlus, width: 16, view_id: 'pls2');
}
group(name: 'Name Group Row 2', spacing: gSmallGap, placement: place_row) {
edit_text(name: '', view_id: 'edt3', frame: true, max_chars: 60, width: vComponentWidth, tooltip: '$$$/CreateDroplet/ToolTip/NameText=Type specific text to be included in final file name');
popup(name: '', view_id: 'pop3', vertical: align_top, resource_id: vBatch + 14, tooltip: '$$$/CreateDroplet/ToolTip/NamePopup=Select a specific rule to be included in final file name');
static_text(name: zPlus, width: 16, view_id: 'pls3');
}
group(name: 'Name Group Row 2a', spacing: gSmallGap, placement: place_row) {
edit_text(name: '', view_id: 'edt4', frame: true, max_chars: 60, width: vComponentWidth, tooltip: '$$$/CreateDroplet/ToolTip/NameText=Type specific text to be included in final file name');
popup(name: '', view_id: 'pop4', vertical: align_top, resource_id: vBatch + 15, tooltip: '$$$/CreateDroplet/ToolTip/NamePopup=Select a specific rule to be included in final file name');
static_text(name: zPlus, width: 16, view_id: 'pls4');
}
group(name: 'Name Group Row 3', spacing: gSmallGap, placement: place_row) {
edit_text(name: '', view_id: 'edt5', frame: true, max_chars: 60, width: vComponentWidth, tooltip: '$$$/CreateDroplet/ToolTip/NameText=Type specific text to be included in final file name');
popup(name: '', view_id: 'pop5', vertical: align_top, resource_id: vBatch + 16, tooltip: '$$$/CreateDroplet/ToolTip/NamePopup=Select a specific rule to be included in final file name');
static_text(name: zPlus, width: 16, view_id: 'pls5');
}
group(name: 'Name Group Row 3a', spacing: gSmallGap, placement: place_row) {
edit_text(name: '', view_id: 'edt6', frame: true, max_chars: 60, width: vComponentWidth, tooltip: '$$$/CreateDroplet/ToolTip/NameText=Type specific text to be included in final file name');
popup(name: '', view_id: 'pop6', vertical: align_top, resource_id: vBatch + 17, tooltip: '$$$/CreateDroplet/ToolTip/NamePopup=Select a specific rule to be included in final file name');
static_text(name: zBlanks, width: 16, view_id: 'pls6');
}
group(placement: place_row, horizontal: align_left) {
static_text(name: zStartSerial, view_id: 'snlb');
edit_text(class_name: 'TFixedPoint', width: 6 * max_digit_width(), view_id: 'snst', tooltip: '$$$/CreateDroplet/ToolTip/StartSerial=Starting value for serial numbers');
}
group(name: 'Compatibility Group', horizontal: align_left, placement: place_row) {
static_text(name: zCompatibility, view_id: 'cmpt');
check_box(name: zWindows, view_id: 'winc', tooltip: '$$$/CreateDroplet/ToolTip/Windows=Final file names will be Windows compatible');
check_box(name: zMacOS, view_id: 'macc', tooltip: '$$$/CreateDroplet/ToolTip/Mac=Final file names will be Mac OS compatible');
check_box(name: zUnix, view_id: 'unxc', tooltip: '$$$/CreateDroplet/ToolTip/Unix=Final file names will be Unix compatible');
}
}
}
}
}
}
}
// Footer - Copyright 2023 Adobe Systems Incorporated