/* 背景色 */
body {
background-color: #3b3b3b;
}
input[type="text"]::selection, textarea::selection {
background-color: #4a78a4;
}
.hoverbutton {
border-radius: 4px;
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sync.MoveTab = { | |
Exec: async function (Ctrl, pt) { | |
const tabs = []; | |
const len = await GetLength(await te.Data.Tabgroups.Data); | |
for (let i = 0; i < len; i++) { | |
const name = await te.Data.Tabgroups.Data[i].Name; | |
tabs.push({ index: i, name: name}); | |
} | |
let hMenu = await api.CreatePopupMenu(); | |
for (let i = tabs.length; i--;) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const tabs = []; | |
const len = await GetLength(await te.Data.Tabgroups.Data); | |
for (let i = 0; i < len; i++) { | |
const name = await te.Data.Tabgroups.Data[i].Name; | |
tabs.push({ index: i, name: name}); | |
} | |
let hMenu = await api.CreatePopupMenu(); | |
for (let i = tabs.length; i--;) { | |
let uFlags = MF_STRING; | |
if ((await te.Data.Tabgroups.Click - 1) == i) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
InputDialog("Everything", "", async function (r) { | |
if ("string" === typeof r && s != r) { | |
await Addons.Everything.Search(r); | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let n = await te.Data.Tabgroups.Click - 1; | |
const nLen = await GetLength(await te.Data.Tabgroups.Data); | |
if (n < 1) { | |
n = nLen; | |
} | |
if (n >= nLen + 1) { | |
n = 1; | |
} | |
Addons.Tabgroups.Change(n); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let n = await te.Data.Tabgroups.Click + 1; | |
const nLen = await GetLength(await te.Data.Tabgroups.Data); | |
if (n < 1) { | |
n = nLen; | |
} | |
if (n >= nLen + 1) { | |
n = 1; | |
} | |
Addons.Tabgroups.Change(n); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const tabs = []; | |
const len = await GetLength(await te.Data.Tabgroups.Data); | |
for (let i = 0; i < len; i++) { | |
const name = await te.Data.Tabgroups.Data[i].Name; | |
tabs.push({ index: i, name: name}); | |
} | |
let hMenu = await api.CreatePopupMenu(); | |
for (let i = tabs.length; i--;) { | |
let uFlags = MF_STRING; | |
if ((await te.Data.Tabgroups.Click - 1) == i) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Info | |
let PLUGIN_INFO = | |
<KeySnailPlugin> | |
<name>MSTranslator</name> | |
<description>Microsoft Translator with KeySnail</description> | |
<updateURL>https://gist.github.com/958/1450594/raw/mstranslator.ks.js</updateURL> | |
<author>958</author> | |
<version>0.0.2</version> | |
<license>MIT</license> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Info | |
var PLUGIN_INFO = | |
<KeySnailPlugin> | |
<name>launcher</name> | |
<description>Application launcher</description> | |
<description lang="ja">アプリケーションを起動</description> | |
<updateURL>https://gist.github.com/958/3608000/raw/launcher.ks.js</updateURL> | |
<author>958</author> | |
<version>0.0.2</version> |
NewerOlder