Lasaqus 0 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 Share this post Link to post Share on other sites
Melba23 3,452 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 Share this post Link to post Share on other sites
kaotkbliss 146 Posted June 15, 2010 in my browser it shows up as the <> icon 010101000110100001101001011100110010000001101001011100110010000001101101011110010010000001110011011010010110011100100001My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueekWe're gonna need another Timmy! Share this post Link to post Share on other sites
Lasaqus 0 Posted June 15, 2010 Thanks for that i'll try it Share this post Link to post Share on other sites
Melba23 3,452 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 Share this post Link to post Share on other sites
darkjohn20 1 Posted June 15, 2010 http://www.autoitscript.com/forum/public/style_images/autoit/rte_icons/rte-autoit-button.png Share this post Link to post Share on other sites
kaotkbliss 146 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) 010101000110100001101001011100110010000001101001011100110010000001101101011110010010000001110011011010010110011100100001My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueekWe're gonna need another Timmy! Share this post Link to post Share on other sites
Richard Robertson 187 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") Share this post Link to post Share on other sites
Authenticity 13 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) (")(") Share this post Link to post Share on other sites
Richard Robertson 187 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? Share this post Link to post Share on other sites