Search found 40 matches
- 17 May 2021, 07:29
- Forum: Ask for Help (v1)
- Topic: Breaking my teeth loading from flat file
- Replies: 3
- Views: 245
Re: Breaking my teeth loading from flat file
Thank you very much! It works! :bravo: It looks so simple once I see the solution. I was able to adapt what you wrote easily. Now, I need to be able to do 2 more things. I found out with the other code I did, I just used the name of the button in a IF and associated code to it. Problem here, the nam...
- 17 May 2021, 06:09
- Forum: Ask for Help (v1)
- Topic: Breaking my teeth loading from flat file
- Replies: 3
- Views: 245
Breaking my teeth loading from flat file
Greetings, First, I am not a programmer. I worked years as a computer engineer and retired. Help will be greatly appreciated and thank you in advance. I have the feeling, I just miss a small part of how to get the array coordinates rights. I need to do something very simple. It is a two steps proces...
- 26 Feb 2021, 08:14
- Forum: Ask for Help (v1)
- Topic: AHK not working with software
- Replies: 21
- Views: 990
Re: AHK not working with software
Greetings,
Tested all those and none is working....
I am taking a pause... )
Thank you
Tested all those and none is working....
I am taking a pause... )
Thank you
- 24 Feb 2021, 19:01
- Forum: Ask for Help (v1)
- Topic: AHK not working with software
- Replies: 21
- Views: 990
Re: AHK not working with software
I checked from home the application listed by Gregster. I cannot run it adm and the application I have an issue with is not windowed... What other command can I use instead of "Send" and MouseClick" that this application uses for its testing? I found : Send +{Click 100 200} however it uses Send that...
- 24 Feb 2021, 08:48
- Forum: Ask for Help (v1)
- Topic: AHK not working with software
- Replies: 21
- Views: 990
Re: AHK not working with software
I do not think so it is written in Java. It is a professional application running on Windows. I would bet in a flavour of C language.
- 23 Feb 2021, 19:39
- Forum: Ask for Help (v1)
- Topic: AHK not working with software
- Replies: 21
- Views: 990
Re: AHK not working with software
Thank you guys for your help. I will be able only to check Friday. But for sure I will try to run that click tester. I really hope it will give me an alternative solution. It really makes no sense for me that a simple "desktop" windows windowless software does not work with AHK. I used AHK with tons...
- 22 Feb 2021, 19:53
- Forum: Ask for Help (v1)
- Topic: AHK not working with software
- Replies: 21
- Views: 990
Re: AHK not working with software
On other application ont he computer, the script works and I can make the window do things (click and get input of characters (keyboard) But with that application, to answer your 3 questions: 1 - There is no border on the window. However, it brings it on the foreground. So I assume yes. 2 - It appea...
- 22 Feb 2021, 15:54
- Forum: Ask for Help (v1)
- Topic: AHK not working with software
- Replies: 21
- Views: 990
Re: AHK not working with software
It is just this I did: I wonder what may cause AHK not to be able to emulate the mouse and keyboard with a windows program. Even if the program is not windowed, it should work. ClearC(TypeClear) ; { Msgbox in tt = REMOVED ;WinWait, %tt% ;IfWinNotActive, %tt%,, WinActivate, %tt% ;WinWaitActive, %tt%,...
- 22 Feb 2021, 14:57
- Forum: Ask for Help (v1)
- Topic: AHK not working with software
- Replies: 21
- Views: 990
Re: AHK not working with software
I removed completely the focus window code and it still does nothing...
I did a test with a dummy script simply writing a url in chrome and it works. That means it is not the computer but the software.
I did a test with a dummy script simply writing a url in chrome and it works. That means it is not the computer but the software.
- 22 Feb 2021, 13:13
- Forum: Ask for Help (v1)
- Topic: AHK not working with software
- Replies: 21
- Views: 990
Re: AHK not working with software
It is a very primitive script. I removed the irrelevant part. In a nutshell it does multiple clicks and keys instead of the user. It does put the focus on the application but nothing happens. I used msgbox in/out for debug and itgoes through the function without doing any mouseclick or send. The com...
- 22 Feb 2021, 12:54
- Forum: Ask for Help (v1)
- Topic: AHK not working with software
- Replies: 21
- Views: 990
Re: AHK not working with software
It is not a game.
And running as admin with Run *RunAs "e:\ScriptXY.exe" /restart give a blank screen and I have to press ESC to abort the script.
And running as admin with Run *RunAs "e:\ScriptXY.exe" /restart give a blank screen and I have to press ESC to abort the script.
- 22 Feb 2021, 11:19
- Forum: Ask for Help (v1)
- Topic: AHK not working with software
- Replies: 21
- Views: 990
Re: AHK not working with software
This is an option I can use. Isn't a parameter that I do not know of because the screen seems full screen mode (not windowed), ALT-TAB still works. I do not think it is the issue, but I am thinking it is like the computer does not let AHK take control of the mouse pointer and keyboard when the focus...
- 22 Feb 2021, 08:09
- Forum: Ask for Help (v1)
- Topic: AHK not working with software
- Replies: 21
- Views: 990
AHK not working with software
Greetings, I use a software (Sorry, cannot name it publicly) and no click or send works with it. I can focus the window with IfWinNotActive, %tt%,, WinActivate, %tt% but it is all. When I try to use the good old AutoScriptWriter or the newer Macro Recorder v2.1 By FeiYue, it does not record any clic...
- 22 Feb 2021, 07:18
- Forum: Ask for Help (v1)
- Topic: More Help with script please
- Replies: 2
- Views: 132
More Help with script please
Greetings, I need some help starting at ";Here I have no idea how to do it:" The goal at the end is to build a dynamic GUI with each button does a different function. I read the "parameters in the flat file. Each line has 3 parameters and the button name is determined by the first parameter. 1 - I l...
- 21 Feb 2021, 16:18
- Forum: Ask for Help (v1)
- Topic: Help with script please
- Replies: 1
- Views: 145
Help with script please
Greetings, Very simple script. I am reading a flat file 3 lines here, but it will be variable. I want to put each line in a table as the following script shows. It appears the value is not stored. why? Thank you Word_Array[] Line := 1 MaxLineArray := 0 Loop { FileReadLine, Str1, E:\Input1.txt, %Line...
- 08 Jan 2020, 11:58
- Forum: Ask for Help (v1)
- Topic: PixelGetColor
- Replies: 3
- Views: 361
Re: PixelGetColor
Thank you for your answer.
If I use Coordmode, will it be the same coordinates? I have no way to know the exact coordinates except using my mouseclick and record it and use the coordinates.
Thank you
If I use Coordmode, will it be the same coordinates? I have no way to know the exact coordinates except using my mouseclick and record it and use the coordinates.
Thank you
- 08 Jan 2020, 10:37
- Forum: Ask for Help (v1)
- Topic: PixelGetColor
- Replies: 3
- Views: 361
PixelGetColor
Greetings, I have an issue with my code. When I use that code by itself it returns the correct 0x292EFE code when I press <ALT>-<o>: !o:: PixelGetColor, couleur, 1244, 44 MsgBox The color at the current cursor position is %couleur%. Return When I integrate the pixelgetcolor in my main macro, it retu...
- 28 May 2019, 12:55
- Forum: Ask for Help (v1)
- Topic: Some help to go from MS Word to Notepad
- Replies: 11
- Views: 1790
Re: Some help to go from MS Word to Notepad
Greetings, For those who may want a solution. I got one finally str3:="c:\templates\file1.txt" FileRead, Filetext, %Str3% StringReplace, NewFiletext, Filetext, GVFacing, 1234, All StringReplace, NewFiletext, NewFiletext, GVMilleage, ABCD, All StringReplace, NewFiletext, NewFiletext, GVCondition, efg...
- 28 May 2019, 10:39
- Forum: Ask for Help (v1)
- Topic: Some help to go from MS Word to Notepad
- Replies: 11
- Views: 1790
Re: Some help to go from MS Word to Notepad
I have a question. I still was not able to test it. But here what I think I can do. Is there a way to do that more elegantly? I think I am missing something. Here is what I plan to do: FileRead, Filetext, Str3 StringReplace, NewFiletext, Filetext, GVFacing, "GVFacing", All StringReplace, NewFiletext...
- 28 May 2019, 05:06
- Forum: Ask for Help (v1)
- Topic: Some help to go from MS Word to Notepad
- Replies: 11
- Views: 1790
Re: Some help to go from MS Word to Notepad
I did some research and found out that I can convert all my word files to text files then use this code:
FileRead, Filetext, Str3
StringReplace, NewFiletext, Filetext, GVFacing, "GVFacing", All
Clipboard := NewFiletext
I just need to text it a little bit later.
Thank you
FileRead, Filetext, Str3
StringReplace, NewFiletext, Filetext, GVFacing, "GVFacing", All
Clipboard := NewFiletext
I just need to text it a little bit later.
Thank you