Jump to content

Search the Community

Showing results for tags 'solved'.

  • Search By Tags

    • solved ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


  1. Hi, I haven't used Autoit in like 3 years so I'm not sure if something has changed and I'm doing something wrong but the Send() function is not working for me. I'm trying to send 4 Tabs then 2 Enters then some text. I thought it could be the window I'm working with so I just did a simple test and th...
  2. Hello. I'm trying create a RASCONNSTATUS structure So far I've got this much: Global Const $RAS_MaxDeviceType = 16 Global Const $RAS_MaxDeviceName = 128 Global Const $RAS_MaxPhoneNumber = 128 #cs typedef struct _RASCONNSTATUS { DWORD dwSize; RASCONNSTATE rasconnst...
  3. Hello. I'm trying disconnect VPN connections via RasHangUp function, but for some reason it returns error 668 (The connection dropped.) and no disconnection: #include <Array.au3> ;-------------------[ get list of connections ]------------------- Global Const $RAS_MaxDeviceType = 16 G...
  4. If I run this code, it works perfectly $CmdPid = Run("C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit " & 'Get-ChildItem',@DesktopDir, @SW_SHOW) But this code $CmdPid = Run("C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit " & 'Get-RDUserSession',@Deskto...
  5. Simple script latest autoit version. #include <GUIConstantsEx.au3> #include <FontConstants.au3> Example() Func Example() GUICreate("test", 800, 540) GUISetFont(12, $FW_NORMAL, $GUI_FONTNORMAL) GUICtrlCreateLabel("testing",680,310) GUISetState(@SW_SHOW) Do Until GUIGetMsg(...
  6. Hi, I'm afraid I'm just stupid or blind or both: how can I read user input from an AutoIt console program? Just a simple String input, terminated with pressing "Return"? This can't be difficult, but I can't find a solution.
  7. #include <FileConstants.au3> #include <MsgBoxConstants.au3> #include <file.au3> ; Create Data Folder if it doesn't exist yet If FileExists(@ScriptDir & "\Data") Then Else ShellExecute(@ScriptDir) DirCreate(@ScriptDir & "\Data") EndIf ; Playlist Name & location input Global $playlistnameinput = I...
  8. $sCommands1 = 'powershell.exe Get-ChildItem' $iPid = run($sCommands1   , @WorkingDir , @SW_SHOW , 0x2) $sOutput = ""  While 1     $sOutput &= StdoutRead($iPID)         If @error Then             ExitLoop         EndIf  WEnd ;~ msgbox(0, '' , $sOutput) ConsoleWrite("$sOutput") ConsoleWrite($sOut...
  9. Hi all, I haven't used AutoIt in more than 10 years and I am sure a lot has improved since that long time. I hope you can give me some suggestions on my approach. Task: I need to extract user data (for around 1700 users) from a website tool. That tool shows an output in a table on the webs...
  10. Hi! I am just getting started with C and C++. I have created a pretty simple C code which is calling a dll function. When I compile and run, I get the appropriate Output. So it works fine. Now I would want to transform that to AutoIt. -> I would like to call the "RfcOpen...
  11. I am looking for a way to pull up a Child GUI Window that users can enter information into and return that information to the main for loop which is running off an array. However, I have been unable to do so because the For loop continues even though the child window is open. If I put in another whi...
  12. I am building an application which needs a child panel in the GUI Control that needs to be scrolled as it contains controls that extend beyond the panel height. But I also need to have the users to be able to Tab through those controls. I don't seem to be able to to both working together. The...
  13. I have a webpage that I would like to Focus the Input on a particular field, which is not automatically set as the initial input. Website: https://fiscaloffice.summitoh.net/PropertyTaxValues/PayTaxCC.htm...
  14. Hello, I'm automating part of the note taking ability of my old bad POS, I managed to do much of the heavy lifting in the past weeks, I can finally do everything i want and more. Now I have a form with two buttons that expand the form to show a note taking beast that can lets us escape the hell...
  15. Hello guys! I'm a rookie in AutoIt lol. I've tried to looking up in MSDN and the UDFs, but it can only get the GUID of a usual partition and with the GUID to control it. Now I have no ways😥. Thanks a lot for your help!
  16. Hi guys, i have simple report in PowerPivot that shows Orders (Values) by Regions (Row) and Weeks (Columns). In Filter field is WeekDAYS (Monday,Tuesday,Wednesday,Thursday etc ) how to filter WeekDAYS Filed on WEEKDAYYesterday with autoit ? my junky try #include <Date.au3> #includ...
  17. Probably something simple, but i'm trying to create a trigger that happens if the user is idle for too long (in this example 10 seconds). #include <Timers.au3> While 1 $CurrIdleTime = _Timer_GetIdleTime() Switch $CurrIdleTime Case $CurrIdleTime >= 10001 MsgBox(64,"Current Idle Time",$Cur...
  18. Hello, I have A simple question about http request. What would be the fastest way to send mupltiple http request at the same time with autoit? The only way i figured out was to to start multiple processes. This way works fine but its not really a good way. What user would like to see 15 proce...
  19. Hello, I am alwasy struggeling to do multiple things at the same time. I have a main screen with a button which calls the function ninite1. The function "ninite1" then executes and fires a new gui. The program start to run with the gui (test) in the back ground...
  20. Hello, I am tasked with creating a program that will scan a window for an image, if the image is detected it will need to click it, and download it. (I can handle the download part) I have attempted searching online, with no avail. The closest thing I have found is the f...
  21. Hello everyone, i'm not so expert in autoit, but in these day, I spent some hours to create a script with imagesearch.. I have no syntax error and no logical error (cause the script has worked for some hours..). So i tried to upgrade it and add another function, and there, the script started to...
  22. I've been trying to find a way to make the SplashTextOn positioning be relative to the GUI placement instead of the default x,y screen coordinates. Can anyone offer some assistance?
  23. Hi, I'm writing a script that interacts with a webpage. The contents of the webpage depend on the size of the browser window. To get the (for me) correct contents from the page, the browser window must be maximized. However, I also don't need or want to see the browser window when the...
  24. Hello I created a script to split a text file to multiple files based on the first two characters of each line, Example: ORIGINAL.txt: about my brother and me. About me? Naturally, you can't know. Nature must take her course! The result of this example will be two files: AB.txt...
  25. Hello, I am wondering how to "scroll" to left and right (till the end ) on a webpage . Sending Arrow left/right only moves a bit, I wan to move isntaly to the end Up and down is easily done sending Page Up and Page Down. Any ideas? Greetings Hendrik
×
×
  • Create New...