Simply:
1. I open any application
2. Select file and have application active
... I need for script to get file name path of file opened in active application.
Is it possible?
I'm using mainly in case of file and folders handling script function which was helped me in this forum earlier and works great, here is for help:
Code: Select all
getSelected(){
cO:=clipboardAll
;clipboard:= ""
send ^c
clipWait,0.5
;if(errorlevel){
; clipboard:=c0
; return
;}
path:=clipboard
clipboard:=cO
return path
Miro