ExecARexxString "OPTIONS RESULTS; GetFilePath; ADDRESS FILEREXX; 'GetFile TITLE=*"Select File to insert...*" FILE='||Result; ADDRESS; IF Result~='' THEN DO; 'OpenClip' Result; IF RC = 0 THEN 'PasteClip'; END"
/** Save File **/
ExecARexxString "OPTIONS RESULTS; GetFilePath; IF (RIGHT(Result,LENGTH(Result)-(LASTPOS('/',Result))))='' THEN DO; ADDRESS FILEREXX; 'GetFileSave'; ADDRESS; IF Result~='' THEN 'SetFilePath' Result; END; 'SaveFile'"
/** Save File As **/
ExecARexxString "OPTIONS RESULTS; GetFilePath; ADDRESS FILEREXX; 'GetFileSave TITLE=*"Save File As...*" FILE='||Result; ADDRESS; IF Result~='' THEN DO; 'SetFilePath' Result; 'SaveFile'; END"
/** Save Clip **/
ExecARexxString "OPTIONS RESULTS; GetFilePath; ADDRESS FILEREXX; 'GetFileSave TITLE=*"Save Clip as...*" FILE='||Result; ADDRESS; IF Result~='' THEN SaveClip *"NOBACKUP*" Result"
/** Open New Definition-File **/
ExecARexxString "OPTIONS RESULTS; name='S:Support/TTX_Startup.dfn'; ADDRESS FILEREXX; 'GetFile PAT=#?.dfn TITLE=*"Select new Definition-File...*" FILE='||name; ADDRESS; IF Result~='' THEN 'OpenDefinitions' Result"
/** Execute ARexx-Macro --- !!! Doesn't work know !!! **/
ExecARexxString "OPTIONS RESULTS; name='REXX:Documentize.ttx'; ADDRESS FILEREXX; 'GetFile PAT=#?.ttx TITLE=*"Execute an ARexxMacro...*" FILE='||name; ADDRESS; IF Result~='' THEN 'ExecARexxMacro' Result"
/** Open TTX-Macro **/
ExecARexxString "OPTIONS RESULTS; name='S:Macros/'; ADDRESS FILEREXX; 'GetFile PAT=#?.mac TITLE=*"Open an Macro-File...*" FILE='||name; ADDRESS; IF Result~='' THEN OpenMacro Result"
/** Save TTX-Macro **/
ExecARexxString "OPTIONS RESULTS; name='S:Macros/'; ADDRESS FILEREXX; 'GetFileSave PAT=#?.mac TITLE=*"Save an Macro-File...*" FILE='||name; ADDRESS; IF Result~='' THEN 'SaveMacro' Result"
/** Open New Preferences-File **/
ExecARexxString "OPTIONS RESULTS; name='S:Support/TTX_Startup.prf'; ADDRESS FILEREXX; 'GetFile PAT=#?.prf TITLE=*"Open an Prefs-File...*" FILE='||name; ADDRESS; IF Result~='' THEN 'OpenPrefs' Result"
/** Save Preferences As **/
ExecARexxString "OPTIONS RESULTS; name='S:Support/TTX_Startup.prf'; ADDRESS FILEREXX; 'GetFileSave PAT=#?.prf TITLE=*"Save an Prefs-File...*" FILE='||name; ADDRESS; IF Result~='' THEN 'SavePrefs' Result"