Search found 19 matches

by art
11 Mar 2019, 03:14
Forum: Ask For Help
Topic: WM_COPYDATA - Fail to send Non-English chrs
Replies: 1
Views: 189

WM_COPYDATA - Fail to send Non-English chrs

The [email protected]() and TC_SendWMCopyData() code found at Ref_1 link. Also, there are relative reports at links REF_2 and REF_3 . REF_1 : https autohotkey.com /board/topic/69462-stuck-code-works-in-ahk-std-but-not-ahk-l-32-or-64bit/#entry439947 REF_2 : https ghisler.ch /board/viewtopic.php?f=6&t=32658&star...
by art
21 Sep 2018, 06:51
Forum: Ask For Help
Topic: Reversing lines in a text variable Topic is solved
Replies: 5
Views: 453

Re: Reversing lines in a text variable Topic is solved

v= ( apple banana orange blackberry coconut ) s:=StringReverse(v, "`n") MsgBox,4096,StringReverse, %s% exitapp ;================================================================================ StringReverse(str, Separator="", OmitChars="") { Loop,Parse,% StrReplace(str,Separator,(BS:=chr(8))),%BS%,...
by art
10 Aug 2018, 23:51
Forum: Scripts and Functions
Topic: [Function] SubStringX
Replies: 2
Views: 478

Re: [Function] SubStringX

SubStringX v1.0 - Initial version The latest version is always in the first post. Function and Example: v= ( 01. Animals;Cats and Dogs;XX;Home;SA;;;Y;;N;C;SA; 02. Animals;Cats and Dogs;XX;Home;SB;;;Y;;N;C;SB; 03. Animals;Cats and Dogs;XX;Home;SC;;;Y;;N;C;SC; 04. Ugly;Animals;Cats and Dogs;XX;Home;S...
by art
10 Aug 2018, 10:40
Forum: Scripts and Functions
Topic: [Function] SubStringX
Replies: 2
Views: 478

[Function] SubStringX

I have a little free time and i create the SubStringX function. SubStringX Searches a string and extract one or more characters, according to unlimited Include-Exclude-Expand criteria. Finally it returns All the text between the 1st and the last Include Needles. Best Regards art ***** UPDATES ***** ...
by art
02 May 2018, 02:54
Forum: Ask For Help
Topic: Getting a GUI to move with another window?
Replies: 11
Views: 1046

Re: Getting a GUI to move with another window?

Thank you very much A_AhkUser for your example! If you don't mind, i change it a little for my needs: - more compact - less global vars - if you manually re-position the owned window over the owner, it remembers and new relationship. #NoEnv #SingleInstance force SetWinDelay, -1 run notepad.exe WinWa...
by art
22 May 2017, 14:35
Forum: Ask For Help
Topic: Autosize Editbox in a gui? Topic is solved
Replies: 11
Views: 1076

Re: Autosize Editbox in a gui? Topic is solved

something strange is when I copy paste text larger than the 1 row. If I launch the GUI again, it will not auto size anything and the edit box overlaps behind all the other elements. but it fixes only if I reset it by writing something shorter than 1 row and submitting it and launching it again. may...
by art
22 May 2017, 06:17
Forum: Ask For Help
Topic: ListView column Ensures visible
Replies: 0
Views: 211

ListView column Ensures visible

Hi,
If you want to Ensure that a specified row is completely visible by scrolling the ListView, you can use LV_Modify(RowNumber, "Vis").
Does anyone know how to Ensure that column 142 is completely visible by horizontal scrolling a ListView with 180 columns?
Thanks
by art
22 May 2017, 00:32
Forum: Ask For Help
Topic: Autosize Editbox in a gui? Topic is solved
Replies: 11
Views: 1076

Re: Autosize Editbox in a gui? Topic is solved

very quick answer 1. Did you run/test my example? Is it working as it is? 2. you missed the hwnd for edit control Gui, Add, Edit, %gui_control_options% xp+0 yp+10 w380 vSearch ggEdit1 +Multi HwndhEdit1 , %Search% ;Edit Box 3. limit to 5 lines (3rd option when INIT) Edit_AutoHeight(hEdit1, p1 "|" p2 ...
by art
21 May 2017, 19:02
Forum: Ask For Help
Topic: Autosize Editbox in a gui? Topic is solved
Replies: 11
Views: 1076

Re: Autosize Editbox in a gui? Topic is solved

ok, that was an old function Now try this one: - Only one function for all your edit controls without the problems you had mention in your post. - Edit1: AutoHeight without limits, controls bellow it also moves up/down, Gui is resized. - Edit2: AutoHeight max 5 rows, ListView bellow it also moves up...
by art
21 May 2017, 01:34
Forum: Ask For Help
Topic: Autosize Editbox in a gui? Topic is solved
Replies: 11
Views: 1076

Re: Autosize Editbox in a gui? Topic is solved

Try this: Gui, Add, Edit, w145 +Multi gEdit_AutoHeight, blabla1`nblabla2`nblabla3 GUI, Add, Text, W200 R1 center hwndhT +BORDER,This is some text GUI, Add, listview, r5 hwndhLv,Column1|Column2|Column3 Loop, 5 Lv_add("", "Cell " a_index ":1", "Cell " a_index ":2", "Cell " a_index ":3") Edit_AutoHeigh...
by art
09 Jun 2016, 04:03
Forum: Ask For Help
Topic: Sort table by 2 columns
Replies: 6
Views: 984

Re: Sort table by 2 columns

Nice art, I see your function is more than twice as fast as my attempt. But i don't really understand what you are doing here. Could you explain a bit what your code does? Use this edition of the function and MsgBoxes will saw you what the function does: SortByColumn(Str, SortCol, SortOptions="", C...
by art
08 Jun 2016, 01:51
Forum: Ask For Help
Topic: Sort table by 2 columns
Replies: 6
Views: 984

Re: Sort table by 2 columns

Try this ;the original list MyVar4 = ( 11417%A_tab%M. N. Blytt%A_tab%1857-00-00%A_tab%Norway%A_tab%Buskerud%A_tab%Drammen%A_tab%Drammen 18178%A_tab%Mathias N. Blytt%A_tab%0000-00-00%A_tab%Norway%A_tab%Oslo fylke%A_tab%Oslo%A_tab%Nokkelvand 12625%A_tab%Mathias N. Blytt%A_tab%0000-00-00%A_tab%Norway%A...
by art
05 Jun 2016, 03:36
Forum: Ask For Help
Topic: Sort CSV Date Column
Replies: 5
Views: 1130

Re: Sort CSV Date Column

This is a little faster than just me 's and with more options. Note1: my function SortByColumn() sorts by SortColumn and all-after SortColumn and i think this is better sorting. Note2: The iterations are 100.000 so be patient to finish. #NoEnv SetBatchLines, -1 Var = ( foo6,bar8,foo2,bar7,foo3,2016/...
by art
26 Apr 2016, 14:58
Forum: Ask For Help
Topic: (SOLVED) StringReplace - How to replace only a given occurrence?
Replies: 6
Views: 1435

Re: (SOLVED) StringReplace - How to replace only a given occurrence?

another approach StringReplaceOccurrence(Haystack,SearchText,ReplaceText="",Occurrence=1,CaseSensitive=false) { i:=InStr(Haystack,SearchText,CaseSensitive,1,Occurrence) Return SubStr(Haystack,1,i-1) ReplaceText SubStr(Haystack,i+StrLen(SearchText)) } ; Replace the Nth Occurrence of "SearchText" in "...
by art
05 Nov 2015, 06:47
Forum: Ask For Help
Topic: Some data is missing when using FileRead/FileAppend
Replies: 7
Views: 1344

Re: Some data is missing when using FileRead/FileAppend

@pkey You can also find the latest flash version in: https://fpdownload.macromedia.com/pub/flashplayer/update/current/sau/11/xml/version.xml <?xml version="1.0"?> <version> <ActiveX major="19" minor="0" buildMajor="0" buildMinor="226"/> <Plugin major="19" minor="0" buildMajor="0" buildMinor="226"/> ...
by art
17 Jan 2015, 17:37
Forum: Ask For Help
Topic: Tooltips via Mousecontrol - Problem in example
Replies: 6
Views: 1070

Re: Tooltips via Mousecontrol - Problem in example

Hi, I used to use this function in my scripts. ;================================================================================ AddToolTip(CtrlHwnd,text,Modify=0) { ; ***** Add Multiline ToolTips to any Gui Control ***** [ AHK, AHK_L compatible ] Static TThwnd, GuiHwnd, Ptr ; - 'Text' and 'Picture'...
by art
09 Jan 2014, 04:42
Forum: Scripts and Functions
Topic: [Looking for Maintainers/Successors] Clipjump : The Ultimate Clipboard Manager
Replies: 92
Views: 36098

Re: Clipjump : The Ultimate Clipboard Manager

Avi wrote:v10.6.2 minor release
...
@art You may update
You are really fast! Thank you sir.
by art
09 Jan 2014, 00:41
Forum: Scripts and Functions
Topic: [Looking for Maintainers/Successors] Clipjump : The Ultimate Clipboard Manager
Replies: 92
Views: 36098

Re: Clipjump : The Ultimate Clipboard Manager

Avi wrote:Thanks @art, that came out an issue because it was a part of a less used feature .
You have kept "No of days to keep items in history" as 0 unlike anybody else and so you found that error .
I will release a fix soon.
You are right!
Tks Avi for your good work, Keep walking!
by art
08 Jan 2014, 14:16
Forum: Scripts and Functions
Topic: [Looking for Maintainers/Successors] Clipjump : The Ultimate Clipboard Manager
Replies: 92
Views: 36098

Re: Clipjump : The Ultimate Clipboard Manager

Error for Clipjump v10.6: --------------------------- Clipjump.exe --------------------------- Error: Nonexistent menu item. Specifically: &Incognito Mode Line# ---> 3586: Menu,Tray,check,&Incognito Mode The current thread will exit. --------------------------- OK --------------------------- Best Re...

Go to advanced search