Search found 227 matches

by Peter2
26 Apr 2019, 09:45
Forum: Ask For Help
Topic: WinActive for many similar windows?
Replies: 2
Views: 109

Re: WinActive for many similar windows?

No ideas? Maybe I described it more complicated then it is ....

WinActive should check all ahk_classes which begin with a defined string and ends with unknown strings, like ...

my.program.12
my.program.hey
my.program.23x-8
my.program.abc123.89.d
by Peter2
23 Apr 2019, 11:42
Forum: Announcements
Topic: Upcoming Ahk2Exe changes
Replies: 134
Views: 68068

Re: Upcoming Ahk2Exe changes

OK, thanks to joedf and joevinograd.
by Peter2
23 Apr 2019, 11:39
Forum: Ask For Help
Topic: WinActive for many similar windows?
Replies: 2
Views: 109

WinActive for many similar windows?

(I suppose the answer will be a half-liner ..) --------------- I want to start a script only when some special windows are active - so I think "WinActive" is the right was. All windows are different, but similar. The ahk_class begins always with "WindowsForms10.Window.8.app........" - see attachment...
by Peter2
23 Apr 2019, 10:24
Forum: Announcements
Topic: Upcoming Ahk2Exe changes
Replies: 134
Views: 68068

Re: Upcoming Ahk2Exe changes

For me as beginner I'm confused about the current state of the AHK2exe. To compile it in one sentence:

When I want to use the directives which are described in the first posting - which version should I use?
And will there be disadvantages for my (really simple) scripts?

Peter
by Peter2
23 Apr 2019, 05:06
Forum: Ich brauche Hilfe
Topic: Textbausteine aus einer Liste abrufen? Topic is solved
Replies: 6
Views: 320

Re: Textbausteine aus einer Liste abrufen? Topic is solved

@list
"lintalist" seem to be great, but at the moment it is a little bit to much sophisticated. But I will keep it in mind. Thanks.
by Peter2
12 Apr 2019, 01:51
Forum: Ich brauche Hilfe
Topic: Textbausteine aus einer Liste abrufen? Topic is solved
Replies: 6
Views: 320

Re: Textbausteine aus einer Liste abrufen? Topic is solved

Danke an beide.

Ja, die INI-Idee hinterfrage ich auch schon. Ich dachte vorerst an die Logik "Abkürzung=langer String", aber mit Einzelzeilen wird das auch passen. Textblöcke habe ich nicht vvor, nur Einzelzeilen und Befehle.
by Peter2
11 Apr 2019, 09:54
Forum: Ich brauche Hilfe
Topic: Textbausteine aus einer Liste abrufen? Topic is solved
Replies: 6
Views: 320

Re: Textbausteine aus einer Liste abrufen? Topic is solved

Oops - da ist ja noch um den Faktor 5-10 kleiner als gedacht ..Vielen Dank!

Jetzt muss ich noch die Kommunikation zwischen dem aufrufenden Programm (Fenster) und der Werteingabe hinkriegen, dann läuft es ...
by Peter2
11 Apr 2019, 05:32
Forum: Ich brauche Hilfe
Topic: Textbausteine aus einer Liste abrufen? Topic is solved
Replies: 6
Views: 320

Textbausteine aus einer Liste abrufen? Topic is solved

Ich weiss, es ist (auch für mich) nicht sooo schwierig, dass zu programmieren, aber falls es das schon gibt, wäre es unnötige Arbeit, und daher die Frage: Gibt es / Kennt jemand einen AHK-Code, der - mit irgendeinem Hotkey eine INI-Datei ausliest (INI ist irgendwie übersichtlicher und leichter pfleg...
by Peter2
24 Sep 2018, 08:47
Forum: Ask For Help
Topic: Need little help with "WinActivate" (or something similar..)
Replies: 0
Views: 165

Need little help with "WinActivate" (or something similar..)

Hi I have a small and simple code which works fine. It ... 1) checks if UltraEdit is active 2) if yes, copy the current selection to clipboard 3) check if AutoCAD exits 4) if yes, jump to AutoCAD and paste the clipboard into in Here is the code: ; Belegung der Taste "Ctrl+ü". ; Codetest: Markierten ...
by Peter2
29 Jun 2017, 05:29
Forum: Ask For Help
Topic: FileCopyDir to replace the current active AHK-exe?
Replies: 3
Views: 393

Re: FileCopyDir to replace the current active AHK-exe?

Thanks to both - fine solutions!
by Peter2
29 Jun 2017, 02:47
Forum: Ask For Help
Topic: FileCopyDir to replace the current active AHK-exe?
Replies: 3
Views: 393

FileCopyDir to replace the current active AHK-exe?

I made a simple "Updater" with my compiled AHK-script: Download some files to download-folder Copy the files with FileCopyDir from download-folder to target-folder It works fine, but now I'm at the point: How to update the updater? In the current situation it would be.. c:\project\myupdater.exe star...
by Peter2
14 Jun 2017, 13:54
Forum: Ask For Help
Topic: FTP upload of a file to a website
Replies: 12
Views: 1320

Re: FTP upload of a file to a website

Thanks jNizM
by Peter2
14 Jun 2017, 13:51
Forum: Ask For Help
Topic: Start to systemtray, wait for click
Replies: 5
Views: 558

Re: Start to systemtray, wait for click

@Flipeador
works fine.
by Peter2
07 Jun 2017, 10:32
Forum: Ask For Help
Topic: Start to systemtray, wait for click
Replies: 5
Views: 558

Re: Start to systemtray, wait for click

Thanks - I will check after my holidays next week.
by Peter2
07 Jun 2017, 06:38
Forum: Ask For Help
Topic: Start to systemtray, wait for click
Replies: 5
Views: 558

Start to systemtray, wait for click

I don't know how to create this kind of behaviour:

- Start the program. It puts an icon in systemtray and waits.

Loop:
- If I click the icon in the systemtray, the software starts: asks the user, does something,
- wait again until click on the icon

- Exit the app via "Exit" on systemtray-icon
by Peter2
22 May 2017, 04:41
Forum: Ask For Help
Topic: FTP upload of a file to a website
Replies: 12
Views: 1320

Re: FTP upload of a file to a website

Hi I tried the last code example above and could upload to the "root-directory" of my ftp-server, like "upload.myserver.com". But I need an upload to a sub-dir, like "upload.myserver.com\test" - and failed. I tried all kinds of slashes / // \ \\ - and I get no failure message, but there is also no u...
by Peter2
06 Apr 2017, 12:35
Forum: Ask For Help
Topic: Simple text search from text-file?
Replies: 4
Views: 545

Re: Simple text search from text-file?

MaxAstro wrote:... off the top of my head. :)
There must be a lot of AHK in it ... :bravo:
by Peter2
06 Apr 2017, 12:15
Forum: Ask For Help
Topic: Simple text search from text-file?
Replies: 4
Views: 545

Re: Simple text search from text-file?

Great-thanks. Here is the tested version. FilePath := "complete path to the string-containing file goes here" ^a:: InputBox, SearchString, , % "Input string to search." ResultList := [] ChosenString := "" Loop, Read, %FilePath% { if (InStr(A_LoopReadLine, SearchString)) { ResultList.Push(A_LoopReadL...
by Peter2
06 Apr 2017, 10:15
Forum: Ask For Help
Topic: Simple text search from text-file?
Replies: 4
Views: 545

Simple text search from text-file?

I think that's this is nearly a standard solution, so maybe there exists some plug&play script?

- Read a predefined text-file
- search all strings containing *mysearch*
- list them to user
- user clicks to input/paste it

If a code like this exists I would be happy for a hint/link

Peter
by Peter2
23 Feb 2017, 09:03
Forum: Ask For Help
Topic: Upload to FTP / FTPv2 class / current status?
Replies: 10
Views: 1625

Re: Upload to FTP / FTPv2 class / current status?

Thanks - works fine!

Go to advanced search