lib/menu.src.yml in markdown_exec-2.0.8.1 vs lib/menu.src.yml in markdown_exec-2.0.8.2
- old
+ new
@@ -231,12 +231,10 @@
:description: Hide all blocks of type "expect"
:env_var: MDE_EXCLUDE_EXPECT_BLOCKS
:opt_name: exclude_expect_blocks
:procname: val_as_bool
-# - :default: >
-# osascript scripts/applescript/mde.applescript "%{batch_index}" "%{home}" " %{started_at} - %{document_filename} - %{block_name} " "%{script_filespec}" "%{output_filespec}"
- :default: >
osascript -e '
on run argv
set batch_index to "%{batch_index}"
set home to "%{home}"
@@ -250,19 +248,22 @@
tell the current session
write text "s=" & quoted form of script_filespec & ""
write text "o=" & quoted form of output_filespec & ""
write text "cd " & quoted form of home & ""
write text "echo -ne \"\\033]; " & title & " \\007\""
- write text "\"$s\" 2>&1 | tee -a \"$o\""
+ write text "\"$s\" %{rest} 2>&1 | tee -a \"$o\""
end tell
end tell
end tell
end run'
:description: execute_command_format
:env_var: MDE_EXECUTE_COMMAND_FORMAT
:opt_name: execute_command_format
:procname: val_as_str
+# execute_command_format using a saved script
+# - :default: >
+# osascript scripts/applescript/mde.applescript "%{batch_index}" "%{home}" " %{started_at} - %{document_filename} - %{block_name} " "%{script_filespec}" "%{output_filespec}" %{rest}
- :default: "%T"
:description: Format for time in window title
:env_var: MDE_EXECUTE_COMMAND_TITLE_TIME_FORMAT
:opt_name: execute_command_title_time_format
@@ -1035,10 +1036,10 @@
:opt_name: runtime_exception_error_level
:procname: val_as_int
- :arg_name: BOOL
:default: false
- :description: Wheter to save an executed script`
+ :description: Whether to save an executed script
:env_var: MDE_SAVE_EXECUTED_SCRIPT
:opt_name: save_executed_script
:procname: val_as_bool
- :arg_name: BOOL