Hello
I am looking for a way to automatically activate the following type of link with FastKeys:
`[2023.03.29|08:54|<| WG: TC_CH2720_AF220612_T_rplt groupe de sécu / dossier](onenote:https://d.docs.live.net/b248227582e6386 ... 3749F}&end)`
My current script consists of selecting only:
onenote:https://d.docs.live.net/b248227582e6386 ... 3749F}&end
by manually placing the cursor between "](" before "onenote:" and I copy the rest of the text without the final ")".
This text is copied to the clipboard and I run "Run" from Windows which opens OneNote and the link.
send, {Right}
Sleep 50
send, {Control Down}{Shift Down}{End}{Left}{Shift Up}{Control Up}{Ctrl Down}c{Ctrl Up}
Sleep 50
run, explorer.exe shell:::{2559a1f3-21d7-11d4-bdaf-00c04f60b9f0}
Sleep 50
MsgBox Activate Window
WinActivate, Exécuter
run, %Clipboard%
Sleep 50
How can I automatically select the text without having to manually place the cursor at a specific point each time?
Thanks in advance for your help.
Patrick