Search found 169 matches

by hd0202
19 Oct 2019, 03:38
Forum: Ich brauche Hilfe
Topic: Fehlerbehandlung von .ini Datei Topic is solved
Replies: 2
Views: 1669

Re: Fehlerbehandlung von .ini Datei Topic is solved

entweder simple format

Code: Select all

if 1_Test != ERROR
oder expression format

Code: Select all

if (1_Test != "ERROR")
Hubert
by hd0202
12 Oct 2019, 11:23
Forum: Ich brauche Hilfe
Topic: Ordner Suchen
Replies: 7
Views: 1491

Re: Ordner Suchen

die lange Zeit entsteht durch die Rekursion "RD", dadurch wird das Laufwerk "P" vollständig durchsucht (alle Ordner und Unterordner und ... und ...) genügt es nicht, nach der Projektnummer zu suchen ? F9:: Loop Files, P:\2551-*, D { MsgBox, 4, , Dateiname = %A_LoopFileFullPath%`n`nWeiter? IfMsgBox, ...
by hd0202
12 Oct 2019, 04:27
Forum: Ask For Help
Topic: Regex Issues
Replies: 5
Views: 659

Re: Regex Issues

the result of my tests:

the regex tester accepts the "^" as start of a(ny) line of a multiline pattern

AutoHotkey accepts the "^" as start of the haystack of a multiline pattern, even with the "m"option

Hubert
by hd0202
09 Oct 2019, 01:24
Forum: Ask For Help
Topic: AHK Webpage Search
Replies: 11
Views: 1818

Re: AHK Webpage Search

to avoid empty message boxes:

Code: Select all

...
ClipWait,2
If CheckStatus(Clipboard)
	MsgBox % CheckStatus(Clipboard)
Hubert
by hd0202
03 Oct 2019, 07:13
Forum: Ask For Help
Topic: remove all tabs from clipboard headache
Replies: 6
Views: 617

Re: remove all tabs from clipboard headache

without "

Code: Select all

StringReplace, clipboard, clipboard, `t, , All   ;trying to remove tabs
Hubert
by hd0202
25 Sep 2019, 23:05
Forum: Ask For Help
Topic: Help - Using Selection from TreeView
Replies: 4
Views: 632

Re: Help - Using Selection from TreeView

if you want help from this forum, you should show your complete code or a working "basic concept" of your code at least ! Please look at my comments marked with "<==" in the following running "basic concept": Gui, Add, TreeView, gAction ; <== line missing, not even a gui defined !! P1 := TV_Add("Wes...
by hd0202
22 Sep 2019, 23:55
Forum: Ich brauche Hilfe
Topic: ListView, Sortierung nach verschiedenen Kriterien Topic is solved
Replies: 1
Views: 530

Re: ListView, Sortierung nach verschiedenen Kriterien Topic is solved

füge ein G-Label zur Listview hinzu, z.B: gHeader und ergänze die folgende Routine: Header: if (a_guievent = "colclick") and (a_eventinfo = 5) { LV_ModifyCol(6, "Sort") LV_ModifyCol(5, "Sort") } if (a_guievent = "colclick") and (a_eventinfo = 6) { LV_ModifyCol(5, "Sort") LV_ModifyCol(6, "Sort") } re...
by hd0202
20 Sep 2019, 01:00
Forum: Ask For Help
Topic: A problem with nested for-loop
Replies: 3
Views: 631

Re: A problem with nested for-loop

here is my suggestion for your script, please have a look at my comments inside, one is very important: ModificationTimeOld := {} ModificationTimeNew := {} Files1 := ["foo.txt", "bar.txt", "baz.txt"] Files2 := ["foo.png", "bar.png", "baz.png"] for Index, File in Files1 { FileGetTime, TimeNew, % File...
by hd0202
17 Sep 2019, 22:55
Forum: Ask For Help
Topic: Replace string if string exists
Replies: 8
Views: 1044

Re: Replace string if string exists

Use the variable "Count" after "StrReplace( ... )" to decide if you delete the file and recreate it.

Hubert
by hd0202
13 Sep 2019, 14:46
Forum: Ask For Help
Topic: ListView Number sorting problem
Replies: 5
Views: 795

Re: ListView Number sorting problem

the solution for your problem is an additional (invisible) column that contains the content of column 2 formatted, e.g. 4 characters with leading zero. #SingleInstance force sorted = no Gui, Add, ListView, xm gSorting, Description|Quantity|dummy Gui, Show guicontrol, -redraw, sorting LV_Addx("","A",...
by hd0202
10 Sep 2019, 21:26
Forum: Ich brauche Hilfe
Topic: Forumsuche
Replies: 3
Views: 860

Re: Forumsuche

Hallo Meister Lampe,
ist mir bisher nur vorgekommen, wenn ich nicht eingeloggt bin.

Hubert
by hd0202
04 Sep 2019, 23:36
Forum: Ich brauche Hilfe
Topic: In Listview suchen Topic is solved
Replies: 4
Views: 929

Re: In Listview suchen Topic is solved

Hallo KHA, nachdem ich Deine Source durch Einrücken übersichtlich gemacht habe, war es ein Leichtes, das Problem zu lösen. Deshalb hier meine Version, meine Änderungen sind mit "<===" markiert: #SingleInstance force Daten= (join`n Comment ; <=== Nr.|LagerNr|EAN|ProduktNr|Interne-Nr|Titel|Bestand|VK-...
by hd0202
29 Aug 2019, 12:59
Forum: Ask For Help
Topic: StringLower not working inside my script
Replies: 1
Views: 332

Re: StringLower not working inside my script

I think Leadname contains CRLF (`n and / or `r) from clipboard and therefore is not upper. Replace StringLower with MsgBox to check if the condiition is true.

Hubert
by hd0202
29 Aug 2019, 02:59
Forum: Ich brauche Hilfe
Topic: Externe Software suchen und anwenden
Replies: 31
Views: 7855

Re: Externe Software suchen und anwenden

schon mal mit send, ^v probiert ?

Hubert
by hd0202
26 Aug 2019, 23:41
Forum: Ask For Help
Topic: Drag files into ListView Topic is solved
Replies: 2
Views: 446

Re: Drag files into ListView Topic is solved

#SingleInstance, Force Gui, Font,, Segoe UI Gui, Add, Edit, w250 r5 vFiles, Drag your files here Gui, Add, ListView, w250 r10, Name|Path Gui, +AlwaysOnTop -MinimizeBox +Owner Gui, Show, Center Return GuiClose: ExitApp GuiDropFiles: GuiControl,, Files Array := [] Loop, Parse, A_GuiEvent, `n Array.Pu...
by hd0202
26 Aug 2019, 08:06
Forum: Ich brauche Hilfe
Topic: Bei einer ListView feste Zeilennr. einfügen Topic is solved
Replies: 2
Views: 690

Re: Bei einer ListView feste Zeilennr. einfügen Topic is solved

Ich weiß nicht, ob ich deinen Wunsch richtig verstanden habe, zumal deine Testdaten alle gleich sind und eine neue Sortierung nicht erkennen lassen. Deshalb hier mein Vorschlag: data = ( Name, Extension1, Locationc Name, Extension4, Locationa Name, Extension8, Locationg Name, Extension3, Locationk N...
by hd0202
17 Aug 2019, 11:24
Forum: Ask For Help
Topic: Simple Loop command issue
Replies: 6
Views: 778

Re: Simple Loop command issue

loop - play always
no loop - play once
I think you must add a selection for the MP4-file you want to play and start the run only when the selection has changed

and ... add a sleep at the end of the loop to avoid 100% cpu usage

Hubert
by hd0202
17 Aug 2019, 11:11
Forum: Ask For Help
Topic: Simple Loop command issue
Replies: 6
Views: 778

Re: Simple Loop command issue

how is the loop triggered ?

Hubert
by hd0202
17 Aug 2019, 10:43
Forum: Ask For Help
Topic: Simple Loop command issue
Replies: 6
Views: 778

Re: Simple Loop command issue

remove the 'exit' command

Hubert
by hd0202
16 Aug 2019, 02:22
Forum: Ask For Help
Topic: The script only works if it is written from the first line.
Replies: 36
Views: 3581

Re: The script only works if it is written from the first line.

the script should start (see the first post):

Code: Select all

ClipNew := clipboard 
ClipOld := ClipNew
Hubert

Go to advanced search