Search found 85 matches

by x32
19 Aug 2018, 12:48
Forum: Ask For Help
Topic: Interface with Android Apps?
Replies: 0
Views: 49

Interface with Android Apps?

Sorry for asking here but I don't know what terms to Google so I have to start somewhere. I saw the announcement on Facebook for using AHK to automate Android apps. Is it possible to control ahk scripts, or more likely scripts compile to exe, from an Android app? Or... can an Android app read and wr...
by x32
28 Jul 2018, 22:22
Forum: Ask For Help
Topic: Convert minutes to hours and minutes.
Replies: 2
Views: 116

Re: Convert minutes to hours and minutes.

Great, thanks for this.

I had actually found a way using the old MCI library. It has a function to convert minutes to milliseconds and another to convert milliseconds to hours, minutes, and seconds. That worked but this is much simpler. Thanks again.
by x32
27 Jul 2018, 18:44
Forum: Ask For Help
Topic: Convert minutes to hours and minutes.
Replies: 2
Views: 116

Convert minutes to hours and minutes.

My printer gives me time remaining in minutes, I am trying to convert that into hours and minutes. For instance if it tells me 90 minutes left I would like to convert it to 1:30. I've tried using FormatTime but I'm not doing something right. FormatTime, TimeVar, 90, h:mm Since some prints take sever...
by x32
21 Jul 2018, 05:38
Forum: Ask For Help
Topic: Does the activeX control work in the latest version of Windows?
Replies: 1
Views: 83

Re: Does the activeX control work in the latest version of Windows?

Well, activex started working again on it's own. I guess it wasn't enough restarting the computer a dozen times, had to leave it off and let it set for several hours as well. Wish the other things the update broke would start working again on their own as well. This still leaves the question, as vul...
by x32
20 Jul 2018, 16:42
Forum: Ask For Help
Topic: Does the activeX control work in the latest version of Windows?
Replies: 1
Views: 83

Does the activeX control work in the latest version of Windows?

I made the awful, horrible mistake of letting Windows update and I have spent most of the day fixing things that used to work fine but don't anymore. One of those things is a gui with an activex control that let me view the webcam on my 3d printer from this computer. Now whenever I open it I get a m...
by x32
20 Jul 2018, 15:13
Forum: Ask For Help
Topic: Communication between two computers.
Replies: 8
Views: 205

Re: Communication between two computers.

Looks like the messenger script is writing to a text file that the other side reads, correct? I am doing similar now but having one side write to an ini file every second and having the other side read it every second. I was hoping to be able to communicate directly between the two scripts but this ...
by x32
20 Jul 2018, 14:42
Forum: Ask For Help
Topic: Communication between two computers.
Replies: 8
Views: 205

Re: Communication between two computers.

MannyKSoSo wrote:But just to clarify are they able to access the same folders or half way across the world
In the same house, networked together, so yes they share folders.
by x32
20 Jul 2018, 14:29
Forum: Ask For Help
Topic: Communication between two computers.
Replies: 8
Views: 205

Communication between two computers.

I'm guessing it's not possible to send a message from a script on one computer to a control on a script on another computer. I need to do something similar. Is there an easy to use networking script or library available? I have done similar functions with ahksock but it's not what I call easy to use...
by x32
17 Jul 2018, 09:04
Forum: Ask For Help
Topic: SOH Characters crashing my script. Topic is solved
Replies: 1
Views: 46

Re: SOH Characters crashing my script. Topic is solved

I was able to work out that the characters were in fact being sent from the script on the other computer. Turns out I just needed to add a short pause between when the script gathered the info from the other window and sent it back to this computer.
by x32
17 Jul 2018, 06:41
Forum: Ask For Help
Topic: SOH Characters crashing my script. Topic is solved
Replies: 1
Views: 46

SOH Characters crashing my script. Topic is solved

So this is a weird one. I'm using AHKsock to transfer information between two computers on my home network. I've hacked his Example 3, which is a chat box, to send commands from this computer and receive information back from the other one. The script on this computer always locks up after some rand...
by x32
17 Jul 2018, 05:03
Forum: Ask For Help
Topic: ACC Library, Yet another question. Topic is solved
Replies: 2
Views: 85

Re: ACC Library, Yet another question. Topic is solved

Well that was easy. Took me a while to find those in the ACC library but once I did I was able to understand how to use them.

Thank you yet again for your help.
by x32
17 Jul 2018, 00:41
Forum: Ask For Help
Topic: ACC Library, Yet another question. Topic is solved
Replies: 2
Views: 85

ACC Library, Yet another question. Topic is solved

The ACC library is now working well for retrieving information from gui controls that Windowspy can't see. So now I'm wondering if it can be used to access controls, such as click buttons? I saw that Microsoft has it in the tools but I don't see anything for it in the ACC library. So can the ACC lib...
by x32
16 Jul 2018, 04:46
Forum: Ask For Help
Topic: ACC Library, new question.
Replies: 7
Views: 137

Re: ACC Library, new question.

SUCESS!!!!! Once I figured out which tool you were referring to.

While AIV gave me "1.1.4.13" as a path, your tool gave me "4.1.1.4.13". That fixed the problem.

Thanks again for all your help.
by x32
16 Jul 2018, 04:30
Forum: Ask For Help
Topic: ACC Library, new question.
Replies: 7
Views: 137

Re: ACC Library, new question.

Maybe I have an old version?

Code: Select all

vAccPath := "--" ;not implemented
Actually I think I'm looking at the wrong script.
by x32
16 Jul 2018, 04:12
Forum: Ask For Help
Topic: ACC Library, new question.
Replies: 7
Views: 137

Re: ACC Library, new question.

Ok, so for an object it should be 0. I still have blank message boxes from both.

Code: Select all

q:: 
WinGet, hWnd, ID, A
oAcc := Acc_Get("Object", "1,1,4,13", 0, "ahk_id " hWnd)
MsgBox, % oAcc.accName(0)
MsgBox, % oAcc.accValue(0)
oAcc := ""
return
by x32
16 Jul 2018, 03:41
Forum: Ask For Help
Topic: ACC Library, new question.
Replies: 7
Views: 137

Re: ACC Library, new question.

Yes, exactly what I was looking for, it uses the path. Only I'm still not getting it. The sample code does work for retrieving from notepad, but when I try to use it for my program I get nothing. The only thing I can see to change is the path. What am I missing? What is the (2) parameter after accNa...
by x32
15 Jul 2018, 21:15
Forum: Ask For Help
Topic: ACC Library, new question.
Replies: 7
Views: 137

ACC Library, new question.

I was shown how to retrieve information from controls, that Windowspy can't see, using the ACC Library . However, having to specify their position is not reliable, especially since it only responds in screen mode. Controls change positions depending on the page and what it's function is at the time,...
by x32
15 Jul 2018, 10:56
Forum: Ask For Help
Topic: Using the ACC library
Replies: 4
Views: 142

Re: Using the ACC library

Yes, that is working too. It does seem to only work with screen coordinates so I'll have to maximize the window every time . Thanks again.
by x32
15 Jul 2018, 08:11
Forum: Ask For Help
Topic: Using the ACC library
Replies: 4
Views: 142

Re: Using the ACC library

That works great, thanks. Although I can't claim to understand it, it is showing me the exact information I was trying to get. Next question. I can only figure out how to get the control under the mouse. I'm guessing that's what "Acc_ObjectFromPoint" does. Since I know the coordinates of the control...
by x32
15 Jul 2018, 02:12
Forum: Ask For Help
Topic: Using the ACC library
Replies: 4
Views: 142

Using the ACC library

I'm trying to learn the ACC function library as the tool Accessible Info Viewer finds a lot of information that WindowSpy doesn't. I'm just starting at the top of the Library's Function List to see what information I get from each but it's above my head. This script receives nothing from the library...

Go to advanced search