Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/30/2012 in all areas

  1. Chimaera

    AutoIt Snippets

    Welcome to the AutoIt Snippets thread This section is dedicated to small reusable pieces of AutoIt code i.e. Snippets They can be added to your script to give extra functionality without writing extra code. they are varied and cover many subjects like GUI's, Maths, Networking and many others. Autoit Snippets Please visit the link above and you will find many examples to help you. Many thanks for all the work from everybody who contributed to the original Autoit Wrappers thread created by Valuater which gave us the starting point for the Wiki, and those who added their code to it like Valuater, guinness, SmOke_N, GEOSoft, Zedna, Mhz, GaryFrost and many others. Submitting Code Instructions We would also like you to have a look through your saved code and if you have examples that would be usefull to others then submit them so they can be added to the wiki for the benefit of all. After you have submitted one they will remain on the thread for a short while and after it has been added to the Wiki it will be removed from the thread shortly afterwards to keep the submissions current. Take this example by guinness #AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7 ; Checks To See If The Internet Is Connected ConsoleWrite("Internet Is Connected" & " = " & _IsInternetConnected() & @CRLF) ; ( Returns "True" Or "False" ) Func _IsInternetConnected() Local $aReturn = DllCall('connect.dll', 'long', 'IsInternetConnected') If @error Then Return SetError(1, 0, False) EndIf Return $aReturn[0] = 0 EndFunc ;==>_IsInternetConnected This is how we would like them submitted so that whoever uses the example can paste it in SciTE and it gives a result [MsgBox / ConsoleWrite Etc] that the user can see and understand. They don't have to be in a Function like the above example (Although that will be the preferred option), but they must have a way of calling the code so it gives a reproducible result. A few points to note for submissions: 1: All code to be submitted must be run with this line and have no errors or warnings. #AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7 2: Please use Tidy on your scripts before you submit them 3: Although it is our aim to transfer all posted scripts into the Wiki listings, the final decision to do so is entirely at the discretion of the editorial panel. Remember this is NOT a UDF thread, Snippets are small functions pieces of code not large ones, if your code has more than 2-3 functions in it, you may be better looking at making a UDF. Instructions on how to make one are to be found here. UDF Standards I hope you will make use of this section and add too it to make it better for all who use AutoIt Many thanks to guinness and Melba23 for their help and advice whilst the section was being made As the Wiki is now open for editing this is the template ive used to add the sections so far In the Snippets Section This code is for adding to the Wiki only it will not work in AutoIt Leave the rest unchanged so they are similar and uniform. Note: Can we keep conversation in this thread to a minimum please, as this sections posts are deleted as they are added to the wiki, so if your chatting about a piece of code it will deleted as well. Better to discuss elsewhere, Thanks. Enjoy your coding
    1 point
  2. Mobius

    AutoCamo - 98.18b

    Last updated 9/10/21 * Image may not represent current product Features Simple Integrated countermeasures against file and memory analysis based decompilers. Add basic types of resources into the interpreter or other types as raw data. Define multiple programs to execute pre and post build. Create and include pe version information. User defined patches that can be implemented globally on the interpreter and compiler or selectively. Handles its own basic macro's as well as environment variables in most fields for easier path finding. Drag and drop configs (script bound or separate) to the input edit box or to the icon to load them. Configuration settings can be copied to the clipboard or saved as config files or Au3 scripts. Settings can now be saved directly to an AutoIt3 script. Subsystem independant, can act as a gui or console tool. And much more. See next post for update information. A3C_97.16b.7z A3C_98_18_b.zip
    1 point
  3. From helpfile: GUICtrlGetState ( [controlID] ) As opposed to GUICtrlRead this function returns ONLY the state of a control enabled/disabled/hidden/show/dropaccepted
    1 point
  4. Crazyace, When you see brackets, '[' ']', in the parameter explanations within the helpfile, these are not meant to be used inside the actual code, they are merely symbolic for the parameter is optional. $input is the variable pointer to your GUICtrlCreateInput() control. When 'Submit' is pressed, it will read the user input from that control into the variable $serv_tag. Afterwhich it will pass $serv_tag to the function _Fire(). If you look at function _Fire(), you will see that it accepts 1 parameter that will be assigned to variable $sServiceTag. This is the variable that now holds the user's input to which can be used within function _Fire(). I highly recommend reading The first section of the Help file, to get a better understanding of how AutoIt works, especially with Functions. I am not sure why you have the url pasted twice in your post. You don't need tags either. _IECreate() will also return an object variable that points to InternetExplorer.Applicaton (the controls behind the browswer your attempting to open). So give it a variable to return to, so you have a way to manipulate the window further. $oIE = _IECreate("http://support.dell.com/support/topics/global.aspx/support/my_systems_info/manuals?c=us&l=en&s=biz&~ck=ln&lnki=0&ServiceTag=" & $sServiceTag) _IENavigate($oIE, $another_url) I did not test this example, however and in theory providing the url is correct as you have posted, this should work for you. Remove the _IENavigate(), I added that so you could visualize how the object handling will be performed. Realm
    1 point
  5. I have merged your two topics. Do not post multiple times regarding the same issue.
    1 point
  6. Valik

    The devs of autoit...

    What is AutoIT?
    1 point
  7. Thats Exactly What I wanted. I made a UDF for it... Though there are much more better UDF's Which provide also Angular Rotation Mine Is Just Without Angular Rotation Anyways. Here We Go Just The Text UDF:
    1 point
  8. I started scripting (with AutoIt as my first language) way back in 2008 (I was in 8th grade) and have mastered the basics of languages like C, Java etc. Needless to say, my experience with AutoIt has helped me a lot to understand these complicated languages much faster than other students of my age. When I joined the forums, I was put at ease by the proper guidance of Melba23 and others. Special thanx to Valik, since you saved me from a disastrous SKCIDLOL. Thanks a lot for developing this wonderful program. Regards, MKISH
    1 point
  9. trancexx

    The devs of autoit...

    Like Ripley, that would be cool. I would have super strength and acidic blood. Yeah baby! But really now, what happens when she has her period?
    1 point
  10. Valik

    The devs of autoit...

    I moderate in addition to develop because I'm very good at it. I also wrote the software we use to block people although I was a moderator before then. Gary has been inactive for some time. He used to moderate as well when he was active. We do not need a lot of moderates. The other developers can moderate but it's not necessary. As for "main developer" that depends on your definition. This is still Jon's project but he hasn't wrote code for awhile. I lead the project but I seldom write code. I mostly just provide advice and guidance and do beta releases. trancexx is responsible for most of the code changes the past few months. Jos continues to work on SciTE4AutoIt3 and Au3Check. As to Jon and I posting stuff... Jon used to claim he doesn't use the language much. I'm not sure if that is the case currently. As for me, I have posted things but I have better things to do than post stuff I'll just have to maintain. I tend to use my own libraries for things so posting even a simple script may involve an additional half dozen library files. It's simply a lot of work that I do not wish to do. Plus I have no intentions of integrating user feedback into my stuff unless I need it. It's all just a big hassle to me. I know that's a dick way of going about things. I'm not going to apologize for that.
    1 point
×
×
  • Create New...