Jump to content

Search the Community

Showing results for tags 'automatic'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 4 results

  1. Automatique upgrade to Windows 11 Put in the same Directory your *.ISO file and the Skip_TPM_Check_on_Dynamic_Update.cmd from MediaCreationTool.bat. ISO can be made from uupdump.net Compile with AutoIt and run. W11 22h2 will be deployed. Have fun. #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_UseX64=y #AutoIt3Wrapper_Res_Description=Auto Upgrade W11 #AutoIt3Wrapper_Res_ProductName=Auto Upgrade W11 #AutoIt3Wrapper_Run_Tidy=y #Tidy_Parameters=/reel #AutoIt3Wrapper_Run_Au3Stripper=y #Au3Stripper_Parameters=/mo #AutoIt3Wrapper_Res_ProductVersion=1.0.1.1 #AutoIt3Wrapper_Res_Fileversion=1.0.1.1 #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.16.0 Author: Cramaboule Date: December 2022 Script Function: Auto Upgrade to W11 Source: https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/windows-setup-command-line-options?view=windows-11 Bug: Not known To do: V1.0.1.1 14.02.2022: Fixed: Mounting ISO with spaces in path in now fixed. Changed: Alwayas unzipp and always install TPM with the 'install' argument. Fixed: Small bugs V1.0.1.0 17.01.2023: Changed: Get drive letter by loop! V1.0.0.1 29.12.2022: Changed: Get drive letter from powershell Changed: Check if zip is already expended Changed: Check if iso file is mounted Changed: Display message V1.0.0.0 28.12.2022: Inital relase #ce ---------------------------------------------------------------------------- #RequireAdmin #include <Array.au3> #include <AutoItConstants.au3> #include <MsgBoxConstants.au3> $sIsoFile = @ScriptDir & '\22621.963.221202-2359.NI_RELEASE_SVC_PROD1_CLIENTPRO_OEMRET_X64FRE_FR-FR.ISO' Global $Title = 'Auto Upgrade W11' Global $font = 'Segoe UI Light', $sFinalMessage SplashTextOn($Title, '', 300, 400, -1, -1, $DLG_TEXTLEFT, $font, 14, 400) _Splash('Checking free space') $iFreeSpace = DriveSpaceFree(@HomeDrive & "\") ; usualy C:\ If Round(Number($iFreeSpace) / 1024, 2) < 15 Then If (MsgBox($MB_ICONERROR + $MB_YESNO, 'No free space', 'You must have at least 15 Go free on your hard disk.' & @CRLF & 'You have: ' & Round(Number($iFreeSpace) / 1024, 2) & ' Go' & @CRLF & @CRLF & 'Would you like to continue ?') = $IDNO) Then Exit EndIf _Splash('Done') _Splash('Unzipping zip file') RunWait(@ComSpec & ' /c ' & 'powershell -command "Expand-Archive -Path W11bypassTPM.zip -Force"') _Splash('Done') _Splash('Skipping TPM') RunWait(@ComSpec & ' /c ' & 'W11bypassTPM\MediaCreationTool.bat-main\bypass11\Skip_TPM_Check_on_Dynamic_Update.cmd install') _Splash('Done') _Splash('Mounting ISO') If Not (_GetDriveLetter()) Then RunWait(@ComSpec & ' /c ' & 'powershell -command "Mount-DiskImage -ImagePath \"' & $sIsoFile & '\""') EndIf $sDrive = _GetDriveLetter() _Splash('Done') If $sDrive Then _Splash('Running setup.exe') Run(@ComSpec & ' /c ' & 'start ' & $sDrive & ':\setup.exe /auto upgrade /dynamicupdate disable /eula accept') Sleep(10000) ; 10 secondes Exit Else _Splash('Error: No Setup found') MsgBox($MB_TOPMOST + $MB_ICONERROR, 'Error', 'No "Setup.exe" found' & @CRLF & 'Error: ' & $sDrive) Exit EndIf Func _GetDriveLetter() Local $sOutput = '' For $i = 1 To 26 ; A = 65 $Letter = Chr($i + 64) If FileExists($Letter & ':\sources\install.wim') Then Return $Letter EndIf Next Return False EndFunc ;==>_GetDriveLetter Func _Splash($message) $sFinalMessage = $sFinalMessage & $message & @CRLF ControlSetText($Title, "", "Static1", $sFinalMessage) EndFunc ;==>_Splash
  2. Hi guys, i was use that, to know "Username" is create or not,etc. but i have problem #include <IE.au3> #include <INet.au3> #include <String.au3> signIn() Func signIn () Global $oIE = _IECreate ("https://login.yahoo.com/config/login") Local $username = _IEGetObjByName ($oIE,"username") Local $password = _IEGetObjByName ($oIE,"passwd") Local $btn = _IEGetObjByName ($oIE,"signin") _IEFormElementSetValue ($username,"AsdfavsdASWddsaA") _IEFormElementSetValue ($password,"123456") _IEAction ($btn,"click") $url = "https://login.yahoo.com/config/login" $first = '<html>' $end = '</html>' $read = _StringBetween(_INetGetSource($url), $first, $end) If $read[0] == "This ID is not yet taken." Then MsgBox (16,"","This ID is not create yet!") Else MsgBox (16,"","This ID was created!") EndIf EndFuncPlease help i'll be die with errors
  3. So i have been trying to find a way to auto update my SVN repo whenever someone commit a new file I found this commandline from google and i can get that to work with autoit np CD C:\Program Files\TortoiseSVN\bin\ START TortoiseProc.exe /command:update /path:"C:\www\MyRepo\" /closeonend:0 But what i want is everytime someone commits something and my repo aint the newest version, i want it to run the commandline. I tried googling and can't find anything is this even possible, if it is how? can you get the newest version with a command line to and compare it to your own version maybe ? Thanks
  4. Hello I was wondering if it is possible to create a function that constantly checks the Input to see if Digit Grouping is needed. (For example: If I write 1000 it automatically changes it to 1,000. Like the calculator does) My code has Hebrew writing, but it shouldn't bother you much. Here is my code: #include #include #include #include #include #include #Region ### START Koda GUI section ### Form=c:\program files (x86)\autoit3\koda 1.7.30\forms\form1.kxf $GoogleForm = GUICreate("Google Adwords", 321, 505, 617, 237) $Budget_Label = GUICtrlCreateLabel("תקציב לפרסום בגוגל", 192, 24, 113, 17) $Budget_Input = GUICtrlCreateInput("", 48, 20, 121, 21) $Camp_Cost_Label = GUICtrlCreateLabel("*עלות ניהול קמפיין", 199, 68, 105, 17) $Camp_Cost_Input = GUICtrlCreateInput("", 48, 64, 121, 21, $ES_READONLY) $Click_Label = GUICtrlCreateLabel("עלות קליק (ממוצע)", 200, 112, 101, 17) $Click_Input = GUICtrlCreateInput("", 48, 108, 121, 21) $Land_Label = GUICtrlCreateLabel("*דף נחיתה ייעודי", 207, 156, 93, 17) $Land_Input = GUICtrlCreateInput("", 48, 152, 121, 21) $Phone_Label = GUICtrlCreateLabel("*פלאפון ייעודי", 220, 200, 84, 17) $Phone_Combo = GUICtrlCreateCombo("", 48, 196, 121, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL), $WS_EX_LAYOUTRTL) GUICtrlSetData(-1, "לא|כן - ₪200") $Profit_Label = GUICtrlCreateLabel("רווח מלקוח", 237, 244, 63, 17) $Profit_Input = GUICtrlCreateInput("", 48, 240, 121, 21) $Closing_Label = GUICtrlCreateLabel("יחס סגירה", 244, 288, 57, 17) $Closing_Combo = GUICtrlCreateCombo("", 49, 284, 121, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL), $WS_EX_LAYOUTRTL) GUICtrlSetData(-1, "1 מתוך 10|2 מתוך 10|3 מתוך 10|4 מתוך 10|5 מתוך 10|6 מתוך 10|7 מתוך 10|8 מתוך 10|9 מתוך 10|10 מתוך 10") $OK_Button = GUICtrlCreateButton("!חשב", 136, 328, 75, 25) $Expense_Label = GUICtrlCreateLabel("הוצאה שנתית", 213, 372, 74, 17) $Expense_Input = GUICtrlCreateInput("", 64, 368, 121, 21) $Income_Label = GUICtrlCreateLabel("הכנסה שנתית", 217, 416, 73, 17) $Income_Input = GUICtrlCreateInput("", 64, 412, 121, 21) $Total_Label = GUICtrlCreateLabel ("סה''כ רווח שנתי", 205, 460, 85, 17) $Total_Input = GUICtrlCreateInput("", 64, 456, 121, 21) $Label1 = GUICtrlCreateLabel("תשלום חד-פעמי*", 249, 488, 70, 17) GUICtrlSetFont(-1, 8, 400, 0, "MS Serif") GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $OK_Button $Budget = GUICtrlRead($Budget_Input) If $Budget >= 10000 Then GUICtrlSetData($Camp_Cost_Input, "30%") EndIf If $Budget <= 10000 AND $Budget >= 0.01 Then GUICtrlSetData($Camp_Cost_Input, "15%") Else MsgBox (1, "!שגיאה", "!אנא הכנס תקציב") EndIf $Click = GUICtrlRead($Click_Input) $oLand = GUICtrlRead($Land_Input) If $oLand >= 1 AND $oLand <=9 Then ;Calculates the total cost of Landing Pages - Case 1-9 $nLand = $oLand * "550" $fLand = $oLand & " x" & " 550" & "₪" & " = " & $nLand & "₪" $var = StringMid($fLand, 1, 1) _ResetInput($Land_Input) $nLand = $var * "550" $fLand = $var & " x" & " 550" & "₪" & " = " & $nLand & "₪" GUICtrlSetData($Land_Input, $fLand) EndIf If $oLand >= 10 AND $oLand <=99 Then ;Calculates the total cost of Landing Pages - Case 10-99 $nLand = $oLand * "550" $fLand = $oLand & " x" & " 550" & "₪" & " = " & $nLand & "₪" $var = StringMid($fLand, 1, 2) _ResetInput($Land_Input) $nLand = $var * "550" $fLand = $var & " x" & " 550" & "₪" & " = " & $nLand & "₪" GUICtrlSetData($Land_Input, $fLand) EndIf If $oLand >= 100 Then ;Special order for god damn rich people! MsgBox(1, "יש כסף, אה?", ":יא טחון.. צלצל להצעה" & @CR & "052-5317772") $nLand = "1" EndIf $Phone = GUICtrlRead($Phone_Combo) If $Phone = "כן - ₪200" Then $Phone = 200 Else $Phone = 0 EndIf $Profit = GUICtrlRead($Profit_Input) $Closing = GUICtrlRead($Closing_Combo) $oExpense = $Budget*12 + $nLand + $Phone $Expense = GUICtrlSetData($Expense_Input, $oExpense) ;Total Expense $oBudget = GUICtrlRead($Budget_Input) $oClick = GUICtrlRead($Click_Input) $oClosing = GUICtrlRead($Closing_Combo) $oProfit = GUICtrlRead($Profit_Input) If $oClosing = "1 מתוך 10" Then $oCash = $oBudget / $oClick * 0.1 * $oProfit * 12 GUICtrlSetData($Income_Input, $oCash) ;Total income 1/10 EndIf If $oClosing = "2 מתוך 10" Then $oCash = $oBudget / $oClick * 0.2 * $oProfit * 12 GUICtrlSetData($Income_Input, $oCash) ;Total income 2/10 EndIf If $oClosing = "3 מתוך 10" Then $oCash = $oBudget / $oClick * 0.3 * $oProfit * 12 GUICtrlSetData($Income_Input, $oCash) ;Total income 3/10 EndIf If $oClosing = "4 מתוך 10" Then $oCash = $oBudget / $oClick * 0.4 * $oProfit * 12 GUICtrlSetData($Income_Input, $oCash) ;Total income 4/10 EndIf If $oClosing = "5 מתוך 10" Then $oCash = $oBudget / $oClick * 0.5 * $oProfit * 12 GUICtrlSetData($Income_Input, $oCash) ;Total income 5/10 EndIf If $oClosing = "6 מתוך 10" Then $oCash = $oBudget / $oClick * 0.6 * $oProfit * 12 GUICtrlSetData($Income_Input, $oCash) ;Total income 6/10 EndIf If $oClosing = "7 מתוך 10" Then $oCash = $oBudget / $oClick * 0.7 * $oProfit * 12 GUICtrlSetData($Income_Input, $oCash) ;Total income 7/10 EndIf If $oClosing = "8 מתוך 10" Then $oCash = $oBudget / $oClick * 0.8 * $oProfit * 12 GUICtrlSetData($Income_Input, $oCash) ;Total income 8/10 EndIf If $oClosing = "9 מתוך 10" Then $oCash = $oBudget / $oClick * 0.9 * $oProfit * 12 GUICtrlSetData($Income_Input, $oCash) ;Total income 9/10 EndIf If $oClosing = "10 מתוך 10" Then $oCash = $oBudget / $oClick * $oProfit * 12 GUICtrlSetData($Income_Input, $oCash) ;Total income 10/10 EndIf $var1 = GUICtrlRead($Expense_Input) $var2 = GUICtrlRead($Income_Input) $Total_Income_Cash = $var2 - $var1 GUICtrlSetData($Total_Input,$Total_Income_Cash) EndSwitch WEnd Func _ResetInput($Land_Input) GUICtrlSetData($Land_Input, "") EndFunc Anyone mind helping? Best Regards, Omga4000.
×
×
  • Create New...