6105 Posted March 5, 2012 Share Posted March 5, 2012 Hello, have autoit some posibility to write multiple lines in one? Code: $Close = GUICtrlCreateLabel("X", $Width - 15, 0, 11, 20) GUICtrlSetFont(-1, 10, 800, 0, "Comic Sans MS") GUICtrlSetColor(-1, 0xFFFFFF) GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) GUICtrlSetCursor(-1, 0) $About = GUICtrlCreateLabel("?", $Width - 30, 0, 11, 20) GUICtrlSetFont(-1, 10, 800, 0, "Comic Sans MS") GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) GUICtrlSetColor(-1, 0xFFFFFF) GUICtrlSetCursor(-1, 0) $Other = GUICtrlCreateLabel("+", $Width - 45, 0, 11, 20) GUICtrlSetFont(-1, 10, 800, 0, "Comic Sans MS") GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) GUICtrlSetColor(-1, 0xFFFFFF) GUICtrlSetCursor(-1, 0) I want it to be something like: $Close = GUICtrlCreateLabel("X", $Width - 15, 0, 11, 20) GUICtrlSetFont(-1, 10, 800, 0, "Comic Sans MS") . GUICtrlSetColor(-1, 0xFFFFFF) GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) . GUICtrlSetCursor(-1, 0) $About = GUICtrlCreateLabel("?", $Width - 30, 0, 11, 20) GUICtrlSetFont(-1, 10, 800, 0, "Comic Sans MS") . GUICtrlSetColor(-1, 0xFFFFFF) GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) . GUICtrlSetCursor(-1, 0) $Other = GUICtrlCreateLabel("+", $Width - 45, 0, 11, 20) GUICtrlSetFont(-1, 10, 800, 0, "Comic Sans MS") . GUICtrlSetColor(-1, 0xFFFFFF) GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) . GUICtrlSetCursor(-1, 0) [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 5, 2012 Moderators Share Posted March 5, 2012 6105, No. 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 Link to comment Share on other sites More sharing options...
DW1 Posted March 5, 2012 Share Posted March 5, 2012 (edited) I would recommend just using a blank line between each control if you are doing this just for organization. There is no good way to put all of those on the same line. That being said, here is one of the "no good" ways: $Close = GUICtrlCreateLabel("X", $Width - 15, 0, 11, 20) If GUICtrlSetFont(-1, 10, 800, 0, "Comic Sans MS") And GUICtrlSetColor(-1, 0xFFFFFF) And GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) And GUICtrlSetCursor(-1, 0) Then ConsoleWrite('') $About = GUICtrlCreateLabel("?", $Width - 30, 0, 11, 20) If GUICtrlSetFont(-1, 10, 800, 0, "Comic Sans MS") And GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) And GUICtrlSetColor(-1, 0xFFFFFF) And GUICtrlSetCursor(-1, 0) Then ConsoleWrite('') $Other = GUICtrlCreateLabel("+", $Width - 45, 0, 11, 20) If GUICtrlSetFont(-1, 10, 800, 0, "Comic Sans MS") And GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) And GUICtrlSetColor(-1, 0xFFFFFF) And GUICtrlSetCursor(-1, 0) Then ConsoleWrite('') EDIT: Melba23 posted while I was writing this. His answer is best. Don't try to put them all on the same line Edited March 5, 2012 by danwilli 6105 1 AutoIt3 Online Help Link to comment Share on other sites More sharing options...
6105 Posted March 5, 2012 Author Share Posted March 5, 2012 (edited) EDIT: Melba23 posted while I was writing this. His answer is best. Don't try to put them all on the same lineNo.Thank you so much for your replay.How to close topic? Edited March 5, 2012 by 6105 [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] Link to comment Share on other sites More sharing options...
Developers Jos Posted March 5, 2012 Developers Share Posted March 5, 2012 (edited) How to close topic?so you have 194 posts and it still isn't clear to you that we only close topics when we feel you have created a thread which goes against our policies? Edited March 5, 2012 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
kylomas Posted March 5, 2012 Share Posted March 5, 2012 @danwilli, You don't really do that , do you? kylomas Forum Rules Procedure for posting code "I like pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals." - Sir Winston Churchill Link to comment Share on other sites More sharing options...
guinness Posted March 5, 2012 Share Posted March 5, 2012 @danwilli,You don't really do that , do you? kylomasIf I have a lot of controls I would think about using an array and a for loop to create the controls instead of 'hardcoding' them. UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
kylomas Posted March 5, 2012 Share Posted March 5, 2012 @guiness, Yes, I was poking fun at danwilli. I don't know how to make the smiley's work or I would have put one at the end. kylomas Forum Rules Procedure for posting code "I like pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals." - Sir Winston Churchill Link to comment Share on other sites More sharing options...
DW1 Posted March 5, 2012 Share Posted March 5, 2012 @danwilli,You don't really do that , do you? kylomasHaha, no, I do not. Was just showing a way to accomplish the OP's request. LOL AutoIt3 Online Help Link to comment Share on other sites More sharing options...
guinness Posted March 5, 2012 Share Posted March 5, 2012 @guiness,Yes, I was poking fun at danwilli. I don't know how to make the smiley's work or I would have put one at the end.kylomasI understood your intentions no need to worry. UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
Blue_Drache Posted March 5, 2012 Share Posted March 5, 2012 (edited) so you have 194 posts and it still isn't clear to you that we only close topics when we feel you have created a thread which goes against our policies?Of those 194 posts, he's got what ... 4 3 locked topics? Quality individual, IMO.Edit: Corrected a number. Edited March 5, 2012 by Blue_Drache Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
Developers Jos Posted March 5, 2012 Developers Share Posted March 5, 2012 Of those 194 posts, he's got what ... 4 3 locked topics? Quality individual, IMO.I know and this was the sole reason for me replying to this. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
JohnQSmith Posted March 5, 2012 Share Posted March 5, 2012 (edited) Of those 194 posts, he's got what ... 4 3 locked topics? Quality individual, IMO.And those locks were just in the last 4 days.Edit: Actually, Blue_Drache, you were correct in your first count. I found another...how to do capcha detector?in General Help and Support Started by 6105, 14 Jul 2009 Last Post by Jos, 14 Jul 2009 Edited March 5, 2012 by JohnQSmith Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes". Link to comment Share on other sites More sharing options...
6105 Posted March 5, 2012 Author Share Posted March 5, 2012 (edited) so you have 194 posts and it still isn't clear to you that we only close topics when we feel you have created a thread which goes against our policies?Hey guys... i just want to know how to close topic.. coz i have find the answer..now we know how to use more commands in the same line, and when somebodywill google this question or will try to find on forum.. they will find.. but rest of your talk is offtopic..only reason to close it, that is to store question and answer. Well.. thank you all.And yes, i have many blocked topics.. i have opened topics with captcha solver and keyloggers.. but all of they are already deleted with the sources.. i know that all my activity is ilegit.. but all my apps i use just on my PC and just for me and games or sites what i use.. I don't do spam or any bad activity for any other peoples.. just for me.Thank you.. all the best. Edited March 5, 2012 by 6105 [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] Link to comment Share on other sites More sharing options...
Developers Jos Posted March 5, 2012 Developers Share Posted March 5, 2012 .. but rest of your talk is offtopic..only reason to close it, that is to store question and answer. Well.. thank you all.Not yours to judge and again: We do not close topics when they are answered, only when the are in violation with our rules like you had multiple times! SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
6105 Posted March 5, 2012 Author Share Posted March 5, 2012 (edited) Not yours to judge and again:We do not close topics when they are answered, only when the are in violation with our rules like you had multiple times!Oh in this case me scuse .. coz i'm also part of another forum... where all answered questions with correct answer is closed, to stop offtopics. And for all new questions need to create new topic. Thanks for update.. Edited March 5, 2012 by 6105 [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 5, 2012 Moderators Share Posted March 5, 2012 6105,i know that all my activity is ilegit.. but all my apps i use just on my PC and just for me and games or sites what i use.. I don't do spam or any bad activity for any other peoples.. just for me.But do you not realise that anything you post here - and the help you get from those who do not realise quite what you are up to - can be also read by those who might well use it for "bad activity"? I have already warned you earlier today about the number of times you have appeared on the Mod's radar. Either you stop asking questions about things which are forbidden by the Forum Rules or you will be removed from the Autoit community. We do not want the kind of script you seem to want to write in this forum. This is your last warning! M23Edit: And we can see that you edited your post as well - not a sign of good intentions. BigDod 1 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 Link to comment Share on other sites More sharing options...
6105 Posted March 5, 2012 Author Share Posted March 5, 2012 I'm so sorry M23, i'll try to be more useful in future. [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center] Link to comment Share on other sites More sharing options...
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