Search found 155 matches

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

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: 659

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: 747

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: 747

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: 747

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: 3374

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
by hd0202
01 Aug 2019, 20:52
Forum: Ask For Help
Topic: Hi! I need help with if function in duration Topic is solved
Replies: 2
Views: 319

Re: Hi! I need help with if function in duration Topic is solved

Code: Select all

F8::
Loop
{
	enter_sent = 0
	Loop
	{
		DialogBox := checkDialogBox()
		if (DialogBox = 1)
		{
			Send, {Enter}
			enter_sent++
			if (enter_sent = times)
				break
		}
	}
	send, BACK TO LOOP IN 5
	sleep, 5000
}
Hubert
by hd0202
30 Jul 2019, 10:39
Forum: Ask For Help
Topic: Сell comparison in Excel Topic is solved
Replies: 1
Views: 310

Re: Сell comparison in Excel Topic is solved

What you need is a loop in loop and the correct use of A_Index:

Code: Select all

loop 5
{
  ind1 := A_Index
  loop 10
  {
      IF xl.workSheets(1).cells(ind1,A_Index).value != xl.workSheets(2).cells(ind1,A_Index).value 
        MsgBox, 4144, , % xl.cells(ind1,A_Index).value
  }
}
Hubert
by hd0202
29 Jul 2019, 23:39
Forum: Ask For Help
Topic: ListView not updated after execution Topic is solved
Replies: 2
Views: 474

Re: ListView not updated after execution Topic is solved

You cannot simply PARSE the listview, you must use LV_functions to get the number of rows (and/or number of columns) and the text: ButtonOK: ; Loop, Parse, FileList, `n Loop % LV_GetCount() { LV_GetText(FileName, A_Index, 1) SplitPath, FileName, name, Path, ext, name_no_ext, drives LV_GetText(Path, ...
by hd0202
28 Jul 2019, 02:11
Forum: Ask For Help
Topic: ByRef - Nothing happens Topic is solved
Replies: 7
Views: 1246

Re: ByRef - Nothing happens Topic is solved

1) you did not mark the relevant part of the help text: ByRef parameters also support default values; for example: MyFunc(ByRef p1 = ""). Whenever the caller omits such a parameter, the function creates a local variable to contain the default value; in other words, the function behaves as though the...
by hd0202
26 Jul 2019, 16:47
Forum: Ask For Help
Topic: help to handle error (more unexpected window)
Replies: 4
Views: 826

Re: help to handle error (more unexpected window)

COM is possible, but it would require more programming knowledge I know, I use COM since more than 10 years on IBM mainframes, first with PC3270, then Attachemate and now Reflection, and I had very little problems in converting my application from one software to the others, thanks to COM. On a pag...
by hd0202
23 Jul 2019, 10:41
Forum: Ask For Help
Topic: Who can explain this script?
Replies: 20
Views: 2236

Re: Who can explain this script?

Code: Select all

if ( 0 > 0 )			; if script is run with parameters	= variable 0 contains number of parameters
{
  file := %True%		; file := %1%	= first parameter
Hubert
by hd0202
19 Jul 2019, 10:56
Forum: Ask For Help
Topic: help to handle error (more unexpected window)
Replies: 4
Views: 826

Re: help to handle error (more unexpected window)

which 3270 terminal emulator do you use (e.g. Reflection from MicroFocus) ? can you use COM Objects with your emulator ? then you can get and put values into the screen by position (line and column) without "send" and "wait", wait for a next screen to be ready and decide your further processing depe...
by hd0202
17 Jul 2019, 22:40
Forum: Ask For Help
Topic: Open Folder and Close if already open
Replies: 11
Views: 1614

Re: Open Folder and Close if already open

the variable "Window" is set to "X3 Attachment" only at the start of the script (auto-execution section) and not again when you press ^f10. see my change below.

Code: Select all

^f10::
Window=X3 Attachement

IfWinExist, %Window%
Winclose, %Window%
else
run, C:\Users\XXX\Desktop\%Window%
Return
Hubert
by hd0202
02 Jul 2019, 10:36
Forum: Ask For Help
Topic: Use FileSelectFile to select Folder?
Replies: 7
Views: 1216

Re: Use FileSelectFile to select Folder?

Have a look at

Code: Select all

FileSelectFolder
Hubert
by hd0202
17 Apr 2019, 23:16
Forum: Ask For Help
Topic: How to make this script run faster?
Replies: 3
Views: 618

Re: How to make this script run faster?

Code: Select all

SetBatchLines, -1
Hubert
by hd0202
09 Apr 2019, 04:46
Forum: Ask For Help
Topic: Stand-alone syntax validator?
Replies: 17
Views: 3494

Re: Stand-alone syntax validator?

may I ask what this means in ahk (in your opinion) :
¾ ž é ō Û

Hubert
by hd0202
23 Mar 2019, 08:12
Forum: Ask For Help
Topic: Make Word Combination Lists (Up To 12 Words)
Replies: 15
Views: 1912

Re: Make Word Permutation Lists (Up To 12 Words)

do you know the number of full permutations ? it is computed by faculty faculty 10: 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9 x 10 = 3,628,800 faculty 12: 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9 x 10 x 11 x 12 = 479,001,600 and the number of your wanted combinations ? I only say: much much much more !!!! Hubert
by hd0202
23 Mar 2019, 00:36
Forum: Ask For Help
Topic: Problem To use RunWait Topic is solved
Replies: 4
Views: 818

Re: Problem To use RunWait Topic is solved

Code: Select all

RunWait, C:\Windows\System32\RUNDLL32.exe PRINTUI.DLL`,PrintUIEntry /y /n"\\HOSTEST\PRINTER",, UseErrorLevel
If ErrorLevel = ERROR
{
MsgBox, Problema to start!	
}
else
{
MsgBox, program ended with code %ErrorLevel% !
}
Hubert

Go to advanced search