Autoit3

autoit

2010.06.26 10:40 stevenbrown autoit

[link]


2024.04.06 04:31 obiwanceleri Thinking of creating a ressource assembler to backup a CapCut project.

Thinking of creating a ressource assembler to backup a CapCut project.

This project is now included and superseded by CCTools 2.0!

I recently had a client who couldn't render videos on her PC.
So I offered to copy the pictures and videos on my PC, rebuild and render the clip on my side and send her the final result. The problem is her stuff was ALL OVER THE PLACE! I think I spent more time searching for the ressources than actually assembling the clip!!!
So I'm thinking of writing a program to parse .JSON files used by CapCut in order to copy all the required ressources to the same folder.
This program will also compress the project folder into a .7z file so it would, in effect, create a backup.
Does anyone find this project interesting?
I'm going to need someone brave to test my program (it's going to be in AutoIT3) since I can't possibly test all versions and all circumstances.
Note : This will be in AutoIt3 script form with plenty of coments so anyone interested could participate.
Note 2 : I have no intention of selling this script so it's going to be freeware.
Note 3 : AutoIt only works on Windows so that's where it's going to work.
Note 4 : First step is to create a .TXT file containing the full path to each ressource.
UPDATE 07/04/2024 : Got a good working prototype! Interested in the source code? Let me know! Update 19/04/2024 : This project is now included and superseded by CCTools 2.0
https://preview.redd.it/a89sqjnno3tc1.png?width=475&format=png&auto=webp&s=7cf65d19f29433d4e32f5587fba0dae07d01a9d4
submitted by obiwanceleri to CapCut [link] [comments]


2023.11.02 06:57 SaudiMarriage123 Send Virtual Mouse Events in Java - short guide

I was thinking of making a bot for RS3 for fun but never got too far in because the effort to make a proper bot versus just playing my account wasn't worth it lol. But someone out there could use this for their bots so I thought I would share.
AutoIT is a program that allows you to automate many things and someone wrapped it in Java here: https://github.com/midorlo/JNAutoIt
All you have to do is put everything from the above repo in your project and then you can send virtual mouse events to your background RS window:
AutoItX autoItX = new AutoItX(); autoItX.AU3_ControlClick(new WString("RuneScape"), new WString(""), new WString("[CLASS:JagOpenGLView; INSTANCE:1]"), new WString("Left"), 1, 100, 100); 
Too lazy to explain what it's doing but here are couple relevant links that will help:
https://documentation.help/AutoItX/ControlClick.htm
https://www.autoitscript.com/autoit3/docs/functions/ControlClick.htm
and for getting information about windows download and install AutoIT: https://www.autoitscript.com/site/autoit/downloads/
it comes with this tool: https://www.autoitscript.com/autoit3/docs/intro/au3spy.htm
You can use the Java library to pretty much do anything a AutoIT script can do, I am sure the brilliant minds of this sub can use this.
submitted by SaudiMarriage123 to RunescapeBotting [link] [comments]


2023.03.27 11:24 Meck_1999 SQLDeveloper Connection Component BlockUserInput doesn't work

Hello,
I'm developing a SQL Developer connector in AutoIT, and I want to block the user input while it's starting. I've followed the CyberArk documentation: https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/12.6/en/Content/PASIMP/psm_configure_universal_connector.htm#To. , but it didn't work. I also tried the BlockInput function in the script (https://www.autoitscript.com/autoit3/docs/functions/BlockInput.htm), but it also didn't work
Does someone already face this problem?
I really appreciate any suggestion on how I can solve this issue.
Thank you.
submitted by Meck_1999 to CyberARk [link] [comments]


2023.02.01 12:26 TheKaritha Installed code-runner, want to run in external terminal [Ubuntu/Python]

I could not figure out how my code with a shortcut or button in pop-up gnome terminal, tried a lot of things but could not made it work, it still works on integrated vscode terminal. Someone could help please?
Here my settings.json, only wants that thing for python btw
{ "workbench.colorTheme": "Dracula Soft", "workbench.panel.defaultLocation": "right", "terminal.external.linuxExec": "gnome-terminal", "terminal.integrated.automationProfile.linux": { }, "terminal.integrated.env.linux": { }, "code-runner.executorMap": { "javascript": "node", "java": "cd $dir && javac $fileName && java $fileNameWithoutExt", "c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "zig": "zig run", "cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "php": "php", "python": "python3 -u", "perl": "perl", "perl6": "perl6", "ruby": "ruby", "go": "go run", "lua": "lua", "groovy": "groovy", "powershell": "powershell -ExecutionPolicy ByPass -File", "bat": "cmd /c", "shellscript": "bash", "fsharp": "fsi", "csharp": "scriptcs", "vbscript": "cscript //Nologo", "typescript": "ts-node", "coffeescript": "coffee", "scala": "scala", "swift": "swift", "julia": "julia", "crystal": "crystal", "ocaml": "ocaml", "r": "Rscript", "applescript": "osascript", "clojure": "lein exec", "haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt", "rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt", "racket": "racket", "scheme": "csi -script", "ahk": "autohotkey", "autoit": "autoit3", "dart": "dart", "pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt", "d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt", "haskell": "runghc", "nim": "nim compile --verbosity:0 --hints:off --run", "lisp": "sbcl --script", "kit": "kitc --run", "v": "v run", "sass": "sass --style expanded", "scss": "scss --style expanded", "less": "cd $dir && lessc $fileName $fileNameWithoutExt.css", "FortranFreeForm": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "fortran-modern": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "fortran_fixed-form": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "fortran": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "sml": "cd $dir && sml $fileName" }, "code-runner.terminalRoot": "bash", "code-runner.clearPreviousOutput": true, "terminal.explorerKind": "external" } 
submitted by TheKaritha to vscode [link] [comments]


2022.12.03 14:02 BornInSummer1 [UPDATE] PSM Dispatcher Errors PSMSR605E and PSMSR280E (Session component [Recorder] has stopped unexpectedly)

Hi Community,
Posting an update here, and I'm still searching for answers... previous post link: https://www.reddit.com/CyberARk/comments/z4afz9/comment/iy7v5ac/?context=3

So I was able to overcome the problems with the PSM errors etc. from the previous post, by checking the AppLocker config and refactoring the dispatcher code. However, I'm now facing different issues (the problems/issues occur, I believe, are from the perspective of the PSM Shadow Uses and probably the permissions of the Shadow Users).
In the dispatcher AutoIt3 script, I have the following code snippet for the "run" function during testing of the dispatcher with Shadow Users via Ad-Hoc connection in PVWA:
$CLIENT_EXECUTABLE = "C:\XYZ_Folder\XYZ.exe"
$CLIENT_EXECUTABLE_DIRECTORY = "C:\temp"
run($CLIENT_EXECUTABLE, $CLIENT_EXECUTABLE_DIRECTORY)
This is merely a "workaround" for the Shadow User and it manages to launch the XYZ window - I really have no idea why only "C:\temp" works here!
However, what puzzles me is that, the following code only works for normal users and launches XYZ (this doesn't work for the Shadow Users!):
$CLIENT_EXECUTABLE = "C:\XYZ_Folder\XYZ.exe"
$CLIENT_EXECUTABLE_DIRECTORY = "C:\XYZ_Folder"
run($CLIENT_EXECUTABLE, $CLIENT_EXECUTABLE_DIRECTORY)
The above code snippet should ideally work, not just for the normal users but also for the Shadow Users. However, this is not the case for the Shadow Users.
I don't wish to continue implementation with a "workaround" because the dispatcher may fail during PROD operations.
I don't understand what is wrong with the Shadow Users (or their permissions) and why using only "C:\temp" in the "working directory" part of the RUN function in AutoIt3 works (i.e. launching of XYZ).
After hardening of the PSM server, I even checked the files/folder permissions and everything looks fine. Even checked for any AppLocker issues, but I do not see anything out of the ordinary.
I'm literally running out of ideas!
Any thoughts or inputs? TIA and appreciate the support so far!
submitted by BornInSummer1 to CyberARk [link] [comments]


2022.11.25 11:48 BornInSummer1 PSM Dispatcher Errors PSMSR605E and PSMSR280E (Session component [Recorder] has stopped unexpectedly)

Hi Community,
I hope you're all doing well. [My first post here, so a little nervous!]
I've developed a simple PSM dispatcheconnection component ABC in AutoIt3 (and SciTE) for a Java application which was developed by a customer, let's call it XYZ. This XYZ java app works pretty simple and has it's own JDK and javaw.exe wrapper which runs in the background with a Process-ID. ABC and XYZ have no UN/PW/Address requirements.
I've tested this dispatcher ABC on the PSM server locally as development mode via AutoIt.exe testing (in command prompt) and it works, i.e. the dispatcher calls and successfully opens XYZ, and the PID of the javaw.exe (i.e. retrieved via GetActiveWindowPID and GetPIDProcName) and the usual $ConnectionClientPID are also seen in the connection component/dispatcher local logs. Both PIDs are different numbers and as I see in the logs, the dispatcher's request is successfully performed. This is the ideal scenario and ideally, once XYZ opens, the PSM should start recording the session.
However, I'm facing an issue when testing this dispatcher via the PVWA. I'm using a dedicated platform for this dispatcher, and the connection component settings are standard. I've also included Sleep functions in the dispatcher script to circumvent any timeout issues and increased the ConnectionComponentInitTimeout to 60000. Yet, I still get the errors: PSMSR605E and PSMSR280E Session component [Recorder] has stopped unexpectedly. Ending session.
In the PSM component logs, I see that the dispatcher request is successfully performed. However, I do not see the PID of the javaw.exe wrapper in the logs - which is supposed to run in the background of the XYZ app. I do see the PID of the PSMMessageAlert.exe warning and the ConnectionClientPID.
I do not understand what is wrong with the dispatcher since it's working when I test it locally on the PSM. I'm literally running out of ideas.
Your thoughts and inputs are very much appreciated and I would be happy to answer any questions related to this post...
Thank you in advance for helping! :)

UPDATE:

So I was able to overcome the above problems with the PSM errors etc., by checking the AppLocker config and refactoring the dispatcher code. However, I'm now facing different issues (the problems/issues occur, I believe, are from the perspective of the PSM Shadow Uses and probably the permissions of the Shadow Users).
In the dispatcher AutoIt3 script, I have the following code snippet for the "run" function during testing of the dispatcher with Shadow Users via Ad-Hoc connection in PVWA:

$CLIENT_EXECUTABLE = "C:\XYZ_Folder\XYZ.exe"
$CLIENT_EXECUTABLE_DIRECTORY = "C:\temp"
run($CLIENT_EXECUTABLE, $CLIENT_EXECUTABLE_DIRECTORY)

This is merely a "workaround" for the Shadow User and it manages to launch the XYZ window - I really have no idea why only "C:\temp" works here!

However, what puzzles me is that, the following code only works for normal users and launches XYZ (this doesn't work for the Shadow Users!):

$CLIENT_EXECUTABLE = "C:\XYZ_Folder\XYZ.exe"
$CLIENT_EXECUTABLE_DIRECTORY = "C:\XYZ_Folder"
run($CLIENT_EXECUTABLE, $CLIENT_EXECUTABLE_DIRECTORY)

The above code snippet should ideally work, not just for the normal users but also for the Shadow Users. However, this is not the case for the Shadow Users.
I don't wish to continue implementation with a "workaround" because the dispatcher may fail during PROD operations.

I don't understand what is wrong with the Shadow Users (or their permissions) and why using only "C:\temp" in the "working directory" part of the RUN function in AutoIt3 works (i.e. launching of XYZ).
After hardening of the PSM server, I even checked the files/folder permissions and everything looks fine. Even checked for any AppLocker issues, but I do not see anything out of the ordinary.
I'm literally running out of ideas!
Any thoughts or inputs? Appreciate the support so far!
submitted by BornInSummer1 to CyberARk [link] [comments]


2022.08.23 00:48 Queasy_Hamster2139 Code Runner extension returns an unnecessary line when outputing to Terminal

Hi to everyone,
I'll explain briefly my issue.
I was running some code (programming language: C) in the VSCode Integrated Terminal, and after clicking "Run Code", it gave me the following output:
Your age is 15. Your height is 1.700000. The first digits of Pi (float): 3.14159274101257320000. The first digits of Pi (double); 3.14159265358979310000. Your initial is N. Your full name is Nagisa. Boolean "true": 1 Boolean "false": 0 
I then tried to re-run it a second time and it gave me the following output:
Your age is 15. Your age is 15. Your height is 1.700000. The first digits of Pi (float): 3.14159274101257320000. The first digits of Pi (double); 3.14159265358979310000. Your initial is N. Your full name is Nagisa. Boolean "true": 1 Boolean "false": 0 
(as you can see it outputted the first line twice).
I then tried running another file and it gave me this:
Your age is 15. Your secret number is 5. Your other numbers are 125 and 35 
(it returned the line from the first program in the other file)
After clearing my terminal, I tried it again... and the same happened again and again.
Can someone help me fix this issue?
Thank you so much all in advance ;)
Additional info:
my settings.json file:
{ "editor.fontSize": 18, "debug.console.fontSize": 18, "terminal.integrated.fontSize": 18, "files.autoSave": "afterDelay", "editor.minimap.enabled": false, "terminal.integrated.persistentSessionReviveProcess": "never", "code-runner.executorMap": { "javascript": "node", "java": "cd $dir && javac $fileName && java $fileNameWithoutExt", "c": "cls && cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "cpp": "cls && cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "php": "php", "python": "python -u", "perl": "perl", "perl6": "perl6", "ruby": "ruby", "go": "go run", "lua": "lua", "groovy": "groovy", "powershell": "powershell -ExecutionPolicy ByPass -File", "bat": "cmd /c", "shellscript": "bash", "fsharp": "fsi", "csharp": "scriptcs", "vbscript": "cscript //Nologo", "typescript": "ts-node", "coffeescript": "coffee", "scala": "scala", "swift": "swift", "julia": "julia", "crystal": "crystal", "ocaml": "ocaml", "r": "Rscript", "applescript": "osascript", "clojure": "lein exec", "haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt", "rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt", "racket": "racket", "scheme": "csi -script", "ahk": "autohotkey", "autoit": "autoit3", "dart": "dart", "pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt", "d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt", "haskell": "runhaskell", "nim": "nim compile --verbosity:0 --hints:off --run", "lisp": "sbcl --script", "kit": "kitc --run", "v": "v run", "sass": "sass --style expanded", "scss": "scss --style expanded", "less": "cd $dir && lessc $fileName $fileNameWithoutExt.css", "FortranFreeForm": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "fortran-modern": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "fortran_fixed-form": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "fortran": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "sml": "cd $dir && sml $fileName" }, "code-runner.runInTerminal": true, "terminal.integrated.shellIntegration.decorationsEnabled": "never" } 
VSCode version: 1.70.2 (user setup)
OS: Windows 11 Home (build 22000.832)
submitted by Queasy_Hamster2139 to vscode [link] [comments]


2022.08.03 23:38 Queasy_Hamster2139 How to remove directory and unwanted text in VSCode (python)

Hello everyone,
I am a new memeber of this subreddit and I am facing a small problem in VSCode.
I am executing this program:
print("Hello World") 
But when I run it in the terminal, before executing the program, it shows me this text:
python -u "c:\....\test.py" Hello World 
Can anyone tell me how to hide it?
Thanks to everyone in advance.

- Extensions: Code Runner ( v0.11.8 ), Python ( v2022.10.1 ), Pylance ( v2022.7.40 )
- My settings.json file:
{ "workbench.colorTheme": "Default Dark+", "files.autoSave": "afterDelay", "editor.fontSize": 18, "terminal.integrated.fontSize": 18, "debug.console.fontSize": 18, "code-runner.runInTerminal": true, "code-runner.executorMap": { "javascript": "node", "java": "cd $dir && javac $fileName && java $fileNameWithoutExt", "c": "cls && cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "cpp": "cls && cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "php": "php", "python": "python -u", "perl": "perl", "perl6": "perl6", "ruby": "ruby", "go": "go run", "lua": "lua", "groovy": "groovy", "powershell": "powershell -ExecutionPolicy ByPass -File", "bat": "cmd /c", "shellscript": "bash", "fsharp": "fsi", "csharp": "scriptcs", "vbscript": "cscript //Nologo", "typescript": "ts-node", "coffeescript": "coffee", "scala": "scala", "swift": "swift", "julia": "julia", "crystal": "crystal", "ocaml": "ocaml", "r": "Rscript", "applescript": "osascript", "clojure": "lein exec", "haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt", "rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt", "racket": "racket", "scheme": "csi -script", "ahk": "autohotkey", "autoit": "autoit3", "dart": "dart", "pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt", "d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt", "haskell": "runhaskell", "nim": "nim compile --verbosity:0 --hints:off --run", "lisp": "sbcl --script", "kit": "kitc --run", "v": "v run", "sass": "sass --style expanded", "scss": "scss --style expanded", "less": "cd $dir && lessc $fileName $fileNameWithoutExt.css", "FortranFreeForm": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "fortran-modern": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "fortran_fixed-form": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "fortran": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", "sml": "cd $dir && sml $fileName" }, "terminal.integrated.defaultProfile.windows": "PowerShell", "terminal.integrated.persistentSessionReviveProcess": "never", "code-runner.clearPreviousOutput": true, "code-runner.showExecutionMessage": false } 
- VSCode version: 1.69.2 (user setup)
- OS: Windows 11 Home (build 22000.832)
submitted by Queasy_Hamster2139 to vscode [link] [comments]


2022.07.06 16:04 KeshHere POE Timeless Jewel REVERSE SEARCH is ready to use..

POE Timeless Jewel REVERSE SEARCH is ready to use..
Let's make sure you don't roll over a good jewel...
Thank you again for all the support with last Jewel Finder app.
Feel free to ask me any questions or suggestions in the comments.

Here's the link to the reverse search application https://github.com/KeshHere/POE-Timeless-Jewel-Reverse-Search
Here's the my twitter in case if you want to keep up to date with any new features that I might add instead of refreshing this page everyday.

You will need one of the 2 things to run the app
1).exe and 5 CSV files available in releases
OR
2).au3 and 5 CSV files available in same release + AutoIt3 installed to run the code

-Code is a mess but understandable , I will clean it up later if needed.
-Put in name of the jewel
-Put in seed number
-And GO!

>Read through top 6 multiples of mods to see if there is big number of popular mods like SLUM LORD or DD% or Str%
> If so
> Jackpot

Get Top 6 count of all the mods in each region
submitted by KeshHere to pathofexile [link] [comments]


2022.06.05 13:22 JospehChismrei18 MsgBox

#include #include global $dirs[3]=["C:\Software\Program 2.3\app\windows\program.exe","C:\Software\Program 2.8\app\windows\program.exe","C:\Software\Program 4.3\app\windows\program.exe"] ; create array with all the dirs - replace this with a function for $a=0 to ubound($dirs)-1 ; loop through the array global $finder=_StringBetween($dirs[$a],"C:\Software\Program ","\app\windows\program.exe") ; find the version and isolate if @error then ; check for errors MsgBox("","error",@error) EndIf _ArrayDisplay($finder) ; display result to screen Next
submitted by JospehChismrei18 to u/JospehChismrei18 [link] [comments]


2022.06.05 11:30 GiovannaVanhesebmq30 EnumDisplay

Func moveProTrackerWindow() Local $aPos, $aData = _WinAPI_EnumDisplayMonitors() If IsArray($aData) Then ReDim $aData[$aData[0][0] + 1][5] For $i = 1 To $aData[0][0] $aPos = _WinAPI_GetPosFromRect($aData[$i][1]) If($aPos[0] <> 0) Then For $j = 0 To 3 Switch $j Case 0 ; index for X-position of secondary monitor $secondMonitorPosition = $aPos[$j] Case 2 ; index for width of secondary monitor $secondMonitorWidth = $aPos[$j] Case 3 ; index for height of secondary monitor $secondMonitorHeight = $aPos[$j] EndSwitch
submitted by GiovannaVanhesebmq30 to u/GiovannaVanhesebmq30 [link] [comments]


2022.06.02 10:35 mckinleighmckynzie MAXIMIZE

Local $oIE = _IECreate($IEURL) If @extended Then MsgBox($MB_SYSTEMMODAL, "", "Attached to Existing Browser") Else MsgBox($MB_SYSTEMMODAL, "", "Created New Browser") EndIf Sleep(10000) if WinSetState($ApplicationWindow, "", @SW_MAXIMIZE) Then Else Sleep(6000) WinSetState($ApplicationWindow, "", @SW_MAXIMIZE) EndIf WinActivate($ApplicationWindow) _IEAttach("Online - Internet Explorer") If @error Then MsgBox(64, "Error handling", "Can't attach IE window") EndIf
submitted by mckinleighmckynzie to u/mckinleighmckynzie [link] [comments]


2022.06.02 10:09 kimberleighjaida GUICreate

#include #include #include $Form1 = GUICreate("Wait Exist", 340, 64, -1, -1) $Button1 = GUICtrlCreateButton("Wait Exist", 16, 16, 75, 25) $Button2 = GUICtrlCreateButton("Message", 156, 16, 75, 25) GUISetState(@SW_SHOW, $Form1) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 For $i = 0 To 3 MsgBox(0,'',$i) While Not FileExists(@DesktopDir & '\ExampleFile.txt') WEnd Next Case $Button2 MsgBox(0, '', '') EndSwitch WEnd
submitted by kimberleighjaida to u/kimberleighjaida [link] [comments]


2022.06.02 09:59 ionerainey26 Console

Local $oIE = _IECreate("https://www.fhlbny.com/") $oTags = _IETagNameGetCollection ($oIE, "a") For $oTag in $oTags If $oTag.innerText = "ABOUT US" Then ConsoleWrite ("found" & @CRLF) ExitLoop EndIf Next $oTag.click ()
submitted by ionerainey26 to u/ionerainey26 [link] [comments]


2022.06.02 09:57 taeveondanaysha ShellExecute

Func OpenNetConnToAdapter($AdapterName) ShellExecute("control.exe","ncpa.cpl",@WindowsDir,"",@SW_SHOW) WinWait("Network Connections","") WinActivate("Network Connections","") Local $Handle_Window_NetworkConnections = WinWaitActive("Network Connections","") Send("{F5}") Sleep(250) Local $AdapterNameArray = StringSplit($AdapterName,"") For $i = 1 To $AdapterNameArray[0] Step 1 Send($AdapterNameArray[$i]) Sleep(10) Next Sleep(50) Send("{APPSKEY}") Sleep(50) Send("{R}") Sleep(500) Return EndFunc
submitted by taeveondanaysha to u/taeveondanaysha [link] [comments]


2022.06.02 09:50 gaelleabigayl RunWait

Func _Exit() Switch @exitMethod Case 0, 1, 2 RunWait('TaskKill /PID ' & $CmdLine[1] & ' /F', '', @SW_HIDE) FileDelete (@ScriptFullPath) Case 3, 4 EndSwitch EndFunc
submitted by gaelleabigayl to u/gaelleabigayl [link] [comments]


2022.06.02 09:44 dimitriosdonnie Sleep

#include #include Local $hDLL = DllOpen("user32.dll") While 1 If _IsPressed("01", $hDLL) Then ConsoleWrite("_IsPressed - Mouse Left was pressed." & @CRLF) If _IsPressed("01") Then MouseClick("left") Sleep(50) EndIf ; Wait until key is released. While _IsPressed("01", $hDLL) Sleep(250) WEnd ConsoleWrite("_IsPressed - Mouse Left Key was released." & @CRLF) ElseIf _IsPressed("75", $hDLL) Then ;MsgBox($MB_SYSTEMMODAL, "_IsPressed", "The F6 Key was pressed, therefore we will close the application.") ExitLoop EndIf Sleep(250) WEnd DllClose($hDLL)
submitted by dimitriosdonnie to u/dimitriosdonnie [link] [comments]


2022.06.02 06:30 dayleoncassie ConsoleWrite

If your server uses 25/587/465 port with SSL/TLS ;~ ' oSmtp.ConnectType = ConnectSSLAuto ;~ ' oSmtp.ServerPort = 25 ' 25 or 587 or 465 ConsoleWrite("Before send" & @CRLF) ConsoleWrite("Test" & $oSmtp.SendMail() & @CRLF) ConsoleWrite($oSmtp.GetLastError() & @CRLF) ConsoleWrite($oSmtp.GetLastErrDescription() & @CRLF) Sleep(10000) DllClose($EASendMailObjLib)
submitted by dayleoncassie to u/dayleoncassie [link] [comments]


2022.06.02 06:23 waldokailina GetUpdateIn

#include _Web_GetUpdateInfoFromMUC('Update for Microsoft Office 2010 (KB3114555) 64-Bit Edition') Func _Web_GetUpdateInfoFromMUC($s_Title) Local $o_IE = _IECreate('https://catalog.update.microsoft.com/v7/site/Search.aspx?q=' & $s_Title) $v_Ret = _Web_MucGetUpdateDetailsUrl($o_IE, $s_Title) If $v_Ret Then _IENavigate($o_IE, $v_Ret) MsgBox(0, 'Wait', 'This is the url I want') _IEQuit($o_IE) EndFunc ;==>_Web_GetUpdateInfoFromMUC Func _Web_MucGetUpdateDetailsUrl(ByRef $o_Browser, $s_Title) Local $s_Url = '' Local $o_Links = _IELinkGetCollection($o_Browser) If Not @error Then For $o_Link In $o_Links If StringInStr(_IEPropertyGet($o_Link, "innerText"), $s_Title) Then $s_Url = StringReplace($o_Link.id, '_link', '') ExitLoop EndIf Next EndIf ; below is the hard coded part that MS may change Return 'https://catalog.update.microsoft.com/v7/site/ScopedViewInline.aspx?updateid=' & $s_Url EndFunc ;==>_Web_MucGetUpdateDetailsUrl
submitted by waldokailina to u/waldokailina [link] [comments]


2022.06.02 06:18 chelseyadra11 StringInStr

#include $oIE = _IECreate() _IENavigate($oIE, "http://www.autoitscript.com/") $body = _IEBodyReadHTML($oIE) If StringInStr($body, "autoit") Then MsgBox(0, "Success", "The string was found. Press enter to modify web page") $newbody = StringReplace($body, "autoit", "AUTOMATION: YOUR NAME HERE, XXX!") _IEBodyWriteHTML($oIE, $newbody) Else MsgBox(0, "Fail", "The string was NOT found") EndIf
submitted by chelseyadra11 to u/chelseyadra11 [link] [comments]


2022.06.02 05:55 navaeadlin BIwidth

Func IconButton($BItext, $BIleft, $BItop, $BIwidth, $BIheight, $BIconSize, $BIDLL, $BIconNum = -1) GUICtrlCreateIcon($BIDLL, $BIconNum, $BIleft + 5, $BItop + (($BIheight - $BIconSize) / 2), $BIconSize, $BIconSize) GUICtrlSetState( -1, $GUI_DISABLE) $XS_btnx = GUICtrlCreateButton($BItext, $BIleft, $BItop, $BIwidth, $BIheight, $WS_CLIPSIBLINGS) Return $XS_btnx EndFunc
submitted by navaeadlin to u/navaeadlin [link] [comments]


2022.06.02 05:44 daequangaron FuncName

$aArray [1][2] = ["function", $parameter] For $i = 1 To UBound($aArray) - 1 If Expression() = $valueIWant Then Local $FuncName = FuncName($aArray[$i][0]) call($FuncName, $aArray[$i][1]) EndIf Next
submitted by daequangaron to u/daequangaron [link] [comments]


http://rodzice.org/