Lasaqus Posted June 15, 2010 Posted June 15, 2010 Hi I have seen lots of code been posted into a smaller box with scrolling within forum messages How do I do this so i dont fill up the whole screen with code ? I tried clicking the buttong which looks like <> (Insert Code Snippet) when creating a new message but nothing happened Cheers
Moderators Melba23 Posted June 15, 2010 Moderators Posted June 15, 2010 Lasaqus,Put [autoit ] before and [/autoit ] after your posted code (but omit the trailing space - it is only there so the tags display here). Or press the blue button just under the BOLD toolbar button. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
kaotkbliss Posted June 15, 2010 Posted June 15, 2010 in my browser it shows up as the <> icon 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy!
Moderators Melba23 Posted June 15, 2010 Moderators Posted June 15, 2010 kaotkbliss,The <> icon inserts [code ][/code ]. You need the blue AutoIt button to get [autoit ][/autoit ].M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
darkjohn20 Posted June 15, 2010 Posted June 15, 2010 http://www.autoitscript.com/forum/public/style_images/autoit/rte_icons/rte-autoit-button.png
kaotkbliss Posted June 15, 2010 Posted June 15, 2010 kaotkbliss, The <> icon inserts [code ][/code ]. You need the blue AutoIt button to get [autoit ][/autoit ]. M23 Right, but it pretty much does the same thing, doesn't it? (I never used the [autoit ] tags) 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy!
Richard Robertson Posted June 15, 2010 Posted June 15, 2010 The code tag is plain text. The AutoIt tag adds highlighting and links to online documentation. ; Comments here MsgBox(0, "", "Strings here") If True Then MsgBox(0, "", "Keywords here") ; Comments here MsgBox(0, "", "Strings here") If True Then MsgBox(0, "", "Keywords here")
Authenticity Posted June 16, 2010 Posted June 16, 2010 Whatever you like:cout << "Hello World\n"<? $sStr = "Hello World"; echo $sStr ?>Local $sStr = "Hello World" ; woot <img src='http://www.autoitscript.com/forum/public/style_emoticons/<#EMO_DIR#>/smile.png' class='bbc_emoticon' alt=':)' /> colored variable names ConsoleWrite($sStr & @CRLF); Aligned |--- ---| |---=====---| |---+++++---| |---=====---| |--- ---| (\ /) (o.o) (")(")
Richard Robertson Posted June 16, 2010 Posted June 16, 2010 That's interesting. Why is there both an AutoIt tag and a Code=AutoIt tag? And further more, why are they different?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now