Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/07/2021 in all areas

  1. Hello, AutoIT is my first programming language. However, It's been a long long time from the last minute I used AutoIT. Today, I'm very happy to see that this language is still used by many developers. I want to introduce 3 games I developed in AutoIT more than 5 years ago. - Minichess game: https://github.com/vietanhdev/minichess - Line98: https://github.com/vietanhdev/line98 - TicTacToe: https://github.com/vietanhdev/tic-tac-toe Thank you for creating such a friendly language! And also hope that it can thrive in the future!
    1 point
  2. Mildly curious, what OS are you using as your daily driver currently? That's sounds hella sus to me
    1 point
  3. You might also use a regular expression to do the job in one shot $txt = " MoveJ [[-320.62,-132.78,227.68],[0.998219,0.0444207,-0.0168298,0.0360765],[-1,-1,-1,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v300,fine,Out_Ciseau\WObj:=rep_refil;" & @crlf & _ " Set S_lames;" & @crlf & _ " MoveL [[-257.19,-178.26,187.01],[0.952349,-0.0379082,-0.0440127,0.299429],[0,0,-1,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v300,fine,Out_Ciseau\WObj:=rep_refil;" & @crlf & _ " coupe_G;" & @crlf & _ " SetAO Effort,30 * Coeff_JE;" & @crlf & _ " MoveL [[-262.75,-132.35,192.71],[0.053336,-0.998395,-0.009298,-0.016629],[0,-1,0,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],V_approche,z10,refilat\WObj:=rep_refil;" & @crlf & _ " SetAO Effort,30 * Coeff_JE;" & @crlf & _ " MoveL [[-256.91,-165.70,186.64],[0.0536583,-0.976169,-0.206382,-0.0402727],[0,-1,-1,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],V_rapide,Z_refil,refilat\WObj:=rep_refil;" & @crlf & _ " MoveL [[-232.36,-161.50,188.68],[0.0352275,-0.978176,-0.201269,-0.0377103],[0,-1,-1,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]], V_rapide, Z_Refil, refilat\WObj:=rep_refil;" $s = Execute("'" & StringRegExpReplace($txt, "(?m)^\h*Move[JL]\h\[\[(?:[\d.-]+,){2}\K(\d+)", "' & $1-3 & '") & "'") Msgbox(0,"", $s) Edit : comments (?m) : multiline option ^ : start of line \h*Move[JL]\h\[\[(?:[\d.-]+,){2} : describe the beginning of the concerned line (in regex syntax ) \K : but don't touch it ! (\d+) : the integer part of the number to match
    1 point
  4. Danp2, I turned Microsoft Defender off temporarily, ran my script, and it ran to completion successfully (and there was no CMD window), and then I turned Defender back on. So I think I have a solution and I thank you for your help and guidance on this. Thanks... Geoff
    1 point
  5. Thank you, will try tomorrow and will report it back for other to know too in case that they experiance same problem.
    1 point
  6. Most of the time if you look, the application will store this "license" somewhere and you can brute force it by editing a file, a registry key, something. Unless it has to reach out to the cloud, but even then usually there is a way to embed it during install so that at first launch it will reach out to do that. As far as your method, as mentioned Send is very crude and a last resort. Atleast look into ControlSend() or something. If you absolutely MUST activate it at first launch, well then perhaps dont give the users a shortcut to the application, but a shortcut to your application. Which then launched the native application and does the activation stuff, upon completion deletes the shortcut to the autoit script and then replaces it with a shortcut to the original application.
    1 point
  7. @mike2003You ask for help without providing many details, which requires that we repeatedly ask questions to obtains the necessary details. You make statements, such as without providing any proof or code to substantiate your claim. I asked you to show us your existing code, and your response is to refer me to a 7 year old thread where you supposedly obtained the original code. Why should others take the time to try to help you when you aren't willing to take the time to provide the requested info? 😩
    1 point
  8. Ha! Got you fooled. 😃
    1 point
  9. amro, That is the same script that you just told us was for a game - we are not stupid. Please do not post again on this subject - our patience has limits. M23
    1 point
  10. Moved to the appropriate forum. Moderation Team
    1 point
  11. 1 point
  12. Jos

    AutoIt v3.3.15.4 Beta

    Scratch doubt and replace that with a definite NO WAY!
    1 point
  13. mLipok

    AutoIt v3.3.15.4 Beta

    This was exactly what I was saying.... Almostly... I mean first compile then use your own signing tool. So you must sign it with your own cert and password. Because I doubt there is NO WAY! that @Jon or anybody give you their own cert and password.
    1 point
  14. argumentum

    LZMA Compression UDF

    ok, here: LZMA.zip but remember that this is from 6 years ago and the original poster has been away for over a year.
    1 point
  15. iamtheky

    AutoIt Snippets

    You edited it to be additionally patronizing and are recommending a solution that involves redims as an improvement to a snippet that has none? That is super. Dcoder, there are older examples, and i think the speed can be improved on yours. And apparently you have upset Guinness, so that part is at least right. .https://www.autoitscript.com/forum/topic/120801-converting-array-1d-2d/
    1 point
×
×
  • Create New...