Search found 152 matches

by hd0202
08 Apr 2015, 07:40
Forum: Ask For Help
Topic: [solved]how to search for via routes when there are no direc
Replies: 60
Views: 14320

Re: how to search for via routes when there are no direct ro

@smorgasbord: sorry, this is one of my test cases, and here is the result as msgbox: --------------------------- Script(2)_neu2.ahk --------------------------- From: Agartala To: Guwahati HLTC (Economy Class): 4831 DLTC (Executive Class): 10140 Airline Fuel Charge:1850 HLTC (Economy Class)+Airline F...
by hd0202
08 Apr 2015, 07:24
Forum: Ask For Help
Topic: [solved]how to search for via routes when there are no direc
Replies: 60
Views: 14320

Re: how to search for via routes when there are no direct ro

@boiler: sorry, you are wrong. Please read the docu about StrSplit(): Delimiters If this parameter is blank or omitted, each character of the input string will be treated as a separate substring. Otherwise, Delimiters can be either a single string or an array of strings , each of which is used to de...
by hd0202
08 Apr 2015, 05:21
Forum: Ask For Help
Topic: [solved]how to search for via routes when there are no direc
Replies: 60
Views: 14320

Re: how to search for via routes when there are no direct ro

Here is my new suggestion, I deleted the previous as I found the problems by myself: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its super...
by hd0202
07 Apr 2015, 06:16
Forum: Ich brauche Hilfe
Topic: Bestimmten Teil der Zeile auslesen
Replies: 5
Views: 1477

Re: Bestimmten Teil der Zeile auslesen

Versuchs mal so:

Code: Select all

~O::
FileReadLine, vokabel1, %A_Desktop%\vokabelkärtchenSkript\Vokabeln.txt, 1
deutsch = %vokabel1%
StringSplit, WortArray, deutsch, >
Loop, % WortArray0
{
MsgBox, % a_index  " --> " wortarray%a_index%
}
return
Hubert
by hd0202
12 Dec 2014, 15:50
Forum: Scripts and Functions
Topic: AFC - AutoHotkey Foundation Classes v0.1 (Includes OOP GUI)
Replies: 12
Views: 9912

Re: AFC - AutoHotkey Foundation Classes v0.1 (Includes OOP G

I have a gui with 10 listviews as tabs like Gui, Add, Tab2,x0 y0 w1200 h300 buttons gtab vTab, 1|2|3|4|5|6|7|8|9|10 ztab = 1 loop 10 { Gui,Tab, %ztab% ... Gui, Add, ListView, x5 y81 w900 h560 Count5000 Report gOpen vzlistview%A_Index% hwndhlistview%a_index% -readonly -lv0x20 altsubmit, File|Modified...
by hd0202
08 Dec 2014, 17:23
Forum: Bug Reports
Topic: Code works with 1.1.14.03 but not with the last versions
Replies: 4
Views: 1585

Re: Code works with 1.1.14.03 but not with the last versions

Thank you for confirming (oCtrl.__CtrlName is also failing to resolve for CCtrlTreeView).

Hubert
by hd0202
08 Dec 2014, 00:40
Forum: Bug Reports
Topic: Code works with 1.1.14.03 but not with the last versions
Replies: 4
Views: 1585

Re: Code works with 1.1.14.03 but not with the last versions

bump

did anyone of the 39 viewers test my code or fincs' example?
by hd0202
08 Dec 2014, 00:39
Forum: Scripts and Functions
Topic: AFC - AutoHotkey Foundation Classes v0.1 (Includes OOP GUI)
Replies: 12
Views: 9912

Re: AFC - AutoHotkey Foundation Classes v0.1 (Includes OOP G

bump

did anyone of the nearly 150 viewers test my code or fincs' example?
by hd0202
02 Dec 2014, 06:14
Forum: Bug Reports
Topic: Code works with 1.1.14.03 but not with the last versions
Replies: 4
Views: 1585

Code works with 1.1.14.03 but not with the last versions

This post refers to FC - AutoHotkey Foundation Classes v0.1 (Includes OOP GUI) in Script section. In order to learn about OOP with AutoHotkey and to get some experience I have converted the second (full) example of the TreeView section in the help and made some additions (folders and icons in the li...
by hd0202
29 Nov 2014, 08:02
Forum: Ask For Help
Topic: Help with using Tail/Checkfile to watch multiple files
Replies: 1
Views: 579

Re: Help with using Tail/Checkfile to watch multiple files

In your current version you call use it for only one file. The cause are the static variables "CF" and FP" which keep the values from one call to the next, and if you call it with another file they are reset. Here is my suggestion that uses an array for this purpose and can be used for many files: #...
by hd0202
26 Nov 2014, 16:34
Forum: Scripts and Functions
Topic: AFC - AutoHotkey Foundation Classes v0.1 (Includes OOP GUI)
Replies: 12
Views: 9912

Re: AFC - AutoHotkey Foundation Classes v0.1 (Includes OOP G

Thank you for this wunderful class (and for the wunderful SciTE4AutoHotkey, too) !!! In order to learn about OOP with AutoHotkey and to get some experience I have converted the second (full) example of the TreeView section in the help and made some additions (folders and icons in the listview and do...
by hd0202
26 Jun 2014, 10:02
Forum: Ich brauche Hilfe
Topic: Bug oder nicht Bug, das ist hier die Frage.
Replies: 3
Views: 1067

Re: Bug oder nicht Bug, das ist hier die Frage.

Johnny R wrote:Mache ich einen Fehler oder ist das ein Bug?
Du machst einen Fehler: Choose1 selektiert Amazon

Hubert
by hd0202
04 Jun 2014, 05:24
Forum: Ich brauche Hilfe
Topic: Oberste Zeile einer Listbox ermitteln...
Replies: 2
Views: 1267

Re: Oberste Zeile einer Listbox ermitteln...

Code: Select all

LB_GETTOPINDEX(HWND) {
   ; LB_GETTOPINDEX = 0x018E -> msdn.microsoft.com/en-us/library/bb761317(v=vs.85).aspx
   Return (DllCall("User32.dll\SendMessage", "Ptr", HWND, "UInt", 0x018E, "Ptr", 0, "Ptr", 0, "Ptr") + 1)
}
Hubert
by hd0202
20 May 2014, 05:14
Forum: Ich brauche Hilfe
Topic: Script verhält sich anders als compilierte Version
Replies: 11
Views: 2115

Re: Script verhält sich anders als compilierte Version

Hi fump,

ist es Absicht, dass in Deinem GUI
Gui, 2:Add, ...
und
Gui, Add, ...
gemischt sind?

Hubert
by hd0202
24 Apr 2014, 02:18
Forum: Ask For Help
Topic: bizarre IF() behavior in timed routine
Replies: 15
Views: 3162

Re: bizarre IF() behavior in timed routine

What do you think of

Code: Select all

  If (winW && winH && !((oldX=winX)&&(oldY=winY)&&(oldW=winW)&&(oldH=winH))) 
Hubert
by hd0202
24 Apr 2014, 02:04
Forum: Scripts and Functions
Topic: Scriptcontrol 1.2
Replies: 5
Views: 2902

Re: Scriptcontrol 1.2

For testing I changed 2 code lines to show 20 lines:

Code: Select all

 ...
 Gui, Add, ListView, r20 w400 vListView gAHKListe hwndhLV AltSubmit, PID|Name|Parameter|Pause on|Hotkeys off
 ...
 Gui, Show,w420 h410, %scripttitle%
 ...
Hubert
by hd0202
26 Mar 2014, 10:03
Forum: Ask For Help
Topic: Problem with creating and saving an XML file
Replies: 15
Views: 4319

Re: Problem with creating and saving an XML file

I think, the StringSplit is wrong, it should be:

Code: Select all

StringSplit, TitleArray, A_LoopReadLine, _.
This could be easyly checked with MsgBox :lol:

Hubert
by hd0202
23 Mar 2014, 05:21
Forum: Ask For Help
Topic: Get Selected Files in Order: Windows Explorer
Replies: 7
Views: 3058

Re: Get Selected Files in Order: Windows Explorer

My new suggestion, tested with XP and Win7: start with ctrl shift 2, then switch to explorer and select files per left click with ctrl shift 1 you end the collection of files and show the result ^+2:: files = tab := {} loop2 = yes loop { clipboard = if (loop2 = "no") return send, ^c sleep, 200 loop,...
by hd0202
22 Mar 2014, 13:12
Forum: Ask For Help
Topic: Get Selected Files in Order: Windows Explorer
Replies: 7
Views: 3058

Re: Get Selected Files in Order: Windows Explorer

Here is my suggestion: ^+1:: ; ctrl shift 1 on open explorer window. tested on XP wingettitle, title, A ControlGetText, path, Edit1, %title% ; needs: "Display the full path in the address bar" in folder options msgbox, % path ControlGet, files, List, "selected", SysListView321, %title% out = loop, p...
by hd0202
17 Mar 2014, 08:54
Forum: Ask For Help
Topic: select a file in a folder
Replies: 7
Views: 2006

Re: select a file in a folder

I understand, that you want to copy 2 from 5 files from folder1 (that should be selected by AutoHotkey) to your work folder "premiere" and use them there for your work. Then you want to copy 2 from 5 files from folder2 and process them, the same with folder3 and folder4. My suggestion: do not copy t...

Go to advanced search