![]() ![]() For example, BARTG contesters use HM, but in other circumstances a user might prefer H:M or H.M etc. You can use to create custom date/time entries. Here is a really cool perl script, Google Earth Mapping, that accepts the current "Loc" field in the logging area and generates a Google Earth map which is displayed in your default browser. The matching macro key definition for the above is: $FLDIGI_LOG_CALL Here is a perl script that performs the above for the University of Arkansas on-line callsign database, ualr-telnet. Fldigi will accept that output, parse it and populate the associated log entries. This means that you can create a script that accesses a local or net based database of callsign data and parse that data to form the above console output. If either $NAME or $QTH is present the trailing text is transferred to the LOG_NAME or LOG_QTH widgets respectively. ![]() The command captures returned text from the external process and parses it for the following content: You can "fork and forget" with an exec macro defined as: exec command -args >/dev/nullĪny of the text that appears between the and can reference an executable program or shell command found in the ~/.fldigi/scripts directory.Īny text output that is returned by the program or script program (or the result of the in-line command) is always returned to the transmit buffer and appears as appended to the transmit window. īy wrapping the command output in this way we can be sure that no text will be expanded. For example, would only expand the second. The and macros stop and resume the expansion of all strings. There are three additional MACRO definitions that expand the capability of the command:, and. Instead of command, you would use noexp command where noexp is the following very simple script: snip. This may have some interesting uses but, if it is undesirable, it can be suppressed with an extra layer of redirection. The EXEC macro allows the text that is read from the child process to be parsed for more fldigi macros. In anticipation of a collection of useful "fldigi scripts", the macro browser contains a macro line for each executable file found in the scripts directory. All of the exported variables will be shown in the transmit window.Īll of the above envelope variables can be referenced in a shell script that is called from within fldigi. ![]() Open the macro editor for an undefined macro key and enter the following: This is the directory location for all executable scripts and programs which you might want to call from within the macro. Consider all that the following allows you to do from within fldigi and you might want to consider changing over to Linux.The macro defines an external child process (or processes) that will be called by fldigi when the macro key is invoked.įldigi exports a set of variables to the child process and adds ~/.fldigi/scripts to the PATH variable before running the shell code. Windows' version of file pipes is not fully POSIX compliant, but the function might work in the environment. macro is designed to be used on the Linux OS as it supports fully functional pipes. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |