{"id":171159,"date":"2023-06-05T07:05:51","date_gmt":"2023-06-05T07:05:51","guid":{"rendered":"\/knowledge\/forums\/topic\/id-like-to-migrate-commands-from-my-journal-file-into-a-macro-for-example-ti-menu-load-string-dis-set-colors-background-black-the-tui-command-needs-black-in-quotes-this-breaks-the-sche\/"},"modified":"2023-07-31T12:30:09","modified_gmt":"2023-07-31T12:30:09","slug":"id-like-to-migrate-commands-from-my-journal-file-into-a-macro-for-example-ti-menu-load-string-dis-set-colors-background-black-the-tui-command-needs-black-in-quotes-this-breaks-the-sche","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/id-like-to-migrate-commands-from-my-journal-file-into-a-macro-for-example-ti-menu-load-string-dis-set-colors-background-black-the-tui-command-needs-black-in-quotes-this-breaks-the-sche\/","title":{"rendered":"I&#8217;d like to migrate commands from my journal file into a macro. For example:  (ti-menu-load-string &#8220;dis set colors background &#8220;black&#8221; &#8220;)  The TUI command needs &#8220;black&#8221; in quotes.  This breaks the scheme macro.  Is there a different syntax I should use?"},"content":{"rendered":"<p>You can use a back slash to be able to input double quotes as shown below:  (ti-menu-load-string (string-append &#8220;dis set colors foreground &#8221; &#8220;&#8221;&#8221; &#8220;&#8221;black&#8221;&#8221; &#8220;&#8221;&#8221;&#8221;&#8221;&#8221;))  The string append command allows us to combine the strings. &#8220;&#8221; allows us to transfer double quotes as a string. &#8220;<\/p>\n","protected":false},"template":"","class_list":["post-171159","topic","type-topic","status-publish","hentry","topic-tag-17-2","topic-tag-fluent","topic-tag-fluid-dynamics","topic-tag-general-fluent","topic-tag-scheme"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"_bbp_last_active_time":["2\/6\/2023 20:20"],"_bbp_forum_id":["27796"],"_bbp_author_ip":["209.182.204.162"],"_btv_view_count":["1032"],"siebel_km_number":["2046560"],"product_version":["17.2"],"km_published_date":["2017-01-23T00:00:00.000Z"],"family":["Fluid Dynamics"],"application_name":["FLUENT"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/171159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/171159\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=171159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}