Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0"?>
<root>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_89</name>
<url type="shell">
osascript -e '
set sName to "89"
tell application "System Events"
tell application "System Events"
keystroke "c" using command down
delay 0.5
set CopT to (the clipboard as text)
end tell
set AppleScript's text item delimiters to the {" ", ".",",",";","(",")"}
set x to every text item of CopT
addr(x)
to addr(l)
script foo
tell application "System Events"
keystroke "c" using command down
delay 0.5
set CopT to (the clipboard as text)
end tell
set AppleScript's text item delimiters to the {" ", ".", ",", ";", "(", ")"}
set x to every text item of CopT
addr(x)
to addr(l)
script foo
<?xml version="1.0"?>
<root>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_90</name>
<url type="shell">
osascript -e '
set sName to "90"
tell application "System Events"
<?xml version="1.0"?>
<root>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_82.2</name>
<url type="shell">
osascript -e '
-- user input
set T1 to {"ocr", "hhh","ap"}
<?xml version="1.0"?>
<root>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_91</name>
<url type="shell">
osascript -e '
set sName to "91"
tell application "System Events"
<?xml version="1.0"?>
<root>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_92</name>
<url type="shell">
osascript -e '
-- user input ('OnOff'-> 0 = Off, 1 = On)
-- group1
<?xml version="1.0"?>
<root>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_93</name>
<url type="shell">
osascript -e '
set sName to "93"
tell application "System Events"
<?xml version="1.0"?>
<root>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_94-1-remove E line and tab</name>
<url type="shell">
osascript -e '
set sName to "94-1"
tell application "System Events"
<?xml version="1.0"?>
<root>
<vkopenurldef>
<name>KeyCode::VK_OPEN_URL_87</name>
<url type="shell">
osascript -e '
set sName to "87"
tell application "System Events"