Search found 517 matches

by toralf
31 Dec 2018, 18:51
Forum: Allgemeines
Topic: Ein gutes Jahr 2019 ...
Replies: 6
Views: 214

Re: Ein gutes Jahr 2019 ...

Frohes neues Jahr auch von mir an Euch
by toralf
23 Dec 2018, 14:04
Forum: Ask For Help
Topic: Notepad++ COM?
Replies: 4
Views: 203

Re: Notepad++ COM?

Currently yes. :/
by toralf
18 Dec 2018, 15:22
Forum: Ask For Help
Topic: How do I send a text Hotkey to a Notepad++ window
Replies: 4
Views: 179

Re: How do I send a text Hotkey to a Notepad++ window

Don’t know if you have found a solution by now. It just came to my mind that you could use the hot string also as a label. Hence your hotkey could use GoSub qqhdg to call it.
by toralf
17 Dec 2018, 11:23
Forum: Ask For Help
Topic: Notepad++ COM?
Replies: 4
Views: 203

Re: Notepad++ COM?

I have somewhere on my pc a wrapper for the notepad++ messages. But i’m Currently just on the phone
by toralf
14 Dec 2018, 10:29
Forum: Ask For Help
Topic: Automating Excel from a scheduled task when NOT logged into Windows?
Replies: 3
Views: 171

Re: Automating Excel from a scheduled task when NOT logged into Windows?

I‘m not an expert in this field.
To my knowledge it is not possible with AHK.
AFAIK you would have to write a service that could be run on the server with a scheduler. Don‘t think this is possible with AHK.
by toralf
12 Nov 2018, 06:43
Forum: Ask For Help
Topic: Open help file and search
Replies: 1
Views: 138

Open help file and search

Does anyone have a hint on how to open the AHK help file and search for a string?

I have found a script that uses hhctrl.ocx
But that guesses the command a opens that specific page.
I would like to have the help file being searched for a given string.
by toralf
11 Nov 2018, 01:34
Forum: Wish List
Topic: Improve Handling of BOLD for Treeview control
Replies: 3
Views: 497

Re: Improve Handling of BOLD for Treeview control

That’s great. Thanks a lot
by toralf
06 Nov 2018, 15:02
Forum: Scripts and Functions
Topic: ScriptInfo(): Get ListLines/ListVars/ListHotkeys/KeyHistory text
Replies: 17
Views: 3598

Re: ScriptInfo(): Get ListLines/ListVars/ListHotkeys/KeyHistory text

You can obtain the call stack whenever you want by calling Exception in a loop as demonstrated elsewhere. I'm sad to say this is news to me. Would you mind pointing me to some examples? Here is the post for v2 . It also contains a link too the post for v1 https://autohotkey.com/boards/viewtopic.php...
by toralf
03 Nov 2018, 03:36
Forum: Ask For Help
Topic: Excel COM - Using Variables for Ranges --> Xl.Worksheets.Range(nextrow:lastrow).Copy .PasteSpecial() .EntireRow, etc. Topic is solved
Replies: 3
Views: 148

Re: Excel COM - Using Variables for Ranges --> Xl.Worksheets.Range(nextrow:lastrow).Copy .PasteSpecial() .EntireRow, etc Topic is solved

Since your code gets pretty “large”. I recommend you start looking into Loop command and functions.
Loops will help you to reduce redundant code. And functions will help you to separate code and give the portions some meaningful name.
by toralf
03 Nov 2018, 03:24
Forum: Ask For Help
Topic: Excel COM - Using Variables for Ranges --> Xl.Worksheets.Range(nextrow:lastrow).Copy .PasteSpecial() .EntireRow, etc. Topic is solved
Replies: 3
Views: 148

Re: Excel COM - Using Variables for Ranges --> Xl.Worksheets.Range(nextrow:lastrow).Copy .PasteSpecial() .EntireRow, etc Topic is solved

Regarding your first topic. Try
wUSA.Rows(nextrow “:” lastrow).EntireRow.Hidden := True

You still have to provide the : as a string. Therefore it has to be in “”. Otherwise it would be a ternary operator.
by toralf
13 Oct 2018, 00:24
Forum: Ask For Help
Topic: Syntax highlighting for Bitbucket/Sourcetree or other git client
Replies: 0
Views: 140

Syntax highlighting for Bitbucket/Sourcetree or other git client

Does anyone have syntax highlighting for Bitbucket or Sourcetree or another Windows git client for ahk files?
by toralf
09 Oct 2018, 11:01
Forum: Ask For Help
Topic: Extract subroutines, functions and classes
Replies: 1
Views: 93

Re: Extract subroutines, functions and classes

I had posted a line based AHK parser several months ago (~2015) it was able to identity these
by toralf
30 Sep 2018, 04:02
Forum: Ask For Help
Topic: Get text of a line from notepad++ (SCI_GETLINE)
Replies: 7
Views: 277

Re: Get text of a line from notepad++ (SCI_GETLINE)

The scintilla docs name the parameters
(Int Line, Char *text)
by toralf
30 Sep 2018, 03:59
Forum: Ask For Help
Topic: Get text of a line from notepad++ (SCI_GETLINE)
Replies: 7
Views: 277

Re: Get text of a line from notepad++ (SCI_GETLINE)

With str and without & or *: int is 0 and no linetext
by toralf
30 Sep 2018, 03:53
Forum: Ask For Help
Topic: Get text of a line from notepad++ (SCI_GETLINE)
Replies: 7
Views: 277

Re: Get text of a line from notepad++ (SCI_GETLINE)

I tried that. But that didn’t work either...
The return value int of the dllcall is than 0. With the * it has been 7.
But thank you for the hint
by toralf
30 Sep 2018, 00:56
Forum: Ask For Help
Topic: Get text of a line from notepad++ (SCI_GETLINE)
Replies: 7
Views: 277

Get text of a line from notepad++ (SCI_GETLINE)

I'm trying to get a specific line form Notepad++ But LineText is empty in my example code. What Do I have to do to get the text? ;2345 Nppm_HWND(){ return DllCall("FindWindow", "Str", "Notepad++", "Int", 0, "Ptr") } SCI_HWND(){ ControlGet hSci, Hwnd,, Scintilla1, % "ahk_id" Nppm_HWND() Return hSci }...
by toralf
28 Sep 2018, 13:36
Forum: Ask For Help
Topic: Set line and column in Notepad++
Replies: 3
Views: 183

Re: Set line and column in Notepad++

Guest wrote:You could try the command line options for line and column (-n and -c) on your current file,
thank you Guest. That is an alternative. I’ll see if this has any side effects.
by toralf
26 Sep 2018, 13:30
Forum: Ask For Help
Topic: Catch LWin+Key in Hotkey Control Topic is solved
Replies: 2
Views: 155

Re: Catch LWin+Key in Hotkey Control Topic is solved

Thank you just me.
I am ashamed. I read the top part before, but somehow didn’t made it to the end...

Go to advanced search