Jump to content

Search the Community

Showing results for tags 'Chrome'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


  • 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


  • Forum
  • AutoIt


  • Community Calendar

Found 34 results

  1. Hello, usually I do Win automations, so I have no skills at all to handle HTML forms :-/ The script to catch and syntax check the required information from Excel is done. Now I'd like to automate the upload using this form, too: http://flashcardsdeluxe.com/flashcards/Upload.aspx What browser is easiest to do so? (IE, Chrome, FF) The Values $DeckCode, $DeckName, $DeckDefinition shall go to their HTML form fields finally "click" the button "upload flashcards" <table width="70%" class="cssCenter" border="0"> <tr> <td style="width: 1%">Deck&nbsp;Code</td> <td style="width: 100%"><input name="ctlDeckCode" type="text" id="ctlDeckCode" style="width:50%;" /> (no spaces allowed)</td> <td></td> </tr> <tr> <td style="width: 1%">Deck&nbsp;Name</td> <td style="width: 100%"><input name="ctlDeckName" type="text" id="ctlDeckName" style="width:50%;" /> (optional)</td> <td style="width: 1%" align="right"><input type="submit" name="ctlUpload" value="Upload Flashcards" id="ctlUpload" /></td> </tr> <tr> <td valign="top" style="padding-top: 5px" >Flashcard&nbsp;Text</td> <td colspan="2"><textarea name="ctlFlashcardText" rows="2" cols="20" id="ctlFlashcardText" style="height:280px;width:100%;"></textarea></td> </tr> </table> If someone kindly could jump in showing how to address just one of the input fields and how to "click" the "upload flashcards" button, I should be able to do the rest myself. TIA, Rudi.
  2. It seems AutoIt for Chrome is no longer working. It's not in Google Store so not able to enable. I can download the crx and drag to chrome but I can't figure out any way to enable the extension.
  3. Are there any examples of a script for Сhrome that allows you to check whether the information in the browser window has changed with a certain periodicity and signal this for 32-bit Windows.
  4. Q 1: How to judge whether the Chrome has been installed. How to get the complete route of chrome if it is installed? Q 2: How to judge whether the Adobe Flash Player has been installed.
  5. Hello, I'm trying to wright a automated process to show some URL's in chrome browsers on multiple screens. I've 4 screens and want to show on each screen another instance of chrome whit its own URL. In mine search on the site i din't find any topic for this specific problem. The way I was trying is something like : ShellExecute("chrome.exe", "http://URL1 --start-maximized") so I'll not see the addressbar but it was not opend full screen . I've some questions about this way: -Is there a way to maximize it on a dedicated screen ? (like URL1 on screen 1 , URL2 on screen 2 etc...) -Shellexecute will add a tab on a existing browser and will not open another instance, is there a way to work around this? Is there somebody who had the same problem whit chrome? thanks in advanced. edit: I've checked the chrome UDF but it din't same to get the job done....
  6. Hello all, I've been trying to figure out how to launch Google Chrome in the background (hidden) but it doesn't seem possible. I've tried the following methods: ShellExecute("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe", "", "", "", @SW_HIDE) Also I've tried: ShellExecute(@ComSpec, "/c start chrome.exe","","",@SW_HIDE) Lastly I tried: RunWait('"'&@ProgramFilesDir&'\Google\Chrome\Application\chrome.exe" --silent-launch',@ScriptDir) But all of them launch my chrome browser without hiding it. Does anyone know a workaround for this or if AutoIT just can't Chrome? Bonus points if you know how to make it launch chrome hidden and make it go to https://www.autoitscript.com Thank you, Brian
  7. I'm trying to get the output data from https://www.guilded.gg but it uses a web app that generates that output on the fly and this doesn't show up in the page source. Only in web inspector of each browser does this data show up. How do I read this data in autoit (equivalent to the web inspector) thank you
  8. Hello everyone, I could use some help with the following: I'm a speech recognition user and recently I've started to use AutoIt for additional scripting because sometimes it works faster. I would like to create an AutoIt script that will open the Chrome link on my desktop which is a a symbolic link, so that the Chrome cache is on my Ram drive: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disk-cache-dir="A:\Browser Cache" Next I want to send the website address, in this case: https://autochords.com/ (with SendKeys) to the address bar. Then another SendKeys to send Enter. I want to use this script when I'm working on my girlfriend's computer, where speech recognition isn't installed. I could use ShellExecute ("Chrome", "https://autochords.com/") but then it won't run via my ram drive. I am a Dragon NaturallySpeaking user. The program has a scripting language similar to VBA. In Dragon the command is as follows: HeardWord "open","chrome" ; HeardWord acts as if I literally said "open Chrome" this command opens any desktop shortcut no matter which window I'm working in. Wait 1500 SendKeys "https://autochords.com/" SendKeys "{Enter}"; these last three lines are similar to AutoIt language I think..... Any help would be appreciated. Rob
  9. Hi, Please help me I haven't a big experience with AutoIt and JS. I develop a macro in AutoIt which open a Chrome browser, navigate between websites clicking no some links, insert data to forms, etc... Now I can't click on an element: <a class="mr-link js-click-link" style="font-size:16px; line-height:21px;"><u>Click now</u></a> Please pointing me how it's possible. Thank you
  10. Hi, Please help me I haven't a big experience with AutoIt and JS. I develop a macro in AutoIt which open a Chrome browser, navigate between websites clicking no some links, insert data to forms, etc... Now I can't click on an element: <a class="mr-link js-captcha-link" style="font-size:16px; line-height:21px;"><u>Введите код с картинки</u></a> Please pointing me how it's possible. Thank you
  11. Is there any way to change chrome settings from Auto-it. I would like to change back and forth, between "Allow Site to show POP-ups" and "Do not Allow Site to show POP-up"?
  12. I got some code from internet and i wanted to open a incongito browser and search my website but i cant seem to open google chrome in the incongito mode. whenever i click to run my code it opens a tab in normal google chrome. heres my code now: ShellExecute("chrome.exe", "http://www.erikzandstra.nl", "--incongito")
  13. Hi, I'm trying to upload a file with a web browser but I can't select the Open File window to select the file that I want to upload. TL;DR I can't handle the Open File window of Chrome and MS Edge. AutoIt just doesn't find it by its title (in Firefox yes, but not on Chrome and MS Edge). With another software (Selenium Webdriver in Python) I access to a web page with a common HTML5 file uploader and I click on it, but when the Open File window comes up, I want to select a file and press Enter (write the filepath that I give and press Enter key or Open button). I have the idea, and I have the script on AutoIt too... but it doesn't work on Windows Edge and Chrome, only works on Firefox and Pale Moon (who are basically the same). Here is my code: #include <MsgBoxConstants.au3> $title = "Abrir" ; My Windows is in spanish, but I guess it's "Open" in English and it's the same code WinActivate($title) If WinActive($title) Then send("C:\Users\myuser\images\my_image.jpg") Send("{ENTER}") Else MsgBox($MB_SYSTEMMODAL, "WinActive", "Window not found.") EndIf In Firefox (and Pale Moon) the Open File window comes up, the file path is written and the Enter key is pressed. It works perfect. In Chrome and Edge, I never see the Open File window on top... and I neither see "Window not found" message (seems like AutoIt finds it but doesn't send keys). Edit: before to send this post, I started thinking again and... after several tests, I discovered one thing: when you select the window, in Firefox (and Pale Moon) the cursor goes to the combobox (where I have to put the text) and it's possible to write just after clicking (or opening, what in AutoIt it is "Activate" I guess) the window but in Chrome and Edge it isn't like that, when you click the window, the cursor doesn't go to the combobox. With that "discovery", I tried to select the combobox but... I failed again. And now I have no idea how to go ahead. #include <MsgBoxConstants.au3> $title = "Abrir" WinActivate($title) If WinActive($title) Then ControlClick($title, "", 1148) ; Still it does not work send("C:\Users\myuser\images\my_image.jpg") Send("{ENTER}") Else MsgBox($MB_SYSTEMMODAL, "WinActive", "Window not found.") EndIf
  14. How to calculate the number of bytes read in the active window Chrome browser? This program counts the number of bytes on the Yahoo site after pressing the F8 key. But I need to be considered in the already open, the active window Chrome browser. #include <MsgBoxConstants.au3> HotKeySet("{F10}", "Terminate") HotKeySet("{F8}", "Example") ;;;; Body of program would go here ;;;; While 1 Sleep(10000000) WEnd ;;;;;;;; Func Terminate() Exit 0 EndFunc Func Example() ; Read the file without downloading to a folder. The option of 'get the file from the local cache' has been selected. Local $dData = InetRead("https://www.yahoo.com/") ; The number of bytes read is returned using the @extended macro. Local $iBytesRead = @extended ; Display the results. MsgBox($MB_SYSTEMMODAL, "", "The number of bytes read: " & $iBytesRead & @CRLF & @CRLF ) ; EndFunc ;==>Example
  15. Prompt program, which monitors 1 word in the window Chrome browser - "super", a window title - "test", it need refreshes the window every five minutes, and if the word disappeared, beeps. This should not affect the work of other windows browser.
  16. Greetings! Func caretPlay () activateWindow () WinActivate ($workSpace) Local $myCaret = WinGetCaretPos () _ArrayDisplay ($myCaret) EndFunc Func activateWindow () $workSpace = WinGetHandle ("Login - Google Chrome") WinActivate ($workSpace) $dimensions = WinGetClientSize ($workSpace) $midPoint = $dimensions[1]/2 EndFunc Those are two little functions in a larger app I am building. When I run the "caretPlay" function it returns the same values of 0,0 regardless of where I position the caret. I did read on the function reference page for WinGetCaretPos that applications with Multiple Document Interfaces (MDIs) may not return accurate values. I tried all three options for the CaretCoordMode option with no change in results. Either I am doing something wrong or Google Chrome isn't meant to work with this function. Any advice as to which it is? Thanks!
  17. I've written a bot that is loading down pictures from a website. Basically, it opens the website, saves the picture via context menu, and hits a button for loading the next pic. Unfortunately, the pics and my internet connection aren't always the same and it takes longer to load at times. Right now I've got a sleep(3000) in my code, but it isn't very efficient. I waste time if it loads faster than 3000ms, and the program fails if it takes more than 3000ms. So I wanted to make a function that waits until the picture has loaded, and then saves it. I don't know if that causes any problems with possible functions, but it isn't the tab that's loading. The loading circle doesn't appear. It's something on the website. I've adapted to program to chrome, so I'd have to rewrite it partially for the IE functions, so it'd be nice if there was a solution for chrome. --- Thanks!
  18. Control send

    i'm trying to control send a javascript to chome developer console ControlSend("Developer Tools","","Chrome_RenderWidgetHostHWND1","hi") why it is not working ?
  19. Here's a hacky script I made to make the music key on my keyboard click the back button on my Chrome browser. You need to compile the script in to an exe, and associate "cda" file extension to the executable. Note- this also means you can reassign the music key on your keyboard to whatever executable you want using this method! AutoItSetOption("WinTitleMatchMode", 2) HotKeySet("{Escape}", "exitScript") $chromePos = WinGetPos("Chrome") If (@error <> 0) Then ConsoleWriteError("Can not find Chrome window - WinGetPos returned @error: " & @error & @CRLF) Exit EndIf $originalMousePos = MouseGetPos() MouseClick("primary", $chromePos[0] + 20, $chromePos[1] + 45, 1, 2) MouseMove($originalMousePos[0], $originalMousePos[1], 2) Func exitScript() ConsoleWrite("Exiting script..." & @CRLF) Exit EndFuncYay AutoIt3 community. Unfortunately, for the most part at work I've moved on to OSX machines (meh). Seems like that's what all the companies are developing on lately.
  20. hey guys i got the Chrome and MozillaFF UDFs and i was trying to find these two functions or alike with their functions at least... _IEFrameGetCollection _IETagNameGetCollection Does anyone familiar with these know what might help me..
  21. Hi! Im trying to use Java.au3 UDF into a develop but when i hit F5 i receive an error saying "$javaferret_obj_role: undeclared global Variable" This part of develop its not mine so i dont understund why the error. I have instaled Java as i saw in other topic and dosnt work. Any can help me? Im working with Chrome. Regards
  22. Hi all Can IUIAutomation automate existing instances of Chrome to find objects (by ID, for example) within iframes and set text of inputs within them ? I need to basically poll existing Chrome instances regularly to see if a login form is loaded (which will itself be loaded in an iframe potentially within any number of tabs/instances). Chrome will have accessibility 'on', but there are restrictions that won't permit the installation of any non-mainstream extensions etc (othewise would have looked at the _Chrome_UDF). I started dabbling with Selenium (via Selenium Wrapper ) and it worked well spawning an instance of Chrome browser etc - but I later realised that it can't attach to an existing instance of Chrome... I've looked at Junkew's IUIAutomation framework and could see might be feasible to manipulate controls by click etc - but not necessarily at a DOM / DOM tree level... Anyone got any experience / success with this specific issue ? TIA
  23. This is a really simple script to auto-start a URL in Chrome fullscreen when a Windows computer reboots. This allows me to have digital signage created with Google Slides auto-launch fullscreen in a Chrome browser window, but also allows me to schedule automatic Windows updates with auto-restart at 1 am. When Windows reloads, it automatically logs on and goes to the desktop, and then this script relaunches Chrome where we left off. The target URL is placed in a folder on the desktop called "AutoURL". To change to a new launch target simply replace the URL file in there, close Chrome, and relaunch this script. It only reads the first matching *.URL file and ignores everything else. ; Auto-launch any URL in Chrome fullscreen at Windows startup ; by Dale Mahalko - dmahalko@gmail.com ; #AutoIt3Wrapper_Change2CUI=y $URLFile=FileFindFirstFile ( @DesktopDir & "\AutoURL\*.url" ) IF $URLFile <> -1 Then $TheFile = @DesktopDir & "\AutoURL\" & FileFindNextFile($URLFile) ConsoleWrite("Found first *.url file: " & $TheFile & @CRLF) $sURL=IniRead( $TheFile,"InternetShortcut","URL","") ConsoleWrite("URL: " & $sURL & @CRLF) $Params = " --start-fullscreen " & Chr(34) & $sURL & chr(34) ConsoleWrite("Params: " & $Params & @CRLF) ShellExecute(@ProgramFilesDir & "\Google\Chrome\Application\chrome.exe", $Params ) EndIf FileClose($URLFile)Setup: 0. Install Google Chrome. 1. Enable Windows Automatic Update, to run at some time when the sign doesn't need to be viewed. 2. Create either a local user account on the machine, or a network domain account. 3. Using the Registry editor, set up Windows AutoAdminLogon so this account automatically logs on and goes to the desktop at system startup. Be sure to specify the username as either LocalMachineName\Username or DomainName\Username ... the password is plaintext in the registry using AutoAdminLogin, so don't give this account administrative privileges. 4. Using the auto-login account, create a desktop folder called "AutoURL" 5. Compile this script, and put the program in the Startup folder of the auto-logon account. Also put a shortcut to this program on the desktop. Usage: 6. In Chrome highlight the text in the address bar of the page you want to auto-launch. Now point at the highlighted text and drag the it onto the Windows desktop, onto the "AutoURL" folder. This will create a *.URL file in the folder, pointing to that address. 7. If there is old/previous URL file present in the "AutoURL" folder, delete it or move it out. 8. If Chrome is open, close it, and run this script via the shortcut on the desktop to relaunch the URL fullscreen. Simple sample kitteh Google Slides slideshow I created for testing this: https://docs.google.com/presentation/d/1GyrKkNy6HQvvN4CVVMsDe8CR3DtRV0EwgF9_3iTH8rQ/pub?start=true&loop=true&delayms=3000
  24. Hi guys, First and foremost I just want to thank you'll for all the help that you been given to me. Autoit forum is one of the best forums I been a part of, if not the best. Secondly, I have another question for your guys and hopefully one of you all can help me with it. All I want to do is to open chrome and interact with the page by clicking in one of the options of the webpage. My problem is that the option or button that I want to interact with doesn't have an "id" that I can use. So I decided to run a queryselector method and tried to add that to the script. According to what I understood from the UDF "Chrome.au3" the function name _ChromeEval() could perform that, below is my script: ; Closes Chrome if open _ChromeShutdown() ; Opens Chrome with that link, is that a way to use incognito with this function??? _ChromeStartup("https://link.gexcxcxcxtsync.com") ; Wait for the page with the document title of "itTorrent Sync - Link received" _ChromeDocWaitForExistenceByTitle("itTorrent Sync - Link received", 10) ; I ran this query selector on chrome tools and it found the button I want to interact with ; I just need help running this in autoit _ChromeEval(document.querySelector(".btn-primary-stroke"), 5 ) Thank you again
  25. Hi there, I need to automate some tasks in Google Chrome. I need to send one e-mail/day to same address but different attachment and different subject. So i am seeking guidance from you. Thanks in advance. note: Extra informations 1. Attachments are pdf files. And they always reside in same folder. 2. Subject text's 95% will be always same. i.e. If today's subject is "Myworkname myfilename #250", then tomorrow's subject will be like this "Myworkname myfilename #251" 3. And name of the attachment is also in the same manner. i.e. If today's attachment's name is "Myfilename 250" then tomorrow's file will be "Myfilename 251" I only know to automate this task with MouseClick() function. But chances are there to zoom the gmail window. So mousclick will not work.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.