Search found 153 matches

by hd0202
26 Feb 2019, 23:47
Forum: Ask For Help
Topic: Help making a file reset to 20.
Replies: 3
Views: 510

Re: Help making a file reset to 20.

#persistent number = 20 gosub, write_to_file return numpadadd:: number++ gosub, write_to_file return numpadsub:: number-- gosub, write_to_file return write_to_file: file := "C:\Users\office339\Desktop\MTG files\testing counter Guest Side.txt" filedelete, % file fileappend, % number, % file return H...
by hd0202
26 Feb 2019, 00:11
Forum: Ask For Help
Topic: Help making a file reset to 20.
Replies: 3
Views: 510

Re: Help making a file reset to 20.

Code: Select all

NUMPAD%::
file := "C:\Users\office339\Desktop\MTG files\testing counter Guest Side.txt"
filedelete, % file
fileappend, 20, % file
return
But what do you mean: without opening up a duplicate file..... :?:
Hubert
by hd0202
26 Feb 2019, 00:02
Forum: Ask For Help
Topic: Please help!
Replies: 1
Views: 283

Re: Please help!

loop { ... if (<your condition>) gosub, subroutine ... } exitapp ; or return subroutine: ... return ; continue the loop another way is: calling a function I'm not very lucky getting answers on this forum your first post was solved by yourself your second post: you must give the forum some time to a...
by hd0202
24 Feb 2019, 23:52
Forum: Ich brauche Hilfe
Topic: Variable sortieren
Replies: 13
Views: 2250

Re: Variable sortieren

Suchst Du Gedankenleser, dann bist Du hier im falschen Forum :lol:

Übrigens, meine Glaskugel fragt: Hast Du auch an OutputList1 und OutputList2 gedacht ?
Sind die Listen wirklich schon wie angegeben, oder warum sortierst Du sie anschließend ?

Hubert
by hd0202
24 Feb 2019, 01:23
Forum: Other Programming Languages
Topic: Question regarding values of variables in Java
Replies: 13
Views: 5997

Re: Question regarding values of variables in Java

@Scr1pter
please, let us not die ignorant (Lass uns bitte nicht dumm sterben ! )
please, give us the solution
thanks
Hubert
by hd0202
23 Feb 2019, 00:37
Forum: Ask For Help
Topic: Progress - Show / Hide Topic is solved
Replies: 3
Views: 717

Re: Progress - Show / Hide Topic is solved

my suggestion:
replace "Progress Hide" with "Progress off"
remove "Progress Show"

but I do not know why the first occurrence has no title ???

Hubert
by hd0202
23 Feb 2019, 00:09
Forum: Ich brauche Hilfe
Topic: Variable sortieren
Replies: 13
Views: 2250

Re: Variable sortieren

hier mein vorschlag: alt = ( 1244,238 1244,239 1244,240 268,342 268,343 268,344 348,526 348,527 348,528 444,478 444,479 444,480 ) vor1 = vor2 = loop, parse, alt, `n { stringsplit, lfd, a_loopfield, `, if (lfd1 <> vor1) or (lfd2 <> vor2 + 1) neu .= a_loopfield "`n" vor1 := lfd1 vor2 := lfd2 } msgbox,...
by hd0202
19 Feb 2019, 06:16
Forum: Ask For Help
Topic: How to get text from another script's LIstView?
Replies: 2
Views: 435

Re: How to get text from another script's LIstView?

for a ListView better try "ControlGet" wih the Command "List"
Hubert
by hd0202
14 Feb 2019, 05:34
Forum: Ask For Help
Topic: AHK: Excel, check data
Replies: 1
Views: 445

Re: AHK: Excel, check data

dates can only be usefully compared as yyyy.MM.dd Path = %A_Desktop%/*.xlsx Xl := ComObjCreate("Excel.Application") Xl.Workbooks.Open(Path) ;выбрать файл для проверки Xl.Visible := True loop 100 { ; FormatTime, TimeString, 20171020, dd.MM.yyyy var := Xl.cells(A_Index + 1,7).value formattime, var_ymd...
by hd0202
08 Feb 2019, 01:23
Forum: Ich brauche Hilfe
Topic: Optimierung Umbenennungstool
Replies: 120
Views: 25276

Re: Optimierung Umbenennungstool

ich denke, das sollten einzelne Einträge sein: ; Syntax: IniWrite, Wert, Dateiname, Sektion, Key IniWrite, %AktSign%, %IniDatei%, Einstellungen, AktSign IniWrite, %Sektname%, %IniDatei%, Einstellungen, Sektname IniWrite, %StellenSign%, %IniDatei%, Einstellungen, StellenSign IniWrite, %StellenIndex%,...
by hd0202
07 Feb 2019, 22:31
Forum: Ask For Help
Topic: Folder (and file) maintenance
Replies: 1
Views: 405

Re: Folder (and file) maintenance

in AutoHotkey: FileRemoveDir
in Windows Batch: RMDIR

Hubert
by hd0202
07 Feb 2019, 22:25
Forum: Ask For Help
Topic: Keywords loop Topic is solved
Replies: 1
Views: 477

Re: Keywords loop Topic is solved

here is my version: WordListFile := A_ScriptDir . "\Keywords.txt" ;path of the wordlist file ; loop, Read, %WordListFile% ; { ; Loop, parse, A_LoopReadLine, %A_Tab% ; { ; A_LoopField ; } ; } fileread, searches, %WordListFile% ; keywords in separate lines /* search1 search2 */ WinPath:= "MyDocuments"...
by hd0202
07 Feb 2019, 21:29
Forum: Ask For Help
Topic: PinCode Range Check
Replies: 2
Views: 523

Re: PinCode Range Check

Code: Select all

; while start <= amount
loop, % amount
Hubert
by hd0202
07 Feb 2019, 21:27
Forum: Ask For Help
Topic: need help for script Topic is solved
Replies: 3
Views: 570

Re: need help for script Topic is solved

Code: Select all

return
Hubert
by hd0202
29 Jan 2019, 20:00
Forum: Ask For Help
Topic: have no idea whats wrong can someone help?
Replies: 1
Views: 355

Re: have no idea whats wrong can someone help?

I cannot find any problem in "original". you should display the clipboard at the end not at the beginning. And you must change the clipboard with ^c during the run. following is my shortened correction for "gui": #singleinstance, force gui, show, w300 h150, lol gui, add, edit, r1 ventry x20 y20 w200...
by hd0202
29 Jan 2019, 02:21
Forum: Ask For Help
Topic: error: else with no matching if Topic is solved
Replies: 1
Views: 392

Re: error: else with no matching if Topic is solved

MsgBox, 4, , Would you like to run TeamViewer?,30 ; run teamViewer aotomatically after 30 seconds IfMsgBox Timeout run, C:\Program Files (x86)\TeamViewer\TeamViewer.exe else IfMsgBox yes { run, C:\Program Files (x86)\TeamViewer\TeamViewer.exe WinWait, TeamViewer WinMinimize } else IfMsgBox No retur...
by hd0202
29 Jan 2019, 02:16
Forum: Ask For Help
Topic: if statement problem..please help...
Replies: 1
Views: 388

Re: if statement problem..please help...

shure there are more than 6 elements ?
btw, I suggest a much shorter version:

Code: Select all

loop, 15
{
    if (wb.document.GetElementsByTagName("td")[a_index - 1].innertext) = "Online"
        goto Copy%a_index%
}
goto Next
Hubert
by hd0202
28 Jan 2019, 05:21
Forum: Ask For Help
Topic: Loop, Files SPEED UP
Replies: 16
Views: 2268

Re: Loop, Files SPEED UP

I think, in the proposed code "I:\Dat\Customer_Folders" is defined as working directory, but it must be part of "dir"

Code: Select all

Run, %comspec% /q /c dir /s /b I:\Dat\Customer_Folders\*.* > C:\Users\Desktop\Projects\print.txt
Hubert
by hd0202
27 Jan 2019, 00:04
Forum: Ich brauche Hilfe
Topic: Suchen und Ersetzen (AHK Version 1.0.48.05) Topic is solved
Replies: 4
Views: 855

Re: Suchen und Ersetzen (AHK Version 1.0.48.05) Topic is solved

welches File soll geändert werden ? Variable F1 ist leer, da FileSelection auskommentiert ist

und soll das Skript dann wirklich gleich ausgeführt werden ?

Hubert

Go to advanced search