Search found 84 matches
- 25 Jan 2019, 04:18
- Forum: Ask for Help (v1)
- Topic: The RPC server is unavailable. COM
- Replies: 4
- Views: 1979
Re: The RPC server is unavailable. COM
When you get back to your computer and you visit the site, can you load it? Good point, because many websites don't like webscrapers. Depending on the frequency, your IP might get banned by the site. I have been banned once for a one-hour(!)-cycle (after a few days). Other websites are much more fo...
- 25 Jan 2019, 04:17
- Forum: Ask for Help (v1)
- Topic: The RPC server is unavailable. COM
- Replies: 4
- Views: 1979
Re: The RPC server is unavailable. COM
I can load it if I reopen the browser, but if I click yes to wait, or refresh the IE window that my COM is attached to and then press yes to continue my script, it doesn't work - same error.AHKStudent wrote: ↑24 Jan 2019, 04:31When you get back to your computer and you visit the site, can you load it?
- 24 Jan 2019, 04:09
- Forum: Ask for Help (v1)
- Topic: The RPC server is unavailable. COM
- Replies: 4
- Views: 1979
The RPC server is unavailable. COM
Hello, I've made a script that crawls a website, but it takes over a day to run. When I leave my computer running while I'm not using the computer it will break after a period of time. I ran the script at about 11:00, no problems to the point where I left my computer at ~17:00, and it broke at ~21:0...
- 01 Jul 2018, 16:33
- Forum: Ask for Help (v1)
- Topic: Remove both duplicates from a text file
- Replies: 6
- Views: 1532
Re: Remove both duplicates from a text file
Hello, it is very possible. Try these: https://autohotkey.com/docs/misc/Arrays.htm https://autohotkey.com/docs/commands/IfExpression.htm https://autohotkey.com/docs/commands/FileAppend.htm https://autohotkey.com/docs/commands/Loop.htm https://autohotkey.com/docs/commands/LoopReadFile.htm https://aut...
- 18 Feb 2018, 08:21
- Forum: Ask for Help (v1)
- Topic: TrayTip not working and can't figure it out! Topic is solved
- Replies: 5
- Views: 3957
Re: TrayTip not working and can't figure it out! Topic is solved
What does that mean, "not working"? It doesn't show up at all? Is that your complete script? Do other scripts work? Which windows and AHK versions are you running? Hi there, thanks for the reply. I have multiple other scripts that work fine, and I'm using Windows 10. The script makes no appearance ...
- 18 Feb 2018, 06:08
- Forum: Ask for Help (v1)
- Topic: TrayTip not working and can't figure it out! Topic is solved
- Replies: 5
- Views: 3957
TrayTip not working and can't figure it out! Topic is solved
TrayTip #1, This is TrayTip #1 Sleep 3000 ; Let it display for 3 seconds. HideTrayTip() TrayTip #2, This is the second notification. Sleep 3000 ; Copy this function into your script to use it. HideTrayTip() { TrayTip ; Attempt to hide it the normal way. if SubStr(A_OSVersion,1,3) = "10." { Menu Tra...
- 10 Nov 2017, 04:30
- Forum: Ask for Help (v1)
- Topic: If var not in list - NOT WORKING
- Replies: 3
- Views: 1986
Re: If var not in list - NOT WORKING
What I'm actually trying to do is create a list variable that includes multiple options, and then have the function compare the list to another variable that will have generated results. Example: Loop 550 { var := A_Index list := 5,7,8,520 if var not in %list% { msgbox, % var " != " list } } Sorry f...
- 09 Nov 2017, 12:23
- Forum: Ask for Help (v1)
- Topic: If var not in list - NOT WORKING
- Replies: 3
- Views: 1986
If var not in list - NOT WORKING
Code: Select all
var := "hi, hello"
list := "hi, hello"
if var not in list
{
msgbox, error
}
https://autohotkey.com/docs/commands/IfIn.htm
I've had a read of this, and I'm clueless.
- 05 Oct 2017, 14:28
- Forum: Gaming Help (v1)
- Topic: Auto broadcast game when full screen game is detected using nvidia geforce Topic is solved
- Replies: 1
- Views: 749
- 05 Oct 2017, 14:19
- Forum: Gaming Help (v1)
- Topic: sending "!" in text Topic is solved
- Replies: 3
- Views: 986
Re: sending "!" in text Topic is solved
Code: Select all
F4::
Loop, 1000000
{
SendRaw, !Ping
SendInput, {Enter}
Sleep 1
}
Return
F5::
Reload
Return
- 17 Jul 2017, 10:11
- Forum: Ask for Help (v1)
- Topic: if today = monday || wednesday || friday then do this - problem Topic is solved
- Replies: 2
- Views: 1300
if today = monday || wednesday || friday then do this - problem Topic is solved
Hi there,
This doesn't work, and I have no idea why.
I have multiple scripts where using if with or's works fine.
Code: Select all
FormatTime, today,, dddd
if today = Monday || Wednesday || Friday
{
msgbox, hi
}
I have multiple scripts where using if with or's works fine.
- 05 Jul 2017, 07:57
- Forum: Ask for Help (v1)
- Topic: Proxy for IE only - Need help
- Replies: 0
- Views: 551
Proxy for IE only - Need help
So i've found this code that will use a proxy for the registry, but that uses the proxy on the computer globally. I would like to figure out a way to make it only apply to Internet Explorer, for when I do COM related tasks. setproxy("","ON") return ;Set ProxyOverride to your exception list separated...
- 10 Apr 2017, 11:10
- Forum: Ask for Help (v1)
- Topic: COM Gathering links from a webpage - HELP
- Replies: 1
- Views: 627
COM Gathering links from a webpage - HELP
Hello, I am well aware of how arrays function, such as: Array := [] Array.Push(links) But I'm struggling on the part where you gather the links. I know how to grab the innertext of the links: links := wb.document.getElementsByClassName("h1").innertext Which would output "Title" What I want to know i...
- 26 Mar 2017, 06:20
- Forum: Ask for Help (v1)
- Topic: Check if YouTube video is paused.
- Replies: 2
- Views: 1277
Re: Check if YouTube video is paused.
The aria-label's innertext changes from pause/play depending on the video's state.
- 16 Mar 2017, 08:45
- Forum: Ask for Help (v1)
- Topic: Access is denied - Web COM Help!
- Replies: 0
- Views: 1247
Access is denied - Web COM Help!
Hey, I've got a piece of code that grabs elements on a webpage, and puts them into a CSV. At the end it loops through into another page, and repeats the code, with the elements on the new page being identical to the code previous. My problem is that once on this new page, I instantly get access is d...
- 27 Feb 2017, 15:56
- Forum: Ask for Help (v1)
- Topic: D Enter Enter After right click Topic is solved
- Replies: 4
- Views: 1885
Re: D Enter Enter After right click Topic is solved
Code: Select all
RButton::
Send, D{Enter}{Enter}
return
F10::Exitapp
- 23 Feb 2017, 06:49
- Forum: Ask for Help (v1)
- Topic: CSV Targeting cells, and forming a calculation from it Topic is solved
- Replies: 3
- Views: 1408
- 22 Feb 2017, 18:06
- Forum: Ask for Help (v1)
- Topic: CSV Targeting cells, and forming a calculation from it Topic is solved
- Replies: 3
- Views: 1408
Re: CSV how to get the average of cells together if their names are the same? Topic is solved
I've gathered enough information to construct this, but I need just a little help with the targeting of cells for OpenOffice Calc. Loop 6 { Counter := 0 FileReadLine, Output, FileName, %Counter% if ( ; Cell: B2 = Cell: B3) sum := (Cell: A2 + Cell: A3) / 2 FileAppend, %sum%, FileName ; to Cell: A2 ; ...
- 22 Feb 2017, 10:36
- Forum: Ask for Help (v1)
- Topic: CSV Targeting cells, and forming a calculation from it Topic is solved
- Replies: 3
- Views: 1408
CSV Targeting cells, and forming a calculation from it Topic is solved
Hello, I'm looking for a way of getting the average of cells for example: cell B1 (4.50) with cell C1 (2.84) if cell B2, and C2 are the same. This is my CSV with the cells separated by a | for your convenience: 5.95 | Name A 3.85 | Name A 59.50 | Name B 329 | Name C 39.1 | Name C 393 | Name C So the...
- 21 Feb 2017, 14:43
- Forum: Ask for Help (v1)
- Topic: IE COM - How to copy data based on its text
- Replies: 1
- Views: 821
IE COM - How to copy data based on its text
So this is the HTML that I use for pulling the data. <tr class="row"><th class="rowh" scope="row">Text</th> <td class="rowd">OutputText</td></tr> And what I want is to only find the data in a table header (<th>) with the word "Text" inside, and go to the column beside it (<td>) and grab the data tha...