Search found 297 matches

by DRocks
Yesterday, 21:08
Forum: Offtopic
Topic: Jobs (Full Time) Asking For AutoHotkey Scripting Skills
Replies: 9
Views: 397

Re: Jobs (Full Time) Asking For AutoHotkey Scripting Skills

Nice i would not have believed this without these proofs. Nice
by DRocks
Yesterday, 20:51
Forum: Ask For Help
Topic: How to save safearray to excel?
Replies: 11
Views: 228

Re: How to save safearray to excel?

Thank you very much for your examples. You have just shown me something I did not understand before and it will be super useful.

Thank you again
by DRocks
Yesterday, 08:33
Forum: Ask For Help
Topic: How to save safearray to excel?
Replies: 11
Views: 228

Re: How to save safearray to excel?

SafeArray := xlCOM.Range("D"FirstRow ":N"LastRow).Value ; 2 dimensions array (ColonneXL, RangeeXL) ;MsgBox % SafeArray.MaxIndex(1) ;MsgBox % SafeArray.MaxIndex(2) MsgBox % SafeArray[1,1] ; ok For i, value in SafeArray MsgBox % SafeArray[i, value] ; why does this pop-up error (not implemented) For i...
by DRocks
14 Feb 2019, 17:53
Forum: Ask For Help
Topic: Returning a String from a function Topic is solved
Replies: 6
Views: 118

Re: Returning a String from a function Topic is solved

Also note that you can use such functions that return a value with something else that EXPECTS an expression so it can be used without the variable on the left of the function call.

For example:

Code: Select all

if  (FunctionCall(that returns a value)) {
	execute this...
}
by DRocks
14 Feb 2019, 16:28
Forum: Ask For Help
Topic: Returning a String from a function Topic is solved
Replies: 6
Views: 118

Re: Returning a String from a function Topic is solved

And I think you also need to attriubute the returned value to a variable

Code: Select all

NewVariable:= StandardVariables(%strTitle%)
by DRocks
14 Feb 2019, 13:49
Forum: Ask For Help
Topic: Nested #IfWinActive Topic is solved
Replies: 3
Views: 38

Re: Nested #IfWinActive Topic is solved

Code: Select all

#IfWinActive Calibre
ENTER::
{
	Send {ENTER}
	
	;Sleep 250
	;#IfWinActive ahk_exe explorer.exe
	
	WinWaitActive, ahk_exe explorer.exe,,0.3 ; wait for 0.3sec until this win is active. It fails if not active after 0.3 sec
	if (! ErrorLevel)
	{
		Gosub, CheckErrorLevel
		Return
	}
	Return
}
by DRocks
14 Feb 2019, 00:03
Forum: Scripts and Functions
Topic: CL3 clipboard utility (text only) with menu, search, quick paste, cycle/step, plugins, API, ...
Replies: 27
Views: 6617

Re: CL3 clipboard utility (text only) with menu, search, quick paste, cycle/step, plugins, API, ...

Wow thank you.
I will try this out and might become dependant on this. I think its commun that ai need to have more than 1 clipboard but i currently have no tools to help me.

Thanks for your good work and sharing
by DRocks
13 Feb 2019, 09:07
Forum: Scripts and Functions
Topic: DebugVars
Replies: 30
Views: 6392

Re: DebugVars

Wow this is sick ty
by DRocks
13 Feb 2019, 08:36
Forum: Ask For Help
Topic: LV_InCellEdit - testers needed for new version
Replies: 9
Views: 724

Re: LV_InCellEdit - testers needed for new version

Thanks checking this
by DRocks
13 Feb 2019, 08:06
Forum: Ask For Help
Topic: ComObjConnect() WebBrowser events for other tabs Topic is solved
Replies: 4
Views: 67

Re: ComObjConnect() WebBrowser events for other tabs Topic is solved

The cargo cult is real... lol you :D

Im sorry cant help you but wanted to say that demo is really nice... I learn from it.

Btw: Why do you have NavigateComplete2 and Navigate2?
I dont see a function named just Navigate2 but only NavigateComplete2
by DRocks
13 Feb 2019, 04:27
Forum: Ask For Help
Topic: LV_InCellEdit - testers needed for new version
Replies: 9
Views: 724

Re: LV_InCellEdit - testers needed for new version

... I'm not sure about the advantages any more, but I still use this 'special' edit control. thank you for your reply. What do you mean? Have you found other ways / scripts that seem more advantaging than the InCell LV editing? If yes, would you mind pointing what it is to me please? I am looking f...
by DRocks
12 Feb 2019, 22:54
Forum: Tutorials
Topic: MS Office COM Basics
Replies: 108
Views: 75931

Re: MS Office COM Basics

Thank you very much this is precious info condensed in one place.

It was able to teach me from complete mysteries to beginner/practical understanding.
The VB macro recorder is a genious idea. Thanks
by DRocks
12 Feb 2019, 20:04
Forum: Ask For Help
Topic: LV_InCellEdit - testers needed for new version
Replies: 9
Views: 724

Re: LV_InCellEdit - testers needed for new version

Is this topic still alive @Just Me ? Thanks a lot... I've been messing around with it and I can tell how awesome it is because I went down the rabbit hole trying to create a custom Listview out of Edit controls and ComboBoxes. Its very complicated and limited when comes editing sizes, scrolling etc....
by DRocks
12 Feb 2019, 09:07
Forum: Ask For Help
Topic: RegEx vs. StrSplit to parse Meta Data from URL source code? (with WinHttp COM)
Replies: 9
Views: 251

Re: RegEx vs. StrSplit to parse Meta Data from URL source code? (with WinHttp COM)

Hmm @kczx3 thats interesting. I have a question rated to your comment. Does the method you mention fit in a situation where id like to find the Date time, description and amount from my bank account list of monthly transaction? If id save that page as html and use what you say it would be easier to ...
by DRocks
11 Feb 2019, 13:22
Forum: Ask For Help
Topic: Send, ^a (select all) Triggers Gui Ctrl's gLabel, is it a bug?
Replies: 2
Views: 53

Re: Send, ^a (select all) Triggers Gui Ctrl's gLabel, is it a bug?

Thank you! You are perfectly right... it doesn't act wierd when stripped down to a new script including just these features. I will try to identify where is starts acting wierd. In my real script there is a Win_EventHook involved but I couldn't find anything else except removing the Send, ^a to solv...
by DRocks
11 Feb 2019, 12:34
Forum: Ask For Help
Topic: Send, ^a (select all) Triggers Gui Ctrl's gLabel, is it a bug?
Replies: 2
Views: 53

Send, ^a (select all) Triggers Gui Ctrl's gLabel, is it a bug?

Hello I was debugging a wierd bahavior with gLabels being triggered in my Gui by hotkey navigation in a table of Edit Controls. Up:: GuiControl, Focus, %EditControlName% Send, ^a ; << --- if this is not present, the associated gLabel is not triggered. If it is sent, the label is triggered with no ch...
by DRocks
10 Feb 2019, 09:31
Forum: Tips and Tricks
Topic: Why you shouldn't use FileAppend
Replies: 24
Views: 779

Re: Why you shouldn't use FileAppend

Ok cool. Thanks for taking time for such a clear answer. I understand now. My current needs are always with small file sizes so I admit never tinking about the size problem with memory. That loop example is quite interesting. So for what I understand, small filesize would be totally fine for using j...
by DRocks
09 Feb 2019, 09:00
Forum: Tips and Tricks
Topic: Why you shouldn't use FileAppend
Replies: 24
Views: 779

Re: Why you shouldn't use FileAppend

I am joining in and asking why would you not just use the variable to write once, as others have mentionned? Lets say you loop 99 times to build the variable and just do either FileAppend or fileobject open, write, close? I cannot think of a situation where the variable wouldnt be preferable to loop...
by DRocks
08 Feb 2019, 05:56
Forum: Ask For Help
Topic: Ternary bug or acceptable syntax? Topic is solved
Replies: 6
Views: 206

Re: Ternary bug or acceptable syntax? Topic is solved

I also managed to use a function call in a non expected command like GuiControl. I have a function that focus a control based on the first invalid value it finds. It is not based on a return value. It is rather a condition checker and the result is a direct GuiControl, Focus command called within th...

Go to advanced search