Search found 279 matches

by hasantr
Today, 17:04
Forum: Ask For Help
Topic: ListView Column Move
Replies: 1
Views: 71

ListView Column Move

I found such work from the Old Forum. But it does not work as expected. It does not Sort Columns as specified in the new_column_order variable. Is there any way to fix? https://autohotkey.com/board/topic/11926-can-you-move-a-listview-column-programmatically/ LVM_FIRST := 0x1000 LVM_REDRAWITEMS := 21...
by hasantr
12 Nov 2019, 16:51
Forum: Scripts and Functions
Topic: Reads Excel (xlsx) Fast
Replies: 34
Views: 6852

Re: Reads Excel (xlsx) Fast

[Updated 2019 January 18] This time, just collects contents. -fixed "...cells is formatted (Bold/Italic/Underlined/formatted as text/foreground color/background color etc.) it will be skipped.." myExcel := "Testing.xlsx" tempFolder := RegExReplace(myExcel, ".*\K\\.*") "\_Excel_UnZip\" tempName := R...
by hasantr
09 Nov 2019, 11:05
Forum: Scripts and Functions
Topic: [Class] LV_Colors - 1.1.04.01 (2016-05-03)
Replies: 133
Views: 33412

Re: [Class] LV_Colors - 1.1.04.01 (2016-05-03)

I'm having crash problems. Is there a general solution? When you work on top of each other, it doesn't take long for it to collapse. Fully responsible LV_Colors, because there will be no crashes when disabled. The work file is too big. Excuse me. SendMode Input ; Recommended for new scripts due to i...
by hasantr
05 Nov 2019, 02:13
Forum: Ask For Help
Topic: Extract ZIP to RAM?
Replies: 18
Views: 957

Re: Extract ZIP to RAM?

tmplinshi wrote:
04 Nov 2019, 02:43
I don't know :problem:
Thanks. It's quite useful as it is.
by hasantr
04 Nov 2019, 02:20
Forum: Ask For Help
Topic: Extract ZIP to RAM?
Replies: 18
Views: 957

Re: Extract ZIP to RAM?

Does using multiple files in this way reduce performance? I think so. Might doing it in this way: #NoEnv SetWorkingDir %A_ScriptDir% if (A_Args[1] != "<Fix>") { Run, %A_ScriptFullPath% "<Fix>", % A_ScriptDir ExitApp } global 7zipDll := (A_PtrSize=8) ? "7-zip64.dll" : "7-zip32.dll" DllCall("LoadLibr...
by hasantr
03 Nov 2019, 16:48
Forum: Ask For Help
Topic: Extract ZIP to RAM?
Replies: 18
Views: 957

Re: Extract ZIP to RAM?

SetWorkingDir %A_ScriptDir% global 7zipDll := (A_PtrSize=8) ? "7-zip64.dll" : "7-zip32.dll" DllCall("LoadLibrary", "str", 7zipDll, "ptr") MsgBox % SevenZip_ExtractMem2("test.zip", "test2.txt") ExitApp SevenZip_ExtractMem2(archive_name, file_name) { DllCall("CreatePipe", "ptr*", readTemp, "ptr*", wr...
by hasantr
31 Oct 2019, 09:09
Forum: Ask For Help
Topic: Extract ZIP to RAM?
Replies: 18
Views: 957

Re: Extract ZIP to RAM?

tmplinshi wrote:
31 Oct 2019, 07:59
hasantr wrote:
31 Oct 2019, 07:00
Can the file read into memory be read as UTF-8?
just change StrGet(&data, "cp0") to StrGet(&data, "utf-8")
Thanks. Hopefully we can handle the crash problem.
by hasantr
31 Oct 2019, 07:00
Forum: Ask For Help
Topic: Extract ZIP to RAM?
Replies: 18
Views: 957

Re: Extract ZIP to RAM?

The 7zip dll from 7-zip32_ungarbled has a SevenZipExtractMem function, source : int WINAPI SevenZipExtractMem(HWND _hwnd, LPCSTR _szCmdLine, LPBYTE _szBuffer, const DWORD _dwSize, time_t * _lpTime, LPWORD _lpwAttr, LPDWORD _lpdwWriteSize){ HANDLE readPipe = NULL, writePipe=NULL, readTemp=NULL; HAND...
by hasantr
31 Oct 2019, 06:42
Forum: Ask For Help
Topic: Expanding the Entire Folder Tree Topic is solved
Replies: 3
Views: 291

Re: Expanding the Entire Folder Tree Topic is solved

I accidentally discovered a shortcut key in the window. Numpad * opens the entire subfolder tree.
Only Numpad * so

Code: Select all

SendInput, {NumpadMult}
takes care of everything. The entire folder tree opens.

The problem is solved.
by hasantr
29 Oct 2019, 07:02
Forum: Scripts and Functions
Topic: Ixiko's collections of functions and libraries
Replies: 20
Views: 5199

Re: Ixiko's collections of functions and libraries

Thanks. It's all so great.
by hasantr
13 Oct 2019, 15:11
Forum: Scripts and Functions
Topic: [Library] SBAR v0.1 (Preview) - Status Bar Library
Replies: 5
Views: 1214

Re: [Library] SBAR v0.1 (Preview) - Status Bar Library

jballi wrote:
04 Jul 2017, 22:22
Thanks. This is very useful.
by hasantr
13 Oct 2019, 03:06
Forum: Ask For Help
Topic: Array Concatenation
Replies: 12
Views: 1791

Re: Array Concatenation

For the benefit of fellow archive searchers, here is a simple function I use: FirstArray := ["1.1", "1.2", "1.3"] SecondArray := ["2.1", "2.2", "2.3"] ArrayPush(FirstArray, SecondArray) For, key, val in FirstArray MsgBox, % key " is " val ArrayPush(ByRef Array1, Array2) { loop % Array2.length() ; i...
by hasantr
12 Oct 2019, 08:54
Forum: Ask For Help
Topic: Keep one window above the other?
Replies: 4
Views: 213

Re: Keep one window above the other?

There is always another way, but it's not always worth doing it the other way. This is a pretty straight forward approach. #SingleInstance,Force Gui,1:+AlwaysOnTop Loop 4 Gui,1:Add,Button,% "x10 w200 h30 vGui" A_Index+1 " gOpenNewGui", % "Open Gui " A_Index+1 Gui,1:Show,,Main Gui return GuiClose: *...
by hasantr
12 Oct 2019, 07:43
Forum: Ask For Help
Topic: Keep one window above the other?
Replies: 4
Views: 213

Re: Keep one window above the other?

#SingleInstance,Force Gui,1:Add,Button,w200 h200 gSecond,Make Second Window Gui,1:Show,x0 w400 h400 return GuiClose: *^ESC:: ExitApp Second: Gui,1:+Disabled Gui,2:Destroy Gui,2:+Owner1 Gui,2:Show,x500 w400 h400 return 2GuiClose: Gui,1:-Disabled Gui,2:Destroy return Thank you, Helbent. I have 5 diff...
by hasantr
12 Oct 2019, 06:58
Forum: Ask For Help
Topic: Keep one window above the other?
Replies: 4
Views: 213

Keep one window above the other?

Keep one window above the other. Block interaction with the bottom. Gui,First:add,button,w80 h100 gGui2, Gui2 Gui First:show return Gui2: Gui,Second:Add,Text,,SampleSample Gui +OwnDialogs ;The solution to the messages doesn't work here. I guess that's not working. I can still click on the bottom win...
by hasantr
12 Oct 2019, 03:59
Forum: Ask For Help
Topic: checkbox status of listview on fly?
Replies: 9
Views: 549

Re: checkbox status of listview on fly?

Odlanir wrote:
12 Oct 2019, 02:31
My previous post was incorrect. It should have been:

Code: Select all

If (str != "")  
   str .= "," RowNumber
else    
   str .= RowNumber
Not important. I already understood. And there was the Elvis. :) I learned that too.
Thank you very much.
by hasantr
12 Oct 2019, 00:09
Forum: Ask For Help
Topic: checkbox status of listview on fly?
Replies: 9
Views: 549

Re: checkbox status of listview on fly?

Odlanir wrote:
11 Oct 2019, 15:46
It's a ternary operator. Is equivalent to this:

Code: Select all

If (str != "")  
   str := str "," RowNumber
else    
   str := RowNumber
Oh, that's great. Why didn't I find out so far.
Çok teşekkürler.
by hasantr
11 Oct 2019, 15:22
Forum: Ask For Help
Topic: checkbox status of listview on fly?
Replies: 9
Views: 549

Re: checkbox status of listview on fly?

Odlanir wrote:
17 Aug 2019, 04:49
str .= str ? "," RowNumber : RowNumber
What does the colon and the question mark tell you in this statement? Why are they there?
by hasantr
05 Oct 2019, 03:15
Forum: Ask For Help
Topic: A_CaretX Useless on Chrome
Replies: 7
Views: 481

Re: A_CaretX Useless on Chrome

malcev wrote:
04 Oct 2019, 17:11
This has been discussed many times.
You can google it.
Excuse me. My English is bad and I don't understand things like that very easily. Yeah, I shouldn't have bothered you.

Go to advanced search