Search found 155 matches

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

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

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

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...
by hd0202
17 Mar 2014, 04:35
Forum: Ask For Help
Topic: Help with TreeView
Replies: 19
Views: 5959

Re: Help with TreeView

@just me
Your solution was my first thought too :lol:
If it where so simple I had not needed more than one hour for my suggestion - please test both versions :!:

Hubert
by hd0202
17 Mar 2014, 01:48
Forum: Ask For Help
Topic: select a file in a folder
Replies: 7
Views: 2235

Re: select a file in a folder

Why not directly copy the files via hotkey? In my sample the folders on the desktop are name "folder1" to "folder4", the target folder is named "premiere" and is on desktop too the hotkeys defined are "ctrl shift 1" to "ctrl shift 4" dir = %A_Desktop%\ to_folder = %dir%premiere ; set full path of ta...
by hd0202
17 Mar 2014, 00:54
Forum: Ask For Help
Topic: Help with TreeView
Replies: 19
Views: 5959

Re: Help with TreeView

My suggestion: start with the parent folder of the folder you want to show and ignore the sibling folders :!: First add some lines after setting TreeRoot : TreeRoot = %A_StartMenuCommon% splitpath, treeroot, rootname stringgetpos, pos, treeroot, \, R treeroot := substr(treeroot, 1, pos) TreeViewWidt...
by hd0202
07 Mar 2014, 03:51
Forum: Ich brauche Hilfe
Topic: Variablen HWND an ahk_id übergeben
Replies: 11
Views: 2710

Re: Variablen HWND an ahk_id übergeben

Also so:

Code: Select all

tempgui := A_Gui "HDT3"
tempgui := %tempgui%
... ahk_id %tempgui%
Hubert
by hd0202
07 Mar 2014, 03:21
Forum: Ich brauche Hilfe
Topic: Variablen HWND an ahk_id übergeben
Replies: 11
Views: 2710

Re: Variablen HWND an ahk_id übergeben

fump2000 wrote:ahk_id % %A_Gui%HDT3
muss wenn schon denn schon ahk_id % A_Gui "HDT3" heissen.

Hier mein Vorschlag:

Code: Select all

tempgui := A_Gui "HDT3"
... ahk_id %tempgui%
Hubert
by hd0202
27 Feb 2014, 01:09
Forum: Ask For Help
Topic: I am in search of a simple List View script with 5 columns
Replies: 14
Views: 3331

Re: I am in search of a simple List View script with 5 colum

just me gave you a complete example in the previous post which vou can use with little changes: 1) Ignore the creation of the test file - you already have your csv file - instead give your filename 2) I think you must change the delimiter character in the StringSplit command from | to , or ; Hubert
by hd0202
27 Feb 2014, 00:50
Forum: Scripts and Functions
Topic: [Class] ImageButton
Replies: 132
Views: 57054

Re: [Class] ImageButton

I added

Code: Select all

#include %a_scriptdir%
and it worked.

Hubert
by hd0202
24 Feb 2014, 15:50
Forum: Ask For Help
Topic: I am in search of a simple List View script with 5 columns
Replies: 14
Views: 3331

Re: I am in search of a simple List View script with 5 colum

LV_Add is a function and expects variables, therefore you must code your constants as:

Code: Select all

LV_Add("", "Key","EN SParts","FW SParts","Role-Tags", "DE-Translate")
Hubert
by hd0202
24 Feb 2014, 01:27
Forum: Scripts and Functions
Topic: [Class] Console - Standardized Console GUI with Methods
Replies: 44
Views: 21326

Re: Class: Console - Standardized Console GUI with Methods

I think here is a problem in class source lines 9 and 13:
TimeFormat should be FormatTime

Hubert
by hd0202
22 Feb 2014, 00:41
Forum: Ask For Help
Topic: Strange List View Delete Behavior LV_Delete() [ solved ]
Replies: 10
Views: 3585

Re: Strange List View Delete Behavior LV_Delete() [ solved ]

@Morpheus
Sorry, no, this supresses only the redrawing.

Hubert
by hd0202
21 Feb 2014, 01:28
Forum: Ask For Help
Topic: Strange List View Delete Behavior LV_Delete() [ solved ]
Replies: 10
Views: 3585

Re: Strange List View Delete Behavior

TLM wrote:If there is a technical explanation as to why this was happening in the 1st place,
I'd be all ears.
After you delete line1 -> line2 becomes line1, line3 -> line2
if you now delete line2 you actually delete line3 and so on...

solution: multi deletes must be done bottom up!

Hubert
by hd0202
04 Oct 2013, 03:11
Forum: Ich brauche Hilfe
Topic: Array mit hexadezimalen Inhalt
Replies: 12
Views: 4798

Re: Array mit hexadezimalen Inhalt

Ich würde es so speichern:

Code: Select all

test := {hwnd: Hwnd , hexWert: ""hexWert}
Hubert

Go to advanced search