Search found 188 matches
- 02 Feb 2023, 06:51
- Forum: Ask for Help (v1)
- Topic: how do i get the value from class Topic is solved
- Replies: 4
- Views: 545
how do i get the value from class Topic is solved
test:= new testClass() f1:: msgbox, % test.Recentlychanged().1 return Class testClass { setid() { ControlGuid:=34 , value:= 56 this.Recentlychanged(ControlGuid,value) } Recentlychanged(ControlGuid:="",value:="") { static t if (ControlGuid) { t:=[] t[1]:=ControlGuid , t[2]:=value } return t } } how ...
- 02 Feb 2023, 03:57
- Forum: Ask for Help (v1)
- Topic: What is happening here ? Topic is solved
- Replies: 2
- Views: 317
Re: What is happening here ? Topic is solved
Thank you swagfag
- 02 Feb 2023, 03:40
- Forum: Ask for Help (v1)
- Topic: What is happening here ? Topic is solved
- Replies: 2
- Views: 317
What is happening here ? Topic is solved
Code: Select all
gui, add, button, w100 gtest, what ?
test(1)
gui, show , w200 h200
return
test(tflag:=""){
MsgBox, % tflag
}
- 31 Jan 2023, 01:29
- Forum: Ask for Help (v1)
- Topic: Paste a saved image into a document
- Replies: 5
- Views: 836
Re: Paste a saved image into a document
#include ImagePut (for v1).ahk ; https://github.com/iseahound/ImagePut picturePath := "C:\Users\USER\Documents\AHK\picture.png" F1:: ImagePutClipboard({image: picturePath, scale: ["500", "auto"]}) ; scale for width and height ; ImagePutClipboard(picturePath) ; no scaling sleep, 50 SendInput, ^{v} r...
- 30 Jan 2023, 14:45
- Forum: Ask for Help (v1)
- Topic: Control media without focusing on the window
- Replies: 4
- Views: 674
Re: Control media without focusing on the window
the below code will work both for firefox and VLC , i made this script long time ago. Hope this helps #SingleInstance,Force ;############################################ ; author : discretecourage#0179 ;############################################ ; How to use (works both with vlc and firefox) ;####...
- 14 Jan 2023, 07:03
- Forum: Ask for Help (v1)
- Topic: recieve parameters from url through custom url protocol Topic is solved
- Replies: 3
- Views: 299
Re: recieve parameters from url through custom url protocol Topic is solved
thank you,
i tried to search it in documentation, but i was banging on my head what key word to search
now got it
i tried to search it in documentation, but i was banging on my head what key word to search
now got it
- 14 Jan 2023, 05:46
- Forum: Ask for Help (v1)
- Topic: recieve parameters from url through custom url protocol Topic is solved
- Replies: 3
- Views: 299
Re: recieve parameters from url through custom url protocol Topic is solved
ooooh this is quite fascinating
in the starting of script gives me everything i needed
if anybody needs it here you go
Is there any explanation anywhere though ?
Code: Select all
msgbox,%0%
msgbox,%1%
if anybody needs it here you go
Is there any explanation anywhere though ?
- 14 Jan 2023, 04:38
- Forum: Ask for Help (v1)
- Topic: recieve parameters from url through custom url protocol Topic is solved
- Replies: 3
- Views: 299
recieve parameters from url through custom url protocol Topic is solved
i registered a custom url protocol with windows like this as followed by this thread https://www.autohotkey.com/board/topic/71831-application-url-launch-local-application-from-browser/ myapp://sample.it?Name=myfilename&path=path_to_this_video_file when i click on the link it is able to launch the ap...
- 11 Jan 2023, 13:39
- Forum: Ask for Help (v1)
- Topic: copy timestamp with ctrl left double click on each one separately
- Replies: 5
- Views: 421
Re: copy timestamp with ctrl left double click on each one separately
Idea: https://www.autohotkey.com/boards/viewtopic.php?p=498517#p498517 Thank for the idea :superhappy: ^LButton:: if (A_PriorHotkey <> A_ThisHotkey Or A_TimeSincePriorHotkey > 400) Return Clipboard := "" Click,2 SendInput, +{Home} Send ^c ClipWait, 0 s1:=Clipboard , Clipboard:="" SendInput, +{End} ...
- 11 Jan 2023, 08:38
- Forum: Ask for Help (v1)
- Topic: copy timestamp with ctrl left double click on each one separately
- Replies: 5
- Views: 421
Re: copy timestamp with ctrl left double click on each one separately
OH shooot!
the above code is only working inside obsidian editor and notepad++
it fails in simple notepad and wordpad
not in any other editor
an interesting effect in microsoft word , that it can grab first time stamp in a line where ever i click in that line
the above code is only working inside obsidian editor and notepad++
it fails in simple notepad and wordpad
not in any other editor
an interesting effect in microsoft word , that it can grab first time stamp in a line where ever i click in that line
- 11 Jan 2023, 08:30
- Forum: Ask for Help (v1)
- Topic: copy timestamp with ctrl left double click on each one separately
- Replies: 5
- Views: 421
Re: copy timestamp with ctrl left double click on each one separately
Just a different idea for selecting the individual time. Thank you for the reply , how ever what i am trying to do is actually a little different. when i double click any where on the the time stamp it should copy it to clip board. lets say if i click on timestamp 1 , it should only copy timestamp ...
- 11 Jan 2023, 06:50
- Forum: Ask for Help (v1)
- Topic: copy timestamp with ctrl left double click on each one separately
- Replies: 5
- Views: 421
copy timestamp with ctrl left double click on each one separately
this is my text 02:06:36 gsglkjhslighasik 01:35:41 khjlkhlkhhlkhj 02:20:12 ^LButton:: if (A_PriorHotkey <> A_ThisHotkey Or A_TimeSincePriorHotkey > 400) Return hhmmss:=Grabline() Send,{Right} return Grabline() { Clipbackup := ClipboardAll Clipboard := "" MouseClick, Left,,, 3 Send, ^c ClipWait, 1, 1...
- 06 Jan 2023, 07:51
- Forum: Ask for Help (v1)
- Topic: insert each item before a string in text file Topic is solved
- Replies: 5
- Views: 365
Re: insert each item before a string in text file Topic is solved
strsplit makes it easy to look at the code
thanks
came in handy for one of my other task
thanks
came in handy for one of my other task
- 05 Jan 2023, 12:16
- Forum: Ask for Help (v1)
- Topic: insert each item before a string in text file Topic is solved
- Replies: 5
- Views: 365
Re: insert each item before a string in text file Topic is solved
#Include tf.ahk FileCreateDir, Converted gui,2: Add, text ,, Drop file Gui,2: Show, w300 h300 return 2GuiDropFiles: Loop, Files, %A_GuiEvent%\*.*, R { n:=0,Answer:=[],Answer1:="" FileDelete, 01.md FileDelete, 02.md FileDelete, test.md TF_RemoveBlankLines("!" . A_LoopFileFullPath) TF_SplitFileByText...
- 05 Jan 2023, 03:40
- Forum: Ask for Help (v1)
- Topic: insert each item before a string in text file Topic is solved
- Replies: 5
- Views: 365
Re: insert each item before a string in text file Topic is solved
Figured out !
Thanks if anybody tried to help me
Thanks if anybody tried to help me
- 05 Jan 2023, 03:26
- Forum: Ask for Help (v1)
- Topic: insert each item before a string in text file Topic is solved
- Replies: 5
- Views: 365
insert each item before a string in text file Topic is solved
arr:=["item 1","b item","item 3"] maincontent = ( What is Lorem Ipsum? Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy --- Why do we use it? It is a long established fact that a reader will be distracted by the readable c...
- 02 Jan 2023, 10:28
- Forum: Ask for Help (v1)
- Topic: regexreplace help Topic is solved
- Replies: 13
- Views: 888
Re: regexreplace help Topic is solved
Explanation in case you're interested... clipboard := RegExReplace(clipboard, "i)\h*\((?:at)?\h*\d{1,2}(?:\.|:)\d{2}\h*(?:AM|PM)*\)") /* i) case-insensitive \h* 0 or more horz whitespace chars (optional horz ws) \( left/opening parenthesis (mandatory) (?:at)? "?:" means non-capture group, holding o...
- 02 Jan 2023, 10:19
- Forum: Ask for Help (v1)
- Topic: regexreplace help Topic is solved
- Replies: 13
- Views: 888
Re: regexreplace help Topic is solved
thank youwetware05 wrote:
- 01 Jan 2023, 04:06
- Forum: Ask for Help (v1)
- Topic: regexreplace help Topic is solved
- Replies: 13
- Views: 888
Re: regexreplace help Topic is solved
Thank you for your help!
this works great
where could i learn this regex thing ?
this works great
where could i learn this regex thing ?
- 01 Jan 2023, 03:51
- Forum: Ask for Help (v1)
- Topic: regexreplace help Topic is solved
- Replies: 13
- Views: 888
Re: regexreplace help Topic is solved
yes ! thank you
still at some pages the time is showing like this (9:20 AM) with out the word "at" inside.
they are not getting replaced
still at some pages the time is showing like this (9:20 AM) with out the word "at" inside.
they are not getting replaced