alfianpradana Posted August 16, 2013 Share Posted August 16, 2013 sorry, I am a beginner in this. what I want is to fill the inputbox and the words that exist in the inputbox out in an application. script please explain to me .... and I mean like the picture below click to see the image http://prntscr.com/1ljbkx Link to comment Share on other sites More sharing options...
JohnOne Posted August 16, 2013 Share Posted August 16, 2013 (edited) You made a second account for this, seriously? '?do=embed' frameborder='0' data-embedContent>> Edited August 16, 2013 by JohnOne AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
alfianpradana Posted August 16, 2013 Author Share Posted August 16, 2013 i'm sorry sir , that isn't my account . i swear but thank's for your attention Link to comment Share on other sites More sharing options...
DW1 Posted August 16, 2013 Share Posted August 16, 2013 I have my doubts as to that not being your account, but that aside (since that's for a mod to look in to), this is all very possible in AutoIt. Look in to GUICtrlRead() and ControlSetText(). That being said, why not just provide BitVise to the user? I ask because I don't like people writing unnecessary wrappers around other peoples work, as it usually appears as if you are trying to pass off somebodies work as your own. Typically you only see a wrapper like this for command line utilities or when you are trying to consolidate multiple utilities in to 1. Even at that, make sure to give credit to BitVise. Sorry for going off about this but I'm interested to hear WHY you are trying to do this. AutoIt3 Online Help Link to comment Share on other sites More sharing options...
alfianpradana Posted August 16, 2013 Author Share Posted August 16, 2013 because I want to know it can happen and can be very fun when doing so. and this is the script please correct it expandcollapse popup#RequireAdmin ;;; #cs MsgBox(4096, "", "Jangan Lupa") ;;; #ce #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form=c:\users\acer\downloads\ssid connect v1.kxf $Form1_1 = GUICreate("SSID Connect v1.0 BETA", 428, 390, 197, 123) GUISetBkColor(0x3399FF) $Group1 = GUICtrlCreateGroup("Setting", 16, 24, 265, 201) $Host = GUICtrlCreateInput("", 112, 56, 153, 21) $Username = GUICtrlCreateInput("", 112, 96, 153, 21) $Pass = GUICtrlCreateInput("", 112, 136, 153, 21, BitOR($GUI_SS_DEFAULT_INPUT,$ES_PASSWORD)) $Port = GUICtrlCreateInput("", 112, 176, 89, 21) $Label1 = GUICtrlCreateLabel("Host", 32, 56, 26, 17) $Label2 = GUICtrlCreateLabel("User", 32, 96, 26, 17) $Label3 = GUICtrlCreateLabel("Password", 32, 136, 50, 17) $Label4 = GUICtrlCreateLabel("Port", 32, 176, 23, 17) GUICtrlCreateGroup("", -99, -99, 1, 1) $Button1 = GUICtrlCreateButton("Login", 32, 240, 89, 25) $Button2 = GUICtrlCreateButton("Disconnect", 152, 240, 89, 25) $Button3 = GUICtrlCreateButton("PROXIFIER", 32, 280, 209, 25) $Button4 = GUICtrlCreateButton("Exit", 32, 312, 97, 25) $Group2 = GUICtrlCreateGroup("Inject", 296, 24, 121, 201) $Button5 = GUICtrlCreateButton("XL", 312, 48, 89, 25) $Button6 = GUICtrlCreateButton("INDOSAT", 312, 88, 89, 25) $Button7 = GUICtrlCreateButton("TELKOMSEL", 312, 128, 89, 25) $Button8 = GUICtrlCreateButton("SMART", 312, 168, 89, 25) GUICtrlCreateGroup("", -99, -99, 1, 1) $Pic1 = GUICtrlCreatePic(@ProgramFilesDir &"\SSID Connect v1.0 BETA\images.jpg", 256, 248, 169, 137) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $Msg = GUIGetMsg() If $msg=$Button1 Then Button1() If $msg=$Button3 Then Button3() If $msg=$Button4 Then Button4() If $msg=$Button5 Then Button5() If $msg=$Button7 Then Button7() If $msg=$Button6 Then Button6() If $msg=$Button8 Then Button8() If $msg=$Button9 Then Button9() If $msg=$Button10 Then Button10() Switch $Msg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Func Button1() GUICtrlRead($Host) GUICtrlRead($Port) GUICtrlRead($Username) GUICtrlRead($Pass) $PAR1 = "-profile=ssh.bscp" & "-host=" & $Host & "-port=443" & "-proxy=y" & "-proxyType=HTTP" & "-proxyServer=127.0.0.1" & "-proxyPort=" & $Port & "-username=" & $Username & "-password=" & $Pass "-loginOnStartup" Run(@ScriptDir & "\SSID Connect v1.0 BETA\tunnelier.exe" & $PAR1 , @ScriptDir, @SW_HIDE) EndFunc Func Button3() Run(@ProgramFilesDir & "\SSID Connect v1.0 BETA\Proxifier\Proxifier.exe") EndFunc Func Button4() Exit EndFunc Func Button5() Run(@ProgramFilesDir & "\SSID Connect v1.0 BETA\Inject\1.exe") EndFunc Func Button6() Run(@ProgramFilesDir & "\SSID Connect v1.0 BETA\Inject\2.exe") EndFunc Func Button7() MsgBox(4096, "", "Under Maintenance ^_^") EndFunc Func Button8() Run(@ProgramFilesDir & "\SSID Connect v1.0 BETA\Inject\4.exe") EndFunc Link to comment Share on other sites More sharing options...
JohnOne Posted August 16, 2013 Share Posted August 16, 2013 Func Button1() $readhost = GUICtrlRead($Host) $readport = GUICtrlRead($Port) $readusername = GUICtrlRead($Username) $readpass = GUICtrlRead($Pass) $PAR1 = "-profile=ssh.bscp" & "-host=" & $readhost & "-port=443" & "-proxy=y" & "-proxyType=HTTP" & "-proxyServer=127.0.0.1" & "-proxyPort=" & $readport & "-username=" & $readusername & "-password=" & $readpass "-loginOnStartup" Run(@ScriptDir & "\SSID Connect v1.0 BETA\tunnelier.exe" & $PAR1 , @ScriptDir, @SW_HIDE) EndFunc AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
alfianpradana Posted August 17, 2013 Author Share Posted August 17, 2013 I have followed your script, but out syntax error after "loginOnStartup" C:\Users\ACER\Documents\SciTe\Hampir Jadi.au3(67,234) : ERROR: syntax error $PAR1 = ("-profile=ssh.bscp" & "-host=" & $readhost & "-port=443" & "-proxy=y" & "-proxyType=HTTP" & "-proxyServer=127.0.0.1" & "-proxyPort=" & $readport & "-username=" & $readusername & "-password=" & $readpass "-loginOnStartup" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ Link to comment Share on other sites More sharing options...
DW1 Posted August 17, 2013 Share Posted August 17, 2013 I have followed your script, but out syntax error after "loginOnStartup" C:\Users\ACER\Documents\SciTe\Hampir Jadi.au3(67,234) : ERROR: syntax error $PAR1 = ("-profile=ssh.bscp" & "-host=" & $readhost & "-port=443" & "-proxy=y" & "-proxyType=HTTP" & "-proxyServer=127.0.0.1" & "-proxyPort=" & $readport & "-username=" & $readusername & "-password=" & $readpass "-loginOnStartup" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ Because you are missing an "&" between $readpass and "-loginOnStartup" AutoIt3 Online Help Link to comment Share on other sites More sharing options...
alfianpradana Posted August 17, 2013 Author Share Posted August 17, 2013 and now tunnelier.exe not go out when I click button1 Func Button1() $readhost = GUICtrlRead($Host) $readport = GUICtrlRead($Port) $readusername = GUICtrlRead($Username) $readpass = GUICtrlRead($Pass) $PAR1 = "-profile=ssh.bscp" & "-host=" & $readhost & "-port=443" & "-proxy=y" & "-proxyType=HTTP" & "-proxyServer=127.0.0.1" & "-proxyPort=" & $readport & "-username=" & $readusername & "-password=" & $readpass & "-loginOnStartup" Run(@ScriptDir & "\SSID Connect v1.0 BETA\tunnelier.exe" & $PAR1 , @ScriptDir, @SW_HIDE) EndFunc Link to comment Share on other sites More sharing options...
alfianpradana Posted August 17, 2013 Author Share Posted August 17, 2013 thank's the problem solved i changed @ScriptDir to @ProgramFIlesDir Link to comment Share on other sites More sharing options...
fikri1979 Posted August 18, 2013 Share Posted August 18, 2013 I have tried, but get a message this "WARNING: $Host: possibly used before declaration." how do I fix it? to learn, can I download your scrip which is final? Link to comment Share on other sites More sharing options...
mLipok Posted August 21, 2013 Share Posted August 21, 2013 (edited) I know terminal with support for ActiveX, Unfortunately, the support for ActiveX is available only in mainframe version. http://www.jtsoft.com.pl/index.php?option=com_content&task=view&id=7&Itemid=14 There is native Polish interface and translation, English Rusian translation. Cost less then 100 Euro per station. There is a 30 day evaluation demo. I made the appropriate UDF if anyone is interested please PM me. Edited August 21, 2013 by mlipok Signature beginning:* Please remember: "AutoIt"..... * Wondering who uses AutoIt and what it can be used for ? * Forum Rules ** ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 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