feat: improve browser URL capture scripts - Add tab functionality to move focus from address bar - Reduce delays from 0.1s to 0.05s for faster interaction
This commit is contained in:
parent
b4bae15bf0
commit
e390094b87
@ -1,12 +1,13 @@
|
||||
tell application "Firefox"
|
||||
activate
|
||||
delay 0.1
|
||||
delay 0.05
|
||||
tell application "System Events"
|
||||
keystroke "l" using command down
|
||||
delay 0.1
|
||||
delay 0.05
|
||||
keystroke "c" using command down
|
||||
|
||||
delay 0.05
|
||||
keystroke tab
|
||||
end tell
|
||||
delay 0.1
|
||||
delay 0.05
|
||||
return (the clipboard as text)
|
||||
end tell
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
tell application "Zen Browser"
|
||||
activate
|
||||
delay 0.1
|
||||
delay 0.05
|
||||
tell application "System Events"
|
||||
keystroke "l" using command down
|
||||
delay 0.1
|
||||
delay 0.05
|
||||
keystroke "c" using command down
|
||||
delay 0.05
|
||||
keystroke tab
|
||||
end tell
|
||||
delay 0.1
|
||||
delay 0.05
|
||||
return (the clipboard as text)
|
||||
end tell
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user