Search found 243 matches

by Peter2
17 Feb 2017, 06:05
Forum: Ask For Help
Topic: "FileCopyDir" without some files and folders?
Replies: 5
Views: 929

Re: "FileCopyDir" without some files and folders?

Thanks too - I used also a loop.
by Peter2
25 Jan 2017, 09:15
Forum: Ask For Help
Topic: "FileCopyDir" without some files and folders?
Replies: 5
Views: 929

"FileCopyDir" without some files and folders?

I want to

- copy my folder c:\test\ incl. all files and all subdirs to somewhere
- but want to skip
- files c:\test\a.txt
- files c:\test\b.txt
- subdir c:\test\yxz\

Is there a "direct" solution or do I have to use a Loop?
by Peter2
18 Jan 2017, 15:48
Forum: Ask For Help
Topic: Problems with "7za.exe wrapper" from Scripts
Replies: 8
Views: 1671

Re: Problems with "7za.exe wrapper" from Scripts

Not at the moment - I will continue in a few days.
by Peter2
18 Jan 2017, 15:48
Forum: Ask For Help
Topic: Resize a window to given size (dual screen)?
Replies: 2
Views: 535

Re: Resize a window to given size (dual screen)?

Helgef wrote:Maybe use Winmove instead?
Thanks :thumbup:
by Peter2
18 Jan 2017, 07:06
Forum: Ask For Help
Topic: Resize a window to given size (dual screen)?
Replies: 2
Views: 535

Resize a window to given size (dual screen)?

I'm sure the solution will be a one-liner... I have dual screens, 2 x 1280 * 1024, so in total 2560 * 1024. I simply want to fit a window from a software (not a GUI from AHK) to both screen. I tried: WinSet, Region, 60-0 W2495 H990, ahk_class TV_CClientWindowsClass ; Make all parts of the window out...
by Peter2
13 Jan 2017, 12:19
Forum: Scripts and Functions
Topic: ZipFile [AHK v1.1 and AHK v2.0]
Replies: 24
Views: 7811

Re: ZipFile [AHK v1.1 and AHK v2.0]

7za - wrapper discussion is continued here:
https://autohotkey.com/boards/viewtopic.php?f=5&t=26832
by Peter2
13 Jan 2017, 12:18
Forum: Ask For Help
Topic: Problems with "7za.exe wrapper" from Scripts
Replies: 8
Views: 1671

Problems with "7za.exe wrapper" from Scripts

Thread is forked from here: ZipFile [AHK v1.1 and AHK v2.0] https://autohotkey.com/boards/viewtopic.php?f=6&t=3892 ------------------------------ joedf posted this 7za.exe wrapper in the topic above: ;7z warpper - joedf 7z_exe:="7za.exe" 7z_compress(dPack,files*) { global 7z_exe flist:="" for each, ...
by Peter2
12 Jan 2017, 06:55
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 353
Views: 190775

Re: AutoGUI - GUI Designer and Script Editor

I just started to play around - Thanks a lot for this tool, it's a huge support for users with little knowledge. :thumbup:
by Peter2
12 Jan 2017, 03:16
Forum: Ask For Help
Topic: Problems with "7za.exe wrapper" from Scripts
Replies: 8
Views: 1671

Re: ZipFile [AHK v1.1 and AHK v2.0]

Some steps more, but no solution. Yes, "7z_exe" had no value, so I moved it into the function. I also made a lot of (simple) intermediate steps to report and see what it does. Here is the (ugly) code: 7z_compress(dPack,files*) { global 7z_exe global xx global flist 7z_exe := "7za.exe" flist:="" for ...
by Peter2
12 Jan 2017, 01:40
Forum: Ask For Help
Topic: Problems with "7za.exe wrapper" from Scripts
Replies: 8
Views: 1671

Re: ZipFile [AHK v1.1 and AHK v2.0]

The code is taken from your posting above, but I think it is the same.
Yes, 7za.exe is in the folder, and it is found with FileExist.
7za is also working fine when I start it in CMD-window.
by Peter2
11 Jan 2017, 13:30
Forum: Ask For Help
Topic: Problems with "7za.exe wrapper" from Scripts
Replies: 8
Views: 1671

Re: ZipFile [AHK v1.1 and AHK v2.0]

Hi Win 10, AHK 1.1.24.02 at the moment I have problems with the 7za-wrapper. I have the AHK-coe(snippet): FileSelectFolder, sicherungsquelle, *%A_Scriptdir%, 0,Verzeichnis zum Sichern wählen FileList = ; Initialize to be blank. Loop Files, %sicherungsquelle%\*.*, DFR FileList = %FileList% %A_LoopFil...
by Peter2
08 Jan 2017, 15:16
Forum: Ask For Help
Topic: Recommended Updater-code?
Replies: 0
Views: 308

Recommended Updater-code?

I looked around here for an "updater" function (which I have to modify for my own app), and found the AHK updater Script: https://autohotkey.com/download/Update.ahk Super simple download with progressbar: https://autohotkey.com/boards/viewtopic.php?f=6&t=1674 Are there some recommendations for bette...
by Peter2
25 Nov 2016, 13:34
Forum: Ask For Help
Topic: Autohotkey on Windows 10 Enterprise CBB (1607) and Windows Server 2016 LTSB (1609)
Replies: 0
Views: 317

Autohotkey on Windows 10 Enterprise CBB (1607) and Windows Server 2016 LTSB (1609)

Hi I have a small AKH script (32 bit, compiled to Exe, I have the source code ) which now runs on Windows Server R2008 (or 2012??). Now the admins of the server want to update and asked me for compatibility with "Windows 10 Enterprise CBB (1607)" and "Windows Server 2016 LTSB (1609)" Is there an ans...
by Peter2
16 Mar 2016, 04:44
Forum: Ask For Help
Topic: Named GUIS and LV_ADD
Replies: 9
Views: 997

Re: Named GUIS and LV_ADD

Yes, that's also fine. But it would not work with the messed up GUI-names in the my first example.
by Peter2
16 Mar 2016, 03:33
Forum: Ask For Help
Topic: Named GUIS and LV_ADD
Replies: 9
Views: 997

Re: Named GUIS and LV_ADD

Hi @ lexikos and @ just me thanks for your detailed help. a) It seems that the basic problem was my misunderstanding of +HwndSysinfo . I thought that Gui, new, Gui +HwndSysInfo assigns an empty GUI and then assigns the name "Sysinfo" to it. But a simple Gui, Systeminfo: new, does it: it creates a na...
by Peter2
15 Mar 2016, 18:48
Forum: Ask For Help
Topic: Named GUIS and LV_ADD
Replies: 9
Views: 997

Re: Named GUIS and LV_ADD

lexikos wrote:...LV_Add and Gui +HwndSysInfo operate on the default GUI. Gui, SysInfo:Add says "add a control to the SysInfo Gui". These are two different GUIs.
Yes, this is what I tried to say. The main-Gui (Bundlelist) from the first code segment calls a second GUI (Sysinfo).
by Peter2
15 Mar 2016, 18:02
Forum: Ask For Help
Topic: Named GUIS and LV_ADD
Replies: 9
Views: 997

Named GUIS and LV_ADD

I still have problems to understand the naming and the hierarchy of GUI .. :| I have a main GUI with a button which starts a sub-GUI: ShowStartDialog: SS_REALSIZECONTROL := 0x40 ; erzwingt Grössenanpassung des Bildes in die Control Gui, new,+HwndBundleList, % "my caption" Gui -Resize -MaximizeBox Bo...
by Peter2
07 Mar 2016, 17:12
Forum: Ask For Help
Topic: ListView - ColClick: Sort up / sort down
Replies: 5
Views: 1106

Re: ListView - ColClick: Sort up / sort down

I modified it to check first against last value, and change the operator:

Code: Select all

        LV_GetText(Out1, 1, A_EventInfo)
        LV_GetText(Out2, LV_GetCount(), A_EventInfo)
        isSortedDown := Out2 < Out1
by Peter2
07 Mar 2016, 16:39
Forum: Tutorials
Topic: Zugriff auf mit 'FileInstall' eingebundene Skriptressourcen
Replies: 21
Views: 13751

Re: Zugriff auf mit 'FileInstall' eingebundene Skriptressourcen

- der ganze Pfad wird als Struktur in die Exe hineinkompiliert - ...Die eingebundene Datei findet sich dann immer an derselben Stelle in der kompilierten Exe. Das kannst Du mit dem ResHacker überprüfen... Ich habe nochmals nachgesehen ... a) Der Pfad wird nicht als "Struktur" eingebaut; diese wurde...
by Peter2
07 Mar 2016, 16:25
Forum: Ask For Help
Topic: ListView - ColClick: Sort up / sort down
Replies: 5
Views: 1106

Re: ListView - ColClick: Sort up / sort down

Thanks - fine and compact!

Go to advanced search