Search found 23 matches

by arathra
01 May 2021, 23:11
Forum: Ask for Help (v1)
Topic: Image Search not working on 1 monitor
Replies: 3
Views: 341

Re: Image Search not working on 1 monitor

Thank you for your replies and suggestions. It took a long time and a lot of fiddling but I did get it to work in the end. And I'm a bit embarrassed to say it mainly my fault - an errant bit of code changed the settings on one PC if ( PC identifier == XYZ ) change viewport settings Ho hum... :oops:
by arathra
30 Apr 2021, 08:00
Forum: Ask for Help (v1)
Topic: Image Search not working on 1 monitor
Replies: 3
Views: 341

Image Search not working on 1 monitor

Is there any reason why ImageSearch might not work on one particular monitor but it will work on another when the AHK script is exactly the same? I took a screenshot on PC 1 of a small area of the screen and put it into a PNG file. ImageSearch finds it on PC 1 monitor no problem. I took a screenshot...
by arathra
11 Jul 2018, 08:15
Forum: Ask for Help (v1)
Topic: GUI
Replies: 3
Views: 916

Re: GUI

Thank you very much indeed for that.

In the end I went for this one:

Code: Select all

...
Gui, Add, Button, w120 h40 gCheckCountry, Poland
...

CheckCountry:
country := A_GuiControl
DoUrl( country )
Again, thanks to you both for the suggestions.
by arathra
11 Jul 2018, 06:53
Forum: Ask for Help (v1)
Topic: GUI
Replies: 3
Views: 916

GUI

Hi - I hope someone can help. I have a functioning script but it seems very clumsy to me and I'm sure there's a far better way of writing it. Basically I have a GUI which presents a number of buttons, each of which is the name of a country. It looks something like this (in the actual version there a...
by arathra
01 Feb 2018, 09:39
Forum: Forum Issues
Topic: saying thanks
Replies: 2
Views: 2199

saying thanks

Maybe I've just missed it, but is there a "thanks" button to thank individual posts or members for help? I've got some great ideas on this forum either in direct response to a query I've posted or from another thread and I'd like to thank those who've posted help for me. You know, spread the kudos a...
by arathra
31 Jan 2018, 10:47
Forum: Ask for Help (v1)
Topic: find text on webpage & move cursor to that position Topic is solved
Replies: 11
Views: 5167

Re: find text on webpage & move cursor to that position Topic is solved

That's a REALLY interesting idea. I've not used ImageSearch before but I do think it will work in my case.

Thanks!!
by arathra
31 Jan 2018, 07:45
Forum: Ask for Help (v1)
Topic: find text on webpage & move cursor to that position Topic is solved
Replies: 11
Views: 5167

find text on webpage & move cursor to that position Topic is solved

This is what I'm trying to do 1. Open a webpage (no problem) 2. Send Crl-F a do a search for, SEARCHWORD on the webpage - the word is then highlighted on the page (I'm using Opera BTW) (no problem) This works fine in AHK but then I'd like to 3. Move the cursor to the highlighted text on the page. I ...
by arathra
11 Mar 2017, 05:23
Forum: Ask for Help (v1)
Topic: same script, different computers, different results...
Replies: 3
Views: 1254

Re: same script, different computers, different results...

So far as I can tell the script is dropping out in the middle for some reason. I tested it on a different laptop and it works fine. The laptop where it doesn't work is fairly new, decent spec and so on. I'm having to go through the script very slowly to isolate the problem but it *appears* that it h...
by arathra
11 Mar 2017, 02:21
Forum: Ask for Help (v1)
Topic: same script, different computers, different results...
Replies: 3
Views: 1254

same script, different computers, different results...

This is a very general enquiry as I'm only starting to debug now and there's a lot to go through. Before I get into the nitty-gritty I'm wondering if there's something obvious I should look at first or if someone else has had a similar experience. The Problem: Basically I have a script which opens a...
by arathra
17 Dec 2016, 12:09
Forum: Ask for Help (v1)
Topic: Move Mouse to Highlighted Text
Replies: 0
Views: 686

Move Mouse to Highlighted Text

Simply put, my AHK script opens a webpage and searches for a particular string. When it finds it within the webpage, I want to be able to 1) put the mouse cursor at the location where the text was found 2) move the cursor a bit to the left where there is a hyperlink 3) send a click I can do #3 only!...
by arathra
07 Dec 2016, 12:18
Forum: Ask for Help (v1)
Topic: how to shuffle elements in an array Topic is solved
Replies: 2
Views: 3245

Re: how to shuffle elements in an array Topic is solved

Thank you very much, Kon. I didn't use the first solution as the list of rows in the CSV is very long indeed. And the third solution I couldn't get to work. But the second one came out fine. For reference this is my final code: vURLFile := A_WorkingDir . "\webpages.csv" Loop Read, %vURLFile% { SubAr...
by arathra
25 Nov 2016, 12:47
Forum: Ask for Help (v1)
Topic: how to shuffle elements in an array Topic is solved
Replies: 2
Views: 3245

how to shuffle elements in an array Topic is solved

I have a csv file which is read into an array. I'd like to be able to shuffle the elements in that array so that later when I loop through it the elements will display in a different order from the original csv file. The CSV file is separated by a semi-colon something like this: word;language hello;...
by arathra
03 Nov 2016, 09:41
Forum: Ask for Help (v1)
Topic: Running MySQL Queries from AHK
Replies: 3
Views: 2757

Re: Running MySQL Queries from AHK

I've spent the last couple of hours with the dll system. I can access my MySQL database remotely using HeidiSQL so I know that access is possible and that the passwords and username is all correct. However, when I use exactly the same info in connect_mysql.ahk I get this error message. Cannot connec...
by arathra
03 Nov 2016, 05:16
Forum: Ask for Help (v1)
Topic: Running MySQL Queries from AHK
Replies: 3
Views: 2757

Running MySQL Queries from AHK

Can AHK connect to MySQL and run a couple of basic queries (SELECT and also UPDATE). I looked around the forum and site and found a MySQL library thread but, to be honest, I didn't really understand how to implement it and join AHK with MySQL. I can set up the DB fine and have a decent enough workin...
by arathra
06 Oct 2016, 12:37
Forum: Ask for Help (v1)
Topic: How to empty an array?
Replies: 8
Views: 6248

Re: How to empty an array?

With this: global SearchWordsArray := Object() ; do some stuff SearchWordsArray := "" ; load array Then the array does not load and returns a length of 0. This, however, loads and returns a length appropriate to what was inserted: global SearchWordsArray := Object() ; do some stuff SearchWordsArray ...
by arathra
06 Oct 2016, 06:50
Forum: Ask for Help (v1)
Topic: How to empty an array?
Replies: 8
Views: 6248

Re: How to empty an array?

I didn't realise that wasn't a method - I found it in the archived forums but obviously made a mistake. This appears to work then: global SearchWordsArray := Object() ; fill it with stuff, do stuff with it then... empty it thus: SearchWordsArray := Object() ; then refill with other stuff and so on D...
by arathra
06 Oct 2016, 05:09
Forum: Ask for Help (v1)
Topic: How to empty an array?
Replies: 8
Views: 6248

How to empty an array?

This should be easy but for the life of me I can't get it working. How can I empty an array? global SearchWordsArray := Object() ; fill it with stuff, do stuff with it then... try this but it doesn't appear to work SearchWordsArray.RemoveAll() ; then refill with other stuff and so on Thanks for any ...
by arathra
06 Oct 2016, 04:51
Forum: Ask for Help (v1)
Topic: MsgBox modal not working as I need
Replies: 3
Views: 1260

Re: MsgBox modal not working as I need

Thanks for that. BlockInput looks interesting so yes, I'll play around with that a bit - and I can already see myself getting locked out of the computer :)
by arathra
04 Oct 2016, 07:38
Forum: Ask for Help (v1)
Topic: MsgBox modal not working as I need
Replies: 3
Views: 1260

MsgBox modal not working as I need

Not sure if I'm doing this right, but I have a MsgBox which I'd like modal so that it is impossible to do anything until the OK button has been clicked or the MsgBox times out . This is my current code: MsgBox, 4144, Found!, Excited Message, 5 The box remains on top but I'm still able to click the w...
by arathra
15 Sep 2016, 10:40
Forum: Ask for Help (v1)
Topic: Force FormatTime to use different language
Replies: 3
Views: 1742

Re: Force FormatTime to use different language

Thank you! This works very well.

Go to advanced search