Search found 366 matches

by Tomer
20 Oct 2021, 04:14
Forum: Scripts and Functions (v1)
Topic: Get the URL of the current (active) browser tab
Replies: 196
Views: 139443

Re: Get the URL of the current (active) browser tab

great script!
but i have a problem with a redirected URLs
Please help me!:
viewtopic.php?f=76&t=95810&p=425931#p425931
by Tomer
20 Oct 2021, 04:09
Forum: Ask for Help (v1)
Topic: Get active internet explorer URL FAST Topic is solved
Replies: 3
Views: 881

Get active internet explorer URL FAST Topic is solved

hello, im trying to use 2 functions to get the active internet explorer URL adress, its working fine when im trying to get a normal URL adress. my problem is with a URLs which redirect to another url quickly, because of the auto redirction is happening in internet explorer so fast, the script is 2 s...
by Tomer
12 Oct 2021, 07:26
Forum: Ask for Help (v1)
Topic: get URL by mouse left click
Replies: 6
Views: 835

Re: get URL by mouse left click

wetware05 wrote:
12 Oct 2021, 06:13
Hi.

The url of the page you are on, or the url of the object under the mouse?
the url of the object under the mouse
by Tomer
12 Oct 2021, 07:26
Forum: Ask for Help (v1)
Topic: get URL by mouse left click
Replies: 6
Views: 835

Re: get URL by mouse left click

GEV wrote:
12 Oct 2021, 04:45
Where is "here" and what Browser are you using?
here is the url of the object under the mouse and not necessarily in any browser, but from wherever a link appears. mainly from the outlook app
by Tomer
12 Oct 2021, 02:27
Forum: Ask for Help (v1)
Topic: get URL by mouse left click
Replies: 6
Views: 835

get URL by mouse left click

hello,

need help with a script to get URL's by mouse left click

for expample:

when I Click Here, iil get a MsgBox with "https://www.autohotkey.com/docs/AutoHotkey.htm"

Thanks in advance

* editl:should work from outlook as well
by Tomer
19 May 2021, 05:02
Forum: Bug Reports
Topic: BUG: error code compilng from network path Topic is solved
Replies: 5
Views: 1903

Re: BUG: error code compilng from network path Topic is solved

Thanks for reply!

any chance a fix will be included it in upcoming AHK versions ?

for now im using version 1.1.32.00 to compile scripts from UNC paths,
but i may update to latest version and use your suggestion using mapped network drivers only If there is no future planning fix it..
by Tomer
12 May 2021, 06:33
Forum: Bug Reports
Topic: BUG: error code compilng from network path Topic is solved
Replies: 5
Views: 1903

BUG: error code compilng from network path Topic is solved

Hey, The following error started appearing from the version "1.1.33.02 - July 17, 2020" or maybe earlier when compilng a script from a network path uses #include , (sample of network path: \\servername\shardfolder) then the following error code showing up (see attachment img) what i do to solve this...
by Tomer
24 Jan 2021, 08:00
Forum: Ask for Help (v1)
Topic: Help with library: TF.ahk
Replies: 12
Views: 1168

Re: Help with library: TF.ahk

@ahk7
Thanks for the explanation!
by Tomer
21 Jan 2021, 11:45
Forum: Ask for Help (v1)
Topic: Help with library: TF.ahk
Replies: 12
Views: 1168

Re: Help with library: TF.ahk

If this is the actual file format DisplayName,Username,Office,SNIFSITECODE,ComputerName,IPAddress,Date,Time,OSVersion,SESSIONNAME,SentCount Mike,Mike1,London,None,TESTPC,10.254.50.6,21\01\2021,16:38:16,WIN_7,console,1 Mike,Mike1,London,None,TESTPC,10.254.50.6,21\01\2021,16:38:16,WIN_7,console,2 and...
by Tomer
21 Jan 2021, 09:48
Forum: Ask for Help (v1)
Topic: Help with library: TF.ahk
Replies: 12
Views: 1168

Re: Help with library: TF.ahk

find = 10.254.50.6 count := StrSplit(TF_Find(text,,, "^" StrReplace(find, ".", "\.") "$", 0, 0), ",").Count() MsgBox, 64, Results for %find%, %count% Nice! 2 things to resolve please: 1. when there nothing was found - the result is still "1" which should be "0" 2. i changed the file format and i wa...
by Tomer
21 Jan 2021, 07:48
Forum: Ask for Help (v1)
Topic: Help with library: TF.ahk
Replies: 12
Views: 1168

Re: Help with library: TF.ahk

I thought that you wanted a boolean result. Below is a line count. find = 10.254.50.6 MsgBox, 64, Count for %find%, % lineCount(text, find) lineCount(str, find) { StrReplace("`n" str "`r", "`n" find "`r",, count) Return count } works very well, thanks! i will still not accept this answer in forum o...
by Tomer
21 Jan 2021, 07:17
Forum: Ask for Help (v1)
Topic: Help with library: TF.ahk
Replies: 12
Views: 1168

Re: Help with library: TF.ahk

Possibly something like: WordCount := TF_Count(TF("Test_TestFile.txt", "WordCount") "\D" ,"10.254.50.6") > 0 Also: find = 10.254.50.6 found := Instr("`n" text, "`n" find) > 0 MsgBox, 64, Result for %find%, % found ? "True" : "False" Nice try @mikeyww but its still fail to count correctly, try with ...
by Tomer
21 Jan 2021, 06:56
Forum: Ask for Help (v1)
Topic: Help with library: TF.ahk
Replies: 12
Views: 1168

Help with library: TF.ahk

tf.ahk How to use \D toggle for EXACT match so the correct result will be 1 and not 3 ? Thanks in advance! #Include tf.ahk text= (join`r`n 1 2 3 4 10.2.10.2 10.254.50.60 10.254.50.61 10.254.50.6 10.10.10.10 10.2.1.100 ) FileDelete, Test_TestFile.txt FileAppend, % text, Test_TestFile.txt WordCount:=...
by Tomer
20 Jan 2021, 08:58
Forum: Ask for Help (v1)
Topic: Help with reading a file Topic is solved
Replies: 10
Views: 523

Re: Help with reading a file Topic is solved

Thanks @garry but there not could be more than 1 same active user i need to get in a msgbox only the SESSIONNAME of the active user without any other text without any spaces or tabs. see my sample txt file in last post (editted) thanks! edit: may this will do the job: f1=%a_scriptdir%\querytest.txt ...
by Tomer
20 Jan 2021, 08:37
Forum: Ask for Help (v1)
Topic: Help with reading a file Topic is solved
Replies: 10
Views: 523

Re: Help with reading a file Topic is solved

@garry can you replace it by the STATE "Active" instead of the USERNAME "test_user" to get the current SESSIONNAME ? Sample of txt file to read f1=%a_scriptdir%\querytest.txt ifexist,%f1% FileDelete,%f1% FileAppend, ( USERNAME SESSIONNAME ID STATE IDLE TIME LOGON TIME 12345678 1 Disc 21:10 19/01/202...
by Tomer
20 Jan 2021, 07:57
Forum: Ask for Help (v1)
Topic: Help with reading a file Topic is solved
Replies: 10
Views: 523

Re: Help with reading a file Topic is solved

Thank you both!
by Tomer
19 Jan 2021, 13:31
Forum: Ask for Help (v1)
Topic: Help with reading a file Topic is solved
Replies: 10
Views: 523

Help with reading a file Topic is solved

i want to get in a msgbox only the SESSIONNAME of the user "test_user", in my sample code i managed to get only the entire line, any help would be appreciated. p.s - the sample txt file in the code is dynamist, more lines of users can appear. FileDelete, c:\temp\querytest.txt FileAppend, ( USERNAME ...

Go to advanced search