Search found 15 matches

by ars4l4n
27 Nov 2023, 09:20
Forum: Ask for Help (v1)
Topic: ControlSend doesn't work Topic is solved
Replies: 2
Views: 431

Re: ControlSend doesn't work Topic is solved

What happens if you double-click a script with only this code ControlSend,, {F14}, ahk_exe MusicBee.exe or if you replace ScrollLock by another key? neither doubleclicking the script with just that code nor using my original script with a different hotkey (like the up arrow) causes the action for t...
by ars4l4n
26 Nov 2023, 15:18
Forum: Ask for Help (v1)
Topic: ControlSend doesn't work Topic is solved
Replies: 2
Views: 431

ControlSend doesn't work Topic is solved

#IfWinExist ahk_exe MusicBee.exe ScrollLock:: ControlSend,, {F14}, ahk_exe MusicBee.exe return It used to work when I just did ScrollLock::F14 but now nothing fires to solve this I tried: closing all other scripts and running a blank script with the above code on its' own don't know what my next st...
by ars4l4n
11 Oct 2023, 15:07
Forum: Ask for Help (v1)
Topic: Script doesn't launch a URL anymore Topic is solved
Replies: 2
Views: 370

Re: Script doesn't launch a URL anymore Topic is solved

To test, remove the loop, display the active window's title, determine whether the WinWait "succeeds", and display the values of your conditional statements, variables, and function calls (values returned). Determine whether the Run line ever executes. Indentation can look good but has no effect on...
by ars4l4n
11 Oct 2023, 04:18
Forum: Ask for Help (v1)
Topic: Script doesn't launch a URL anymore Topic is solved
Replies: 2
Views: 370

Script doesn't launch a URL anymore Topic is solved

I had a script running whose purpose was to launch the Google Calendar website once I clicked the Windows 10 Calendar Event textfield that's launched when clicking on the screens' bottom right corner clock It worked fine for a day but now Run, https://calendar.google.com/ doesn't do anything anymore...
by ars4l4n
01 Oct 2023, 10:55
Forum: Ask for Help (v1)
Topic: Script started behaving weirdly after a few hours
Replies: 3
Views: 377

Re: Script started behaving weirdly after a few hours

bump
@just me
I feel like as germans we should work together on this
by ars4l4n
25 Sep 2023, 12:01
Forum: Ask for Help (v1)
Topic: Script started behaving weirdly after a few hours
Replies: 3
Views: 377

Re: Script started behaving weirdly after a few hours

If I try to run this schript it raises an error: Error at line 0: No script! #NoEnv ; #Warn SendMode Input SetTitleMatchMode, 2 #Include C:\Program Files\AutoHotkey\Chrome Library\Chrome.ahk Loop { WinWaitActive, Date and Time Information If MouseIsInCreateEventBox() if GetKeyState("LButton","P") G...
by ars4l4n
25 Sep 2023, 08:34
Forum: Ask for Help (v1)
Topic: (Chrome.ahk) getting an error running this simple javascript just on a particular website
Replies: 0
Views: 175

(Chrome.ahk) getting an error running this simple javascript just on a particular website

I'm using this script to select the youtube searchfield but it sometimes gives me an error which I don't understand because I'm running an almost identical script for other websites and they don't have any issues either. Error: https://i.imgur.com/FhcaQCL.png #simplified version of the script: #NoEn...
by ars4l4n
25 Sep 2023, 06:56
Forum: Ask for Help (v1)
Topic: Script started behaving weirdly after a few hours
Replies: 3
Views: 377

Script started behaving weirdly after a few hours

I had this script running for a while but now it doesn't seem to be doing anything anymore. Maybe it's because I used GoogleCalendarCreateEvent() incorrectly? I made a version of the script where I basically write it exactly the same except instead of using GoogleCalendarCreateEvent() I write all th...
by ars4l4n
11 Sep 2023, 15:03
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 460603

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!

I'm using this script to select the youtube searchfield but it sometimes gives me an error which I don't understand because I'm running an almost identical script for other websites and they don't have any issues either. Screenshot of the Error #NoEnv ; Recommended for performance and compatibility ...
by ars4l4n
11 Sep 2023, 12:31
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 460603

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Hi, @ars4l4n, document.querySelector("#twotabsearchtextbox")click(); runs without error for me too, but there's no event listener yet. Try this: inputbox = document.querySelector("#twotabsearchtextbox"); inputbox.addEventListener('click', function (event) { alert('Element clicked through function!'...
by ars4l4n
14 Sep 2020, 19:55
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 460603

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Tre4shunter I can't figure out what to do with your codesnippet in regards to my script though Edit: I hope you're not reluctant to answer because you got the impression I didn't try properly figuring this out on my own So if I understand correctly this is some method for cycling through searchfiel...
by ars4l4n
14 Sep 2020, 07:42
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 460603

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

burque505 How did you know to use this code? When I google for "search field java", "java ahk" etc. I don't find any useful resources for automating java pages with ahk Besides that, is there like an addressbar unfocus function to use instead of Send, {Tab}? (Something that doesn't make stuff move ...
by ars4l4n
13 Sep 2020, 04:40
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 460603

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Tre4shunter in my usecase I want to just select the textbox and not have the script type something into it. I just don't like that they don't immediately activate the textbox, I think it's a bad UI decision by them burque505 But knowing about inserting a text into the textbox via the script also se...
by ars4l4n
12 Sep 2020, 16:03
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 460603

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

So I was watching the Part 3 of Automating Chrome via the Chrome library video tutorial and the author says I should look out for an imported script, in this case ace.js to look at the documentation of that particular service and see how I can interact with that type of code. Now I'm on this site wi...
by ars4l4n
26 Aug 2020, 07:41
Forum: Ask for Help (v1)
Topic: I need help working with AHK with chrome
Replies: 19
Views: 14351

Re: I need help working with AHK with chrome

Like for some others, the script doesn't do anything on my pc.
Using: Windows 10 64 bit Version 10.0.18362 Build 18362,
AHK Version 1.1.29.00 from 2018

I'll try a newer version...

updated to the 1.1.33.02 July 2020 version, still no difference (REEEEEEEEEEEEEEEEEE)

Go to advanced search