Search found 484 matches

by WalkerOfTheDay
14 Feb 2020, 09:55
Forum: Ask For Help
Topic: Split an address by Street / huisnumber + ext
Replies: 2
Views: 251

Re: Split an address by Street / huisnumber + ext

str := "20032372-40058767;025771;Acme;;;Acme Street 17 E;3456 AE;Chicago;NL;1;mva.[email protected].nl;52788" arr := StrSplit(str, ";") for k,v In arr { stro .= k = 6 ? RegExReplace(v, "(.*)\s(\d+.)","$1;$2") ";" : v ";" } MsgBox % RTrim(stro,";") Wow. That seems to be working. :bravo: Unfortunately...
by WalkerOfTheDay
14 Feb 2020, 09:00
Forum: Ask For Help
Topic: Split an address by Street / huisnumber + ext
Replies: 2
Views: 251

Split an address by Street / huisnumber + ext

Hi, I have a csv file we use for our shipping software that looks like this: Nrpakbon;Cddeb;Naam klant;Naam2;Naam3;Straat+hnr;Postcode;Plaats;Naam land;aantal;eMail;PickId 20032372-40058767;025771;Acme;;;Acme Street 17 E;3456 AE;Chicago;NL;1;mva.[email protected].nl;52788 We are getting a new shippin...
by WalkerOfTheDay
11 Feb 2020, 07:22
Forum: Ask For Help
Topic: How to add a file version to a compiled exe ??
Replies: 4
Views: 425

Re: How to add a file version to a compiled exe ??

I still use Compile_AHK II (see https://www.autohotkey.com/boards/viewtopic.php?t=16061 ). Once installed, just right -click on an AHK file and choose the 'Compile with Options' entry in the right-click context menu. Easy! It's long in the tooth but continues to do a fine job adding version info (a...
by WalkerOfTheDay
11 Feb 2020, 05:06
Forum: Ask For Help
Topic: How to add a file version to a compiled exe ??
Replies: 4
Views: 425

How to add a file version to a compiled exe ??

Hi guys,

I saw in the docs that there exists a FileGetVersion function.

How do I put a fileversion in a compiled AHK file which can be read by the FileGetVersion function ?
by WalkerOfTheDay
23 Jan 2020, 07:32
Forum: Ask For Help
Topic: Proper way to use FormatTime ? Topic is solved
Replies: 0
Views: 245

Proper way to use FormatTime ? Topic is solved

Hi I am having trouble formatting a datestring into a different format. I know I need FormatTime for this, but somehow it's not working properly for me. I'm using the a DateTime gui control, which outputs for instance: 20200623132517 When I try this: FormatTime, Leverdatum,, 'Leverdatum' dd-MM-yyyy ...
by WalkerOfTheDay
10 Jan 2020, 05:07
Forum: Ask For Help
Topic: Save checked checkboxes from listview to new .csv file Topic is solved
Replies: 24
Views: 2684

Re: Save checked checkboxes from listview to new .csv file Topic is solved

LV_GetText(Artikel, A_Index, 2) must be LV_GetText(Artikel, RowNumber, 2) ; use RowNumber instead of A_Index That did the trick, thanks. Could I ask another thing ? After double clicking you can edit the fields in the listview, would it be possible that after pressing the enter key to behave the sa...
by WalkerOfTheDay
03 Jan 2020, 03:48
Forum: Ask For Help
Topic: Save checked checkboxes from listview to new .csv file Topic is solved
Replies: 24
Views: 2684

Re: Save checked checkboxes from listview to new .csv file Topic is solved

Me again :crazy: Now I'm trying to copy only the checked items, but it is selecting wrong items. When I for instance check 3 boxes, it shows the top three items from the listview instead of the once that are actually checked. I read the LV_GetNext function in the manual, and I think my code should b...
by WalkerOfTheDay
02 Jan 2020, 09:53
Forum: Ask For Help
Topic: Save checked checkboxes from listview to new .csv file Topic is solved
Replies: 24
Views: 2684

Re: Save checked checkboxes from listview to new .csv file Topic is solved

Please try ;... For Each, Cell In ICELV1.Changed { If (Cell.Col = 5) { ; Nett price changed NewNett := StrReplace(Cell.Txt, ",", ".") If NewNett Is Number { If (NewNett > 0) { LV_Modify(Cell.Row, "Col4", "0,00") ; Set list price (Column4) to zero when Nett price is inputted NewNett := StrReplace(Ro...
by WalkerOfTheDay
30 Dec 2019, 07:50
Forum: Ask For Help
Topic: Save checked checkboxes from listview to new .csv file Topic is solved
Replies: 24
Views: 2684

Re: Save checked checkboxes from listview to new .csv file Topic is solved

It's just a warning: LocalSameAsGlobal : Before the script starts to run, display a warning for each undeclared local variable which has the same name as a global variable. This is intended to prevent errors caused by forgetting to declare a global variable inside a function before attempting to ac...
by WalkerOfTheDay
30 Dec 2019, 02:58
Forum: Ask For Help
Topic: Save checked checkboxes from listview to new .csv file Topic is solved
Replies: 24
Views: 2684

Re: Save checked checkboxes from listview to new .csv file Topic is solved

; ---------------------------------------------------------------------------------------------------------------------- SubLV1: ; Check for changes If (A_GuiEvent == "F") { If (ICELV1["Changed"]) { ; no space !!! GuiControl, -g, LV1 ; deactivate th g-label Msg := "" For Each, Cell In ICELV1.Change...
by WalkerOfTheDay
23 Dec 2019, 06:18
Forum: Ask For Help
Topic: Save checked checkboxes from listview to new .csv file Topic is solved
Replies: 24
Views: 2684

Re: Save checked checkboxes from listview to new .csv file Topic is solved

Ok! Okay here goes, I have more questions but this is one I'm working on right now. I would like to execute the code LV_modify(O.Row, "Col4", "0,00") Only when a Nett price is inputted. The nett price is in Column 5. SubLV1: ; Check for changes If (A_GuiEvent == "F") { If (ICELV1 ["Changed"]) { Msg...
by WalkerOfTheDay
12 Dec 2019, 10:38
Forum: Ask For Help
Topic: someone who knows
Replies: 21
Views: 1554

Re: someone who knows

Why are you opening multiple topics with the same question ?

Don't be so impatient. Also, it's not really clear what you want to achieve (at least to me).
by WalkerOfTheDay
12 Dec 2019, 07:24
Forum: Ask For Help
Topic: Save checked checkboxes from listview to new .csv file Topic is solved
Replies: 24
Views: 2684

Re: Save checked checkboxes from listview to new .csv file Topic is solved

To answer your PM: #NoEnv SetBatchLines, -1 If (SubStr(A_AhkVersion, 1, 6) < "1.1.20") { MsgBox, 16, ERROR, Sorry, this script requires AHK 1.1.20+! ExitApp } ; ---------------------------------------------------------------------------------------------------------------------- LV := " ( 123456789...
by WalkerOfTheDay
10 Dec 2019, 09:51
Forum: Ask For Help
Topic: Best Text Editor for AHK?
Replies: 32
Views: 8615

Re: Best Text Editor for AHK?

No doubt, the best editor for ahk is AHK Studio by Maestrith. I also vote for AHK Studio by Maestrith. Did a great job, and it's coded entirely with AutoHotkey. https://www.autohotkey.com/boards/viewtopic.php?f=62&t=300 (AHK Studio sub-forum) Also, AutoGUI works well with it (all AutoHotkey code to...
by WalkerOfTheDay
06 Dec 2019, 08:47
Forum: Ask For Help
Topic: Save checked checkboxes from listview to new .csv file Topic is solved
Replies: 24
Views: 2684

Re: Save checked checkboxes from listview to new .csv file Topic is solved

you want edit in listview only a column (?) ... search for > Listview cell editing ... or ask again https://www.autohotkey.com/boards/search.php?keywords=listview+cell+editing example from user 'just me' : https://www.autohotkey.com/boards/viewtopic.php?f=76&t=20900&hilit=listview+cell+editing Yes ...
by WalkerOfTheDay
06 Dec 2019, 04:34
Forum: Ask For Help
Topic: Save checked checkboxes from listview to new .csv file Topic is solved
Replies: 24
Views: 2684

Re: Save checked checkboxes from listview to new .csv file Topic is solved

modified script above Formatted text depending columns width ( use non proportional font like 'Lucida Console' for text editor ) click PRINT and see formatted text in text editor , so maybe easy to modify 'Aantal' ( last column in this case ) Thanks again. For modifying 'aantal' it does work indeed...
by WalkerOfTheDay
04 Dec 2019, 09:46
Forum: Ask For Help
Topic: Save checked checkboxes from listview to new .csv file Topic is solved
Replies: 24
Views: 2684

Re: Save checked checkboxes from listview to new .csv file Topic is solved

Thanks again.

While this works, it isn't really convenient when you have a 200 line orderform and then have to edit them one
by one to change the quantity.

But I like the proof of concept :bravo:
by WalkerOfTheDay
04 Dec 2019, 07:12
Forum: Ask For Help
Topic: Save checked checkboxes from listview to new .csv file Topic is solved
Replies: 24
Views: 2684

Re: Save checked checkboxes from listview to new .csv file Topic is solved

your script example , saves selected rows to a new file ;-------- saved at Dienstag, 3. Dezember 2019 21:24:45 -------------- ;;-------- https://www.autohotkey.com/boards/viewtopic.php?f=76&t=70363 --- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. #Warn ; E...
by WalkerOfTheDay
03 Dec 2019, 02:46
Forum: Ask For Help
Topic: Save checked checkboxes from listview to new .csv file Topic is solved
Replies: 24
Views: 2684

Re: Save checked checkboxes from listview to new .csv file Topic is solved

Found something that works for selected (highlighted) items, but I'm actually looking to
checked items that are checked. Any ideas ?

Code: Select all

GuiControl, Text, Copy, Gelukt !
ControlGet, SelectedItems, List, Selected, SysListView321
MsgBox, %SelectedItems%
by WalkerOfTheDay
02 Dec 2019, 09:31
Forum: Ask For Help
Topic: Save checked checkboxes from listview to new .csv file Topic is solved
Replies: 24
Views: 2684

Save checked checkboxes from listview to new .csv file Topic is solved

Hi guys, I wrote below code (wip). This opens a csv file and puts in on the clipboard so that I can paste the data into SAP Business One. It works perfectly. Now I read in the documentation that you can add checkboxes, which I did. My question is, would it be possible to save only the items where I ...

Go to advanced search