Search found 6235 matches

by just me
Today, 05:51
Forum: Ask For Help
Topic: ; How to Split 78 sets of combined coordinates into separated x y and save to ini file
Replies: 5
Views: 93

Re: ; How to Split 78 sets of combined coordinates into separated x y and save to ini file

@Albireo:
In the settings GUI, X and Y values are combined as X, Y in edit fields. In the INI file, they are stored as Coordn in two sections [X_Coord] and [Y_Coord.
by just me
Today, 05:44
Forum: Ask For Help
Topic: Use data from clipboard
Replies: 4
Views: 73

Re: Use data from clipboard

Moin, if you get 8 message boxes for 7 records, the clipboard contains a line break (`r)`n after the 7th record. You can remove it using For LineIndex, Line In StrSplit(RTrim(Clipboard, "`r`n"), "`n", "`r") ; <<<<< added RTrim() { ... It will remove all empty lines at the end of the clipboard conten...
by just me
Today, 04:50
Forum: Ask For Help
Topic: Use data from clipboard
Replies: 4
Views: 73

Re: Use data from clipboard

Code: Select all

For LineIndex, Line In StrSplit(Clipboard, "`n", "`r")
{
   Fields := StrSplit(Line, "`t")
   MsgBox, , Record %LineIndex%, % "Field 3 is`t`t" . Fields[3] . "`n`n"
                                 . "Field 5 is`t`t" . Fields[5]
}
Fields := ""
?
by just me
23 Jun 2019, 16:38
Forum: Ich brauche Hilfe
Topic: Excel Objekt trennen und wieder neu verbinden
Replies: 4
Views: 128

Re: Excel Objekt trennen und wieder neu verbinden

Moin, ich mag mich da irren, aber mir scheint es logisch, dass Du kein AHK-Objekt sondern ein Excel-Objekt hast, das an einen laufenden Excel-Prozess gebunden ist. Wenn Du alle zugehörigen Excel-Prozesse erfolgreich abgeschossen hast, dürfte der in AHK gespeicherte Verweis auf das Excel-Objekt kaum ...
by just me
23 Jun 2019, 09:08
Forum: Ask For Help
Topic: Translate PowerShell to AHK - possible?
Replies: 32
Views: 586

Re: Translate PowerShell to AHK - possible?

... My problem is to automatically analyze CSV files. ... Your problem is that you believe to need to automatically analyze CSV files. It sounds as if you have to process thousands of CSV files of unknown and/or changing formats. In your other thread you talk about 10 CSV files. It doesn't make sen...
by just me
23 Jun 2019, 06:52
Forum: Ask For Help
Topic: Translate PowerShell to AHK - possible?
Replies: 32
Views: 586

Re: Translate PowerShell to AHK - possible?

This is a valid CSV line:

Code: Select all

Line := "1,5;2,5;3,5;4,5;5,5;6,5;7,5;8,5;9"
The field separator is semicolon ; and therefore commas , don't need to be "escaped". Which separator will your 'automatic analyzer' choose?
by just me
22 Jun 2019, 06:28
Forum: Ask For Help
Topic: Disabling ListView Checkboxes
Replies: 3
Views: 116

Re: Disabling ListView Checkboxes

Try this to lock the checkboxes: #NoEnv #SingleInstance Force SetBatchLines, -1 LockCB := True Gui, Add, ListView, Checked r9 w250 AltSubmit vLV1 hwndHLV, Name Loop, 9 LV_Add("", "Item " . A_Index) LV_Modify(3, "+Check"), LV_Modify(8, "+Check") Gui, Add, CheckBox, vLockCB gLockCheckboxes Checked%Loc...
by just me
22 Jun 2019, 04:47
Forum: Ask For Help
Topic: Timer when cursor inside GUI
Replies: 15
Views: 263

Re: Timer when cursor inside GUI

Yes!
by just me
22 Jun 2019, 04:43
Forum: Ask For Help
Topic: Dealing with Display Scaling
Replies: 1
Views: 60

Re: Dealing with Display Scaling

MouseMove -> Remarks
The following is an alternate way to move the mouse cursor that may work better in certain multi-monitor configurations:

Code: Select all

DllCall("SetCursorPos", "int", 100, "int", 400)  ; The first number is the X-coordinate and the second is the Y (relative to the screen).
?
by just me
22 Jun 2019, 03:44
Forum: Ask For Help
Topic: Delete Object key - How? Topic is solved
Replies: 17
Views: 413

Re: Delete Object key - How? Topic is solved

Albireo : Example3: ; Test just me InputData := [] DataIndex := 0 For LineIndex, Line In StrSplit(InputCSV, "`n") { LineCount := LineIndex If StrLen(Line) { DataIndex += 1 InputData[DataIndex] := Line } } DataLines := "" For Each, Line In InputData DataLines .= "`n" Line StopTime := A_TickCount Cou...
by just me
22 Jun 2019, 03:36
Forum: Ask For Help
Topic: Timer when cursor inside GUI
Replies: 15
Views: 263

Re: Timer when cursor inside GUI

Hellbent : Per default, the size of a structure is aligned to a multiple of the size of its largest field. typedef struct tagTRACKMOUSEEVENT { DWORD cbSize; DWORD dwFlags; HWND hwndTrack; DWORD dwHoverTime; } TRACKMOUSEEVENT, *LPTRACKMOUSEEVENT; In a 64-bit environment, the largest field of the str...
by just me
21 Jun 2019, 07:49
Forum: Ask For Help
Topic: Can I directly destroy the parent Gui?
Replies: 1
Views: 86

Re: Can I directly destroy the parent Gui?

Hi,

your Gui, 2: is not a child window, it is an owned window.
by just me
21 Jun 2019, 05:41
Forum: Wish List
Topic: Loop, Parse, Var, CSV
Replies: 2
Views: 116

Loop, Parse, Var, CSV

The CSV option is quite useful if (and only if) you parse a CSV file using the English default Excel format: " text field delimiter. , field separator. Both characters ( " and , ) are hard-coded in AHK's modul script.cpp : ResultType Line::PerformLoopParseCSV(ExprTokenType *aResultToken, bool &aCont...
by just me
21 Jun 2019, 04:47
Forum: Ask For Help
Topic: Delete Object key - How? Topic is solved
Replies: 17
Views: 413

Re: Delete Object key - How? Topic is solved

I just ran my own benchmark. Reading a CSV file with ~20000 rows of 18 columns (~3 MB) and converting it to an array using my code needs < 100 ms here.
by just me
21 Jun 2019, 04:06
Forum: Ask For Help
Topic: Delete Object key - How? Topic is solved
Replies: 17
Views: 413

Re: Delete Object key - How? Topic is solved

Your benchmarking results are less meaningful if you don't show your complete benchmark script.
by just me
21 Jun 2019, 02:36
Forum: Ich brauche Hilfe
Topic: Signatur mit givenname aus Active Directory LDAP Topic is solved
Replies: 8
Views: 679

Re: Signatur mit givenname aus Active Directory LDAP Topic is solved

Moin,

entferne einfach mal in der GetADSystemInfo() Funktion die Try Anweisungen. Du bekommst dann im Fehlerfall eine Fehlermeldung. Ich vermute, dass der Fehler in den ComObj... Anweisungen auftritt.
by just me
20 Jun 2019, 16:31
Forum: Ask For Help
Topic: Delete Object key - How? Topic is solved
Replies: 17
Views: 413

Re: Delete Object key - How? Topic is solved

The test was done as follows:
- Start the clock
- Load a CSV file
- Create an array
- Stop the clock

...
Was very surprised that there was such a big difference.
I don't understand why!
Nice, but I'm not able to run your 'script'. So I cannot help you.

Go to advanced search