Search found 444 matches

by newbieforever
05 Mar 2019, 12:17
Forum: Ask For Help
Topic: A way to run a script with a non-included library?
Replies: 8
Views: 1259

Re: A way to run a script with a non-included library?

Thank you, just me.

... Which means that there is no way to include a library located "in a specific subfolder" of the script folder (other than \Lib), right?
by newbieforever
05 Mar 2019, 12:10
Forum: Ask For Help
Topic: A way to run a script with a non-included library?
Replies: 8
Views: 1259

Re: A way to run a script with a non-included library?

Hm... My question refers specifically to "without this #Include line" and "located in a specific subfolder"...
by newbieforever
05 Mar 2019, 11:28
Forum: Ask For Help
Topic: A way to run a script with a non-included library?
Replies: 8
Views: 1259

A way to run a script with a non-included library?

Hi! A script should use a library which is located in a specific subfolder. Normally this is done by #Include at the beginning of the script: #Include %A_ScriptFullPath%\MySubFolder\MyLibrary.ahk Is there a way to achieve the same result without this #Include line in the script via command-line opti...
by newbieforever
02 Mar 2019, 08:56
Forum: Ask For Help
Topic: Reload with some previous actions Topic is solved
Replies: 2
Views: 525

Reload with some previous actions Topic is solved

Hi!

How to achieve that some actions are done (e.g. deleting a file) every time the script is exited by Reload (Reload command or Reload from tray menu) (and maybe other actions are done if the script is exited by other reasons)?
by newbieforever
22 Feb 2019, 03:17
Forum: Ask For Help
Topic: How to scan displayed webpages in the background?
Replies: 11
Views: 1528

Re: How to scan displayed webpages in the background?

Can you please elaborate on what specifically are you looking for and what websites, so that the "helpers" can take a look at the code requirements? In addition to my description in the question there is not much to say. Essentially, it is a tool that would automatically inform the user when surfin...
by newbieforever
20 Feb 2019, 09:41
Forum: Ask For Help
Topic: How to scan displayed webpages in the background?
Replies: 11
Views: 1528

Re: How to scan displayed webpages in the background?

Thank you, gregster! I will look at your tips, but fear that these solutions are beyond my knowledge level... What I'm currently trying to do is adjust the Acc codes (above) so that only the relevant texts (between two "objects") are extracted. Perhaps then the time could be reduced. Unfortunately I...
by newbieforever
20 Feb 2019, 06:33
Forum: Ask For Help
Topic: How to scan displayed webpages in the background?
Replies: 11
Views: 1528

Re: How to scan displayed webpages in the background?

Thank you, Portwolf!
Unfortunately this is not a solution for my purpose... The scanning should work with frames and complex webpages too, where the content changes via javascript etc.
by newbieforever
20 Feb 2019, 05:12
Forum: Ask For Help
Topic: How to scan displayed webpages in the background?
Replies: 11
Views: 1528

Re: How to scan displayed webpages in the background?

I know that there is the Acc library (e.g. https://www.autohotkey.com/boards/viewtopic.php?f=6&t=26201) with the JEE_AccGetTextAll() function allowing to retrieve the complete content of the browser window. But this process takes more than 10 seconds and therefore can not be used for my purpose. Or ...
by newbieforever
19 Feb 2019, 12:26
Forum: Ask For Help
Topic: How to scan displayed webpages in the background?
Replies: 11
Views: 1528

How to scan displayed webpages in the background?

I would like to write a tool running in the background that continuously scans the text content of web pages displayed in the browser for a certain string. Possibly for Firefox (there is probably no browser-independent solution). Scanning should be done without visual disturbance of the browser disp...
by newbieforever
10 Feb 2019, 03:44
Forum: Ask For Help
Topic: A Hotstring function question
Replies: 2
Views: 461

Re: A Hotstring function question

Oh... You are a schatz, gregster!

Code: Select all

HStr := ":X:btw"
HotString(HStr, "Func")
HotString(HStr, "Func", On)

Func() {
  MsgBox By the way
  }
by newbieforever
09 Feb 2019, 19:21
Forum: Ask For Help
Topic: A Hotstring function question
Replies: 2
Views: 461

A Hotstring function question

Why the X option is not working here?

Code: Select all

;HStr := ":X:btw"
;HotrString(HStr, "Func")
HotString(":X:btw", "Func")

Func() {
  MsgBox By the way
  }
by newbieforever
08 Feb 2019, 12:12
Forum: Ask For Help
Topic: List of all running AHK scripts Topic is solved
Replies: 2
Views: 486

Re: List of all running AHK scripts Topic is solved

Bravo, teadrinker, thank you very much!!!
by newbieforever
08 Feb 2019, 09:07
Forum: Ask For Help
Topic: List of all running AHK scripts Topic is solved
Replies: 2
Views: 486

List of all running AHK scripts Topic is solved

Let's assume this:
All scripts are launched via the renamed interpreter: MyFirstScript.ahk via MyFirstScript.exe, etc.

Is there a way to list the names of all running scripts launched in this way?
by newbieforever
07 Feb 2019, 05:27
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 804
Views: 464183

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Thank you, TravisQ, it works!!!
by newbieforever
07 Feb 2019, 05:21
Forum: Ask For Help
Topic: How to add text to a text file (encoding!) Topic is solved
Replies: 18
Views: 2957

Re: How to add text to a text file (encoding!) Topic is solved

jeeswg, so you think it is better to use vEnc := JEE_FileGetEncoding(vPath) and FileAppend, %NewCont%, ..., %vEnc% instead of the above solution with FileReWrite()?
by newbieforever
06 Feb 2019, 11:40
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 804
Views: 464183

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Hi!
How can I tell SciTE4AutoHotkey to do syntax highlighting not only in .ahk files but also in .lib files?
Thank you very much in advance!
by newbieforever
06 Feb 2019, 06:46
Forum: Ask For Help
Topic: How to add text to a text file (encoding!) Topic is solved
Replies: 18
Views: 2957

Re: How to add text to a text file (encoding!) Topic is solved

Yes, of course, jeeswg, these are some limitations to be considered in special cases...
by newbieforever
06 Feb 2019, 04:28
Forum: Ask For Help
Topic: How to add text to a text file (encoding!) Topic is solved
Replies: 18
Views: 2957

Re: How to add text to a text file (encoding!) Topic is solved

teadrinker, you are a schatz!!! In my opinion we have here a valuable and extremely useful improvement and extension of the very limited possibilities of the AHK command FileAppend ! Could other users here confirm this view and the correct functioning of this solution? ; Prependig text to a text fil...
by newbieforever
06 Feb 2019, 03:13
Forum: Ask For Help
Topic: How to add text to a text file (encoding!) Topic is solved
Replies: 18
Views: 2957

Re: How to add text to a text file (encoding!) Topic is solved

Teadrinker, could you please repair my attempt below to extend your method to a complete solution: How to prepend text to a textfile or to change the complete content of a text file without destroying the encoding of the file and loosing the initial byte sequence. In FileReWrite() the length of the ...

Go to advanced search