Look at all those icons there.
“[AppleScript] Which one lets me mark text as APPLESCRIPT CODE? Or do we not do that here?[/AppleScript][/Applescript]”
Well, neither of those attempts worked.
I think, folks, that if I can’t even figure out where to post a question, or how to identify my problem script as code, I’d better just go back to MacScripter where those things are easy as pie. Just don’t understand this forum. None of the most common actions are ever in the list of icons.
This forum, like many (or even most) of those supporting macOS applications (OmniGroup, DEVONthink, TaskPaper, Tinderbox etc etc) use the Discourse.org forum software, in which Markdown markup can be used by default.
The tag icon in discourse software edit field toolbars gives you one Markdown convention for displaying code (four space indents on every line), and another is the ‘fenced’ code markup between triple backticks (optionally with a language name after the first 3 backticks, to specify syntax highlighting)
-- Several lines
-- of applescript
-- can go here
Justin, welcome to the Late Night Software forum! I’m not a moderator or anything – just another user like you. Although it is obviously focused on support for Script Debugger, Mark and Shane seem to welcome all questions about AppleScript.
Things are only easy as pie once you know how to do them. At some point early on, you, and all of us, had to learn how to post in MacScripter.
But I have to share with you that the software this forum uses (Discourse.org) is far superior to just about any other forum I have ever used. With just a bit of patience and learning, you will learn to use and like it here.
You’ve already been shown how to put AppleScript in a Forum Code Block, but it also supports many other languages. For more info, see Using Discourse Code Blocks.
Finally you may want to read this guide. Although somewhat specific to the Discourse Meta Forum, it generally applies to all forums that use the Discourse software: