Search found 147 matches

by Kobaltauge
15 Aug 2019, 07:41
Forum: Ich brauche Hilfe
Topic: LV_GetText funktioniert nur beim ersten Mal Topic is solved
Replies: 1
Views: 59

Re: LV_GetText funktioniert nur beim ersten Mal Topic is solved

OK. Das war ja ein banaler Fehler. Nach der Subroutine MyListView war natürlich die untere Liste MySecondListView aktiv und ein Doppelklick auf der Oberen hat nichts bewirkt. Ich musste nur die obere Liste mit Gui, ListView, MyFirstListView wieder aktiv setzen. MyListView: if (A_GuiEvent = "DoubleCl...
by Kobaltauge
15 Aug 2019, 06:40
Forum: Ich brauche Hilfe
Topic: LV_GetText funktioniert nur beim ersten Mal Topic is solved
Replies: 1
Views: 59

LV_GetText funktioniert nur beim ersten Mal Topic is solved

Hallo zusammen, ich fange gerade erst mit den GUIs und AHK an und scheitere schon beim ersten Versuch. Ich habe ein Skipt, dass die Logdatei der SAP ECTR einliest, und alle Datentransfers filtert. Diese werden dann in einer GUI angezeigt, sortiert nach der Dauer des Prozesses. Wenn ich dann auf eine...
by Kobaltauge
06 Aug 2019, 04:58
Forum: Ask For Help
Topic: Changing variables - need help!
Replies: 3
Views: 192

Re: Changing variables - need help!

Hi Ifeelmoisty I don't have your program to test. But I changed your script for the windows "calc". When you ran both and press "2" it will press on the calculator "123" wherever the position of the app is. Be aware if another window overlap the calculator button 1,2 or 3 it will perform a mouse cli...
by Kobaltauge
05 Aug 2019, 10:41
Forum: Ask For Help
Topic: Changing variables - need help!
Replies: 3
Views: 192

Re: Changing variables - need help!

Hi.

Put CoordMode, Mouse, Clienton top of your script. This sets all coordinates relative to the client window. Check the right ones with the WindowsSpy.ak script.

https://www.autohotkey.com/docs/commands/CoordMode.htm
by Kobaltauge
27 Jun 2019, 04:20
Forum: Ask For Help
Topic: AHK as assistive technology solution for people with disabilities?
Replies: 8
Views: 491

Re: AHK as assistive technology solution for people with disabilities?

The only improvement that I can think would be to have it automatically right click, once the time lapses. To calculate the time if you do a "normal" left click or a "long" left click the only chance is to react on the release of the button. It is possible to change the script that it would send a ...
by Kobaltauge
25 Jun 2019, 13:24
Forum: Ask For Help
Topic: Basic Excel Com Obj script Topic is solved
Replies: 16
Views: 543

Re: Basic Excel Com Obj script Topic is solved

Yeah, I should have put some comments in the script. =) With xl.ActiveSheet.cells( "row" , "coulumn" ).text you can acces every cell. As I wrote the before, the advantage is, that you can use numbers as row and column instead of the "letters" Excel is using. I though you wanted to access all cells i...
by Kobaltauge
25 Jun 2019, 13:13
Forum: Ask For Help
Topic: AHK as assistive technology solution for people with disabilities?
Replies: 8
Views: 491

Re: AHK as assistive technology solution for people with disabilities?

Sorry vsub you're completely right. With hyperlinks my solution does not work properly. You can control the behavior of the left mouse button better with an additional key. MinxiesDev I realisied this script. Tell me if it's going in the right direction. When you start it, "my" function of the left ...
by Kobaltauge
25 Jun 2019, 11:33
Forum: Ask For Help
Topic: Basic Excel Com Obj script Topic is solved
Replies: 16
Views: 543

Re: Basic Excel Com Obj script Topic is solved

Unfortunately you didn't provide the Excel file, so I did one by myself in the same "order" (see attached file). If you place the Excel in c:\temp and run this script, a message box will provide you in every loop the content of column 1-5 Use this a blueprint. #NoEnv ; Recommended for performance an...
by Kobaltauge
25 Jun 2019, 10:39
Forum: Ich brauche Hilfe
Topic: Excel Objekt trennen und wieder neu verbinden
Replies: 6
Views: 435

Re: Excel Objekt trennen und wieder neu verbinden

Gut erklärt just me . So sehe ich das auch. Ein COM Objekt ist eine Verbindung zwischen zwei Programmen/Prozessen. Wenn die abreißt, dann gibt es da nichts mehr. Dann hilft nur noch mein zweiter Vorschlag. Editiere lokal und kopiere dann die Datei auf den Server. Wenn dann die Verbindung abbricht, k...
by Kobaltauge
21 Jun 2019, 12:50
Forum: Ask For Help
Topic: Basic Excel Com Obj script Topic is solved
Replies: 16
Views: 543

Re: Basic Excel Com Obj script Topic is solved

I did a similar script to read from Excel and write in SAP GUI. To read from Excel object I use the cells function, because it uses number and you can use a loop. But I don't understand your code. First you're setting the cells, then you send undefined variables. If I understand your question, then ...
by Kobaltauge
21 Jun 2019, 12:27
Forum: Ich brauche Hilfe
Topic: Excel Objekt trennen und wieder neu verbinden
Replies: 6
Views: 435

Re: Excel Objekt trennen und wieder neu verbinden

Ich bin nicht ganz sattelfest, was COM betrifft. Meines Wissens wird die COM Schnittstelle von Windows zur Verfügung gestellt. Deshalb ist es auch ein Unterschied, ob z.B. Excel schon läuft oder nicht. Ich habe vor langer Zeit diesen Code gefunden und verwende ihn immer in meine Skripts. try XL := C...
by Kobaltauge
21 Jun 2019, 06:02
Forum: Editors
Topic: Came across Visual Studio Code the other day
Replies: 19
Views: 1372

Re: Came across Visual Studio Code the other day

need4speed wrote:
19 Jun 2019, 15:24
Kobaltauge wrote:
19 Jun 2019, 11:48
Sorry. I don't understand what you want.
in AHK Studio select a command e.g. ToolTip then press F1 -> AHK Help file is opened, and navigates to the ToolTip Help Section. How to achieve that in VSC?
Oh. I didn't know that. Sorry, can't help you.
by Kobaltauge
21 Jun 2019, 02:23
Forum: Ask For Help
Topic: Uploading-downloading to-from Dropbox - OneDrive - Google Drive.
Replies: 2
Views: 165

Re: Uploading-downloading to-from Dropbox - OneDrive - Google Drive.

I'm mapping my OneDrive as a normal network share with net use. Than I can copy and move all the files with normal file commands.
Would this help?
by Kobaltauge
19 Jun 2019, 11:48
Forum: Editors
Topic: Came across Visual Studio Code the other day
Replies: 19
Views: 1372

Re: Came across Visual Studio Code the other day

Sorry. I don't understand what you want.
But try this links. They helped me a lot.

https://github.com/ahkscript/awesome-AutoHotkey/issues/154
https://www.autohotkey.com/boards/viewtopic.php?t=12525 from @haichen
by Kobaltauge
19 Jun 2019, 06:54
Forum: Editors
Topic: Came across Visual Studio Code the other day
Replies: 19
Views: 1372

Re: Came across Visual Studio Code the other day

@need4speed Shift+Alt+Up and Shift+Alt+Down
by Kobaltauge
18 Jun 2019, 23:52
Forum: Forum Issues
Topic: New Posts
Replies: 5
Views: 495

Re: New Posts

Thank you for the explanation. I never log out, and I use the forum on several devices. So that causes the different behaviour.

I stay with my wish. 50 last post independently of the actions.
by Kobaltauge
18 Jun 2019, 23:45
Forum: Editors
Topic: Came across Visual Studio Code the other day
Replies: 19
Views: 1372

Re: Came across Visual Studio Code the other day

I'm using VSC for years with Python. Love this editor mainly because ofnthe integrated debugger. As I started intensively with AHK was my first thought to use VSC, too. But my biggest issue is the missing debugger. I found something with a "neutral" code runner, but it didn't feel smooth. So I switc...
by Kobaltauge
16 Jun 2019, 06:27
Forum: Ask For Help
Topic: Creating Script to send message with variable
Replies: 3
Views: 231

Re: Creating Script to send message with variable

sorry @Samurai if I was too harsh.
Made a few changes t your script.

Code: Select all

^q::
Var := 0
Loop
{
	if (Var > 2) ; replace 2 to where you want to stop
		ExitApp
	else
	{
		SendRaw, !interact %Var%
		Send, {Enter}
		sleep, 6000
		Var += 1
	}
}

PS: Python is my origin language, too. =)
by Kobaltauge
16 Jun 2019, 06:22
Forum: Ask For Help
Topic: AHK as assistive technology solution for people with disabilities?
Replies: 8
Views: 491

Re: AHK as assistive technology solution for people with disabilities?

vsub you're totally right. There are a few things to consider. I didn't test the drag&drop issue at all. Therefore, I would propose that this script is only the beginning to help MinxiesDev . He's a AHK user and probably knows how to modify or/and upgrade it. For the drag & drop I added the mouse p...
by Kobaltauge
15 Jun 2019, 08:56
Forum: Ask For Help
Topic: Creating Script to send message with variable
Replies: 3
Views: 231

Re: Creating Script to send message with variable

Come on, this is a no brainer. https://www.autohotkey.com/docs/commands/Loop.htm https://www.autohotkey.com/docs/commands/Random.htm https://www.autohotkey.com/docs/commands/Send.htm https://www.autohotkey.com/docs/commands/Sleep.htm Loop { Random, rand, 1, 100 SendRaw, !interact %rand% sleep, 4000 }

Go to advanced search