Search found 480 matches

by WalkerOfTheDay
Today, 07:32
Forum: Ask For Help
Topic: Proper way to use FormatTime ? Topic is solved
Replies: 0
Views: 25

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

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

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

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

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

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

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

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

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: 20
Views: 1959

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

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

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

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

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

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

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 ...
by WalkerOfTheDay
29 Nov 2019, 05:59
Forum: Ask For Help
Topic: Can you autosize to listviews column title instead of it's contents ? Topic is solved
Replies: 5
Views: 306

Re: Can you autosize to listviews column title instead of it's contents ? Topic is solved

Found it:

LV_ModifyCol(1, "AutoHDR")

Too bad you have to do it for every column though.
by WalkerOfTheDay
29 Nov 2019, 05:53
Forum: Ask For Help
Topic: Can you autosize to listviews column title instead of it's contents ? Topic is solved
Replies: 5
Views: 306

Can you autosize to listviews column title instead of it's contents ? Topic is solved

Hi there, I have below gui, which is working fine. However I would like it to autosize to the width of the column titles, instead of the contents of the listview. Is this possible ? I tried LV_ModifyCol but that defaults to the width of the contents. Gui Add, Text, x34 y52 h23 , Bestandsnaam: Gui Ad...
by WalkerOfTheDay
22 Aug 2019, 04:36
Forum: Ask For Help
Topic: Why does is condition always true ?? Code always executes Topic is solved
Replies: 6
Views: 458

Re: Why does is condition always true ?? Code always executes Topic is solved

Still interested to learn why in my faulty code below would always execute though.

Code: Select all

if temp := "Huisman"
{
	MsgBox, % temp
	Regel := SubStr(A_GuiControl, 13)
	GuiControl,, Eenheid%Regel%, Pallet
}
by WalkerOfTheDay
22 Aug 2019, 04:06
Forum: Ask For Help
Topic: Why does is condition always true ?? Code always executes Topic is solved
Replies: 6
Views: 458

Re: Why does is condition always true ?? Code always executes Topic is solved

swagfag wrote:
22 Aug 2019, 03:59
then it is false always. confirm it by stepping through with a debugger
WalkerOfTheDay wrote:
22 Aug 2019, 03:30
edit
Think I found the issue :D

if(temp = "Huisman") seems to work.
that certainly wasnt the issue. whitespace matters in this case not
Indeed I forgot to add the ( )

Go to advanced search