Search found 1270 matches

by Blackholyman
09 Nov 2018, 13:09
Forum: Ask For Help
Topic: PixelSearch search area always finds colour
Replies: 9
Views: 146

Re: PixelSearch search area always finds colour

The number you are searching for is the wrong format

It needs to be a hex or decimal number, so you are missing 0x to make your color id a hexidecimal number
by Blackholyman
17 Oct 2018, 00:49
Forum: Ask For Help
Topic: Excel COM SaveAs with variable for name - XL.ActiveWorkbook.SaveAs("C:\" variable ".xlsx" not working
Replies: 3
Views: 111

Re: Excel COM SaveAs with variable for name - XL.ActiveWorkbook.SaveAs("C:\" variable ".xlsx" not working

first thing i see is that you have : in the time stamp so the string in the variable has a char that can't be used in a file name
by Blackholyman
25 Sep 2018, 07:49
Forum: Ask For Help
Topic: Using millions of hotstrings any tips?
Replies: 7
Views: 239

Re: Using millions of hotstrings any tips?

Example: #Persistent #SingleInstance force Hotstring("(\/242)(\+|\-)?(\d+)(\+|\-)(\d+) ", "function", 3, false) Return ;~ /2420+12 = 1/24*12+Input*+1/24*12 ;~ /242+1+12 = 1/24*13+Input*+1/24*12 ;~ /242+2+9 = 1/24*14+Input*+1/24*9 ;~ /242+5+6 = 1/24*17+Input*+1/24*6 ;~ /242-2+9 = 1/24*10+Input*+1/24*...
by Blackholyman
25 Sep 2018, 06:29
Forum: Ask For Help
Topic: copy the selection from webpage and pasting in excel Topic is solved
Replies: 12
Views: 350

Re: copy the selection from webpage and pasting in excel Topic is solved

yes it is, but without knowing almost exactly what and from where its hard to give examples that you can use

note: when using ClipWait remember to clear out the clipboard before, else it will not work correctly
by Blackholyman
14 Sep 2018, 07:29
Forum: Ask For Help
Topic: Portable AHK version?
Replies: 2
Views: 85

Re: Portable AHK version?

ahk is portable as is, you can just get the zip version https://autohotkey.com/download/ahk.zip
by Blackholyman
14 Sep 2018, 02:07
Forum: Offtopic
Topic: Answer a question, ask a question
Replies: 11
Views: 540

Re: Answer a question, ask a question

Q: What's going on?
A: Life

Q: what's the answer to life the universe and everything?
by Blackholyman
14 May 2018, 07:09
Forum: Ask For Help
Topic: Web scraping using IE - problem when the index number of a element changes Topic is solved
Replies: 6
Views: 276

Re: Web scraping using IE - problem when the index number of a element changes Topic is solved

if you look at my code example i find the element (a button) with the className "like-button-renderer-like-button", and store a ref to it in the variable likeButtonIconElement then in the next line i go out from that element and use parentNode to get to its parent element in this case a span with a ...
by Blackholyman
14 May 2018, 05:47
Forum: Ask For Help
Topic: Web scraping using IE - problem when the index number of a element changes Topic is solved
Replies: 6
Views: 276

Re: Web scraping using IE - problem when the index number of a element changes Topic is solved

one way is to find an element that has something unique like an id or some class text unique to that element and work out from that... Example: wb := ComObjCreate("InternetExplorer.Application") wb.Visible := False wb.Navigate("https://www.youtube.com/watch?v=CYpcK0tDU58") while wb.ReadyState != 4 s...
by Blackholyman
08 Mar 2018, 02:34
Forum: Ask For Help
Topic: Need help with pixel detection reaction
Replies: 8
Views: 413

Re: Need help with pixel detection reaction

also to what @BoBo said there is a VLC http interface that lets you control and grab info about the currently playing video https://autohotkey.com/board/topic/83886-vlc-http-2-interface-library-for-lastest-vlc-media-player/ one idea is to check every two seconds if the current elapsed time of the cu...
by Blackholyman
07 Mar 2018, 03:07
Forum: Ask For Help
Topic: Need help with pixel detection reaction
Replies: 8
Views: 413

Re: Need help with pixel detection reaction

to keep the script running https://autohotkey.com/docs/commands/_Persistent.htm how about using a timer insted og your while loop? https://autohotkey.com/docs/commands/SetTimer.htm something like this SetTimer, checkVlcpixel, 250 return checkVlcpixel: if (GetColor(thisColor) != GetColor(thatColor)) ...
by Blackholyman
15 Feb 2018, 02:09
Forum: Ask For Help
Topic: Excel COM Insert (and Delete) Methods
Replies: 4
Views: 368

Re: Excel COM Insert (and Delete) Methods

yeah you need to use the value of the constants not the string name of them in AHK, most just do like jeewg showed but that is just for human readablity you only need .Insert(-4121)


look under point 5 here https://autohotkey.com/boards/viewtopic.php?t=8978
by Blackholyman
14 Feb 2018, 04:47
Forum: Ask For Help
Topic: Random "bugs" in Autohotkey? Topic is solved
Replies: 44
Views: 2323

Re: Random "bugs" in Autohotkey? Topic is solved

As a little update, Xtra solution does not work 100% of the time. I would say about 90%, which is way greater that the other solutions and it's definitely an improvement. Sometimes it does not work and what it does is delete what was selected, without replacing it with anything... but a great impro...
by Blackholyman
13 Feb 2018, 07:11
Forum: Ask For Help
Topic: syntax with referenced variables Topic is solved
Replies: 2
Views: 192

Re: syntax with referenced variables Topic is solved

try this

Code: Select all

	Vu:="{Volume_Up}"
	send %Vu%

	Vu:="{Volume_Up}"
	send % Vu

	Vu={Volume_Up}
	send %Vu%
by Blackholyman
13 Feb 2018, 05:18
Forum: About This Community
Topic: New Homepage suggestions
Replies: 114
Views: 41246

Re: New Homepage suggestions

hi, just a little input in the hopes of fixing this issue http://drive.google.com/uc?export=view&id=1yQoLw5EjqbkiNqNlH7YRey8HO1geG4WZ in this css file https://autohotkey.com/assets/mobirise/css/mbr-additional.css change this part @media screen and (max-width: 360px) {#header1-1 H1{font-size:3.5em!im...
by Blackholyman
13 Feb 2018, 03:08
Forum: Offtopic
Topic: « What's on your mind? » Topic is solved
Replies: 3984
Views: 500375

Re: « What's on your mind? » Topic is solved

Comparison of 4 RPA technologies (UiPath, VBA, Python/Selenium, Autohotkey) https://www.youtube.com/watch?v=BOGJxjohFyg http://repoman.pl/why-robots-cost-so-much/ well nice video but without seeing the code he used the comparison is not really possible as all of the tools may have better ways of do...
by Blackholyman
08 Feb 2018, 18:08
Forum: Ask For Help
Topic: Click Elements by ID Topic is solved
Replies: 32
Views: 1463

Re: Click Elements by ID Topic is solved

It May simply not be a butten element Can you post the html of you button or page with the button
by Blackholyman
08 Feb 2018, 16:44
Forum: Ask For Help
Topic: Click Elements by ID Topic is solved
Replies: 32
Views: 1463

Re: Click Elements by ID Topic is solved

Try this

Code: Select all

Sleep, 10000
	clipboard := "" ; empty clipboard for clipwait to work
	wb.document.getElementById("copyLink_13965").click() ; By ID
        Clipwait, 1
	MsgBox, %clipboard%
by Blackholyman
08 Feb 2018, 15:15
Forum: Ask For Help
Topic: Click Elements by ID Topic is solved
Replies: 32
Views: 1463

Re: Click Elements by ID Topic is solved

You need to wait for the page to load before interacting with it

As a test you Can use sleep or one of the other wait methods show
by Blackholyman
08 Feb 2018, 08:49
Forum: Ask For Help
Topic: Click Elements by ID Topic is solved
Replies: 32
Views: 1463

Re: Click Elements by ID Topic is solved

Lots of info about this, from Full tutorials to short easy how to videos https://autohotkey.com/board/topic/47052-basic-webpage-controls-with-javascript-com-tutorial/ https://autohotkey.com/board/topic/64563-basic-ahk-v11-com-tutorial-for-webpages/ https://youtu.be/dOSnBJGoe_Q https://autohotkey.com...

Go to advanced search