Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZToolsCenter/ZTools
/ functions
Functions
1,419 in github.com/ZToolsCenter/ZTools
⨍
Functions
1,419
◇
Types & classes
332
Function
reloadPluginAvailabilityData
()
src/renderer/src/stores/commandDataStore.ts:665
Method
remove
* 删除文档(异步) * @param docOrId 文档对象或文档 ID * @returns Promise<操作结果>
src/main/core/lmdb/promiseApi.ts:56
Method
removeCookies
* 删除指定名称的 Cookie * * 使用当前页面 URL。
src/main/core/zbrowser/zbrowserExecutor.ts:1007
Function
removeFromHistory
* 从历史记录中删除指定指令。
src/renderer/src/stores/commandDataStore.ts:1474
Function
resetSelection
()
src/renderer/src/composables/useNavigation.ts:196
Method
restart
()
src/main/appWatcher.ts:201
Function
saveSearchPreference
( query: string, command: { path: string; featureCode?: string; name: string } )
src/renderer/src/stores/commandDataStore.ts:481
Function
scanApplications
()
src/main/core/commandScanner/macScanner.ts:330
Function
scanApplications
()
src/main/core/commandScanner/linuxScanner.ts:316
Function
scanApplications
()
src/main/core/commandScanner/windowsScanner.ts:343
Method
scanApplications
()
src/main/core/commandScanner/types.ts:10
Method
screenshot
* 按选择器或区域截图 * * 选择器模式:先滚动到元素、再获取坐标(Math.round 取整)、再截图。 * 与 uTools 行为一致。 * * @param selectorOrRect CSS 选择器字符串、Rectangle 对象、或 undefined(整
src/main/core/zbrowser/zbrowserExecutor.ts:705
Method
scroll
* 滚动页面 * * 支持三种调用方式: * 1. scroll(y) - 垂直滚动到 y 位置 * 2. scroll(x, y) - 滚动到 (x, y) 位置 * 3. scroll(selector, optional?) - 滚动到元素位置 * -
resources/zbrowser/client.js:642
Function
searchWindowCommands
(windowInfo?: { app?: string title?: string className?: string })
src/renderer/src/stores/commandDataStore.ts:1421
Method
sendInputEvent
( event: Electron.MouseInputEvent | Electron.MouseWheelInputEvent | Electron.KeyboardInputEvent )
src/main/managers/pluginManager.ts:1193
Method
sendUpdate
()
src/main/api/plugin/toast.ts:94
Function
set
(obj, prop, value)
src/main/utils/lanzou.ts:351
Function
setAiRequestStatus
(status: AiRequestStatus)
src/renderer/src/stores/windowStore.ts:496
Method
setCookies
* 设置 Cookie * * 支持两种签名:setCookies(name, value) 或 setCookies([{name, value, ...}])
src/main/core/zbrowser/zbrowserExecutor.ts:980
Method
setExpendHeight
* 设置分离窗口中插件视图的高度
src/main/core/detachedWindowManager.ts:616
Method
setLaunchParam
* 设置启动参数(用于插件进入时传递参数)
src/main/api/index.ts:220
Method
setLaunchParam
(param: any)
src/main/api/plugin/lifecycle.ts:19
Function
setPluginLoading
(isLoading: boolean)
src/renderer/src/stores/windowStore.ts:179
Method
setProxyConfig
* 设置代理配置 * @param config 代理配置
src/main/managers/proxyManager.ts:23
Function
setSubInput
(val: string)
internal-plugins/setting/src/composables/useZtoolsSubInput.ts:159
Method
setSubInputValue
(value: string)
src/main/managers/pluginManager.ts:1324
Method
setTrayIconVisible
* 设置托盘图标可见性
src/main/managers/windowManager.ts:1140
Function
setUpdateDownloadInfo
(info: UpdateDownloadInfo)
src/renderer/src/stores/windowStore.ts:475
Method
setWindowMaterial
* 设置窗口材质(用户在设置中更改时调用)
src/main/managers/windowManager.ts:1238
Function
shouldClearSearch
()
src/renderer/src/stores/windowStore.ts:452
Function
showErrorMessage
( error: unknown, fallback?: string | number, duration = 3000 )
internal-plugins/setting/src/utils/message.ts:37
Function
showInfoMessage
(message: string, duration = 3000)
internal-plugins/setting/src/utils/message.ts:72
Method
showNotification
* 显示系统通知 * @param title 通知标题 * @param message 通知内容 * @param subtitle 通知副标题(可选) * @returns 是否成功显示
src/main/utils/appleScriptHelper.ts:209
Function
showSuccessMessage
(message: string, duration = 3000)
internal-plugins/setting/src/utils/message.ts:52
Function
showWarningMessage
(message: string, duration = 3000)
internal-plugins/setting/src/utils/message.ts:62
Function
shuffleArray
(arr: readonly T[])
internal-plugins/setting/src/utils/shuffle.ts:4
Method
simulateMouseClick
* 模拟鼠标左键单击 * @param x 距离屏幕左侧的位置(像素) * @param y 距离屏幕顶部的位置(像素) * @returns 是否成功
src/main/core/native/index.ts:488
Method
simulateMouseDoubleClick
* 模拟鼠标左键双击 * @param x 距离屏幕左侧的位置(像素) * @param y 距离屏幕顶部的位置(像素) * @returns 是否成功
src/main/core/native/index.ts:508
Method
simulateMouseMove
* 模拟鼠标移动到指定屏幕位置 * @param x 距离屏幕左侧的位置(像素) * @param y 距离屏幕顶部的位置(像素) * @returns 是否成功
src/main/core/native/index.ts:468
Method
simulateMouseRightClick
* 模拟鼠标右键单击 * @param x 距离屏幕左侧的位置(像素) * @param y 距离屏幕顶部的位置(像素) * @returns 是否成功
src/main/core/native/index.ts:528
Method
start
* 启动剪贴板监控 * @param callback - 剪贴板变化时的回调函数(无参数)
src/main/core/native/index.ts:125
Method
start
* 启动窗口监控 * @param callback - 窗口切换时的回调函数 * - macOS: { app, bundleId, title, x, y, width, height, appPath, pid } * - Windows: { app, pid, title
src/main/core/native/index.ts:245
Method
start
* 启动鼠标监控 * @param buttonType - 按钮类型:'middle' | 'right' | 'back' | 'forward' * @param longPressMs - 长按阈值(毫秒) * - 0: 监听点击(mouseUp 时触发) *
src/main/core/native/index.ts:606
Method
start
* 启动区域截图 * @param {Function} callback - 截图完成时的回调函数 * - 参数: { success: boolean, width?: number, height?: number, x?: number, y?: number } * -
src/main/core/native/index.ts:681
Method
start
* 启动取色器 * @param callback - 取色完成时的回调函数 * - 成功: { success: true, hex: '#59636E' } * - 取消: { success: false, hex: null }
src/main/core/native/index.ts:805
Method
stop
* 停止监听并清理
src/main/core/sync/pluginSyncWatcher.ts:78
Method
stop
* 停止剪贴板监控
src/main/core/native/index.ts:161
Method
stop
* 停止窗口监控
src/main/core/native/index.ts:272
Method
stop
* 停止鼠标监控
src/main/core/native/index.ts:647
Method
stop
* 停止取色器(手动取消)
src/main/core/native/index.ts:843
Function
streamListener
(event, chunk)
resources/preload.js:740
Function
subscription
(_event: any, ...args: any[])
src/preload/index.ts:447
Function
switchTab
(tabId: TabId)
internal-plugins/setting/src/components/common/PluginDetail/usePluginDetail.ts:218
Method
sync
* 同步数据到磁盘
src/main/core/lmdb/index.ts:218
Method
testStation
(prefix: string)
src/main/core/ffmpeg.ts:90
Method
toArrayBuffer
(buf: Buffer)
src/main/core/translationManager.ts:326
Function
toggleAutoDetach
()
internal-plugins/setting/src/components/common/PluginDetail/usePluginDetail.ts:123
Function
toggleAutoKill
()
internal-plugins/setting/src/components/common/PluginDetail/usePluginDetail.ts:106
Function
toggleAutoStart
()
internal-plugins/setting/src/components/common/PluginDetail/usePluginDetail.ts:140
Function
toggleDataDetail
(item: DocItem)
internal-plugins/setting/src/components/common/PluginDetail/usePluginDetail.ts:369
Function
toggleMainPushEnabled
()
internal-plugins/setting/src/components/common/PluginDetail/usePluginDetail.ts:156
Function
toggleSelectedMatchCommandDisabled
()
internal-plugins/setting/src/components/common/MatchCommandDetailDialog/MatchCommandDetailDialog.ts:115
Function
toggleSettingsDropdown
()
internal-plugins/setting/src/components/common/PluginDetail/usePluginDetail.ts:57
Method
tryReadUrl
()
src/main/api/plugin/shell.ts:341
Function
ubrowser
ubrowser 兼容入口(转发到 zbrowser),与 uTools API 一致
resources/preload.js:1187
Function
unpinCommand
* 取消固定指定指令。
src/renderer/src/stores/commandDataStore.ts:1543
Method
unregisterAllAppShortcuts
* 清空所有应用快捷键
src/main/managers/windowManager.ts:1543
Method
unregisterAppShortcut
* 注销应用快捷键
src/main/managers/windowManager.ts:1535
Function
updateAcrylicDarkOpacity
(value: number)
src/renderer/src/stores/windowStore.ts:270
Function
updateAcrylicLightOpacity
(value: number)
src/renderer/src/stores/windowStore.ts:266
Method
updateAutoBackToSearch
* 更新自动返回搜索配置
src/main/managers/windowManager.ts:1027
Function
updateAutoClear
(value: AutoClearOption)
src/renderer/src/stores/windowStore.ts:189
Function
updateAutoPaste
(value: AutoPasteOption)
src/renderer/src/stores/windowStore.ts:184
Function
updateAvatar
(value: string)
src/renderer/src/stores/windowStore.ts:125
Function
updateBuiltInShortcutEnabled
(key: BuiltInShortcutKey, value: boolean)
src/renderer/src/stores/windowStore.ts:226
Function
updateCurrentPlugin
(plugin: PluginInfo | null)
src/renderer/src/stores/windowStore.ts:130
Function
updateCustomColor
(color: string)
src/renderer/src/stores/windowStore.ts:258
Function
updateFloatingBallDoubleClickCommand
(value: string)
src/renderer/src/stores/windowStore.ts:238
Function
updatePinnedOrder
(newOrder: Command[])
src/renderer/src/stores/commandDataStore.ts:1570
Function
updatePinnedRows
(rows: number)
src/renderer/src/stores/windowStore.ts:206
Function
updatePlaceholder
(value: string)
src/renderer/src/stores/windowStore.ts:120
Method
updatePluginViewBounds
(width: number, height: number)
src/main/managers/pluginManager.ts:1335
Function
updateRecentRows
(rows: number)
src/renderer/src/stores/windowStore.ts:202
Function
updateSearchMode
(mode: SearchMode)
src/renderer/src/stores/windowStore.ts:210
Function
updateShowMatchRecommendation
(value: boolean)
src/renderer/src/stores/windowStore.ts:198
Function
updateShowRecentInSearch
(value: boolean)
src/renderer/src/stores/windowStore.ts:194
Function
updateSpaceOpenCommand
(value: boolean)
src/renderer/src/stores/windowStore.ts:222
Function
updateSubInputPlaceholder
(placeholder: string)
src/renderer/src/stores/windowStore.ts:160
Function
updateSubInputVisible
(visible: boolean)
src/renderer/src/stores/windowStore.ts:174
Method
updateSyncStatus
* 更新文档的同步状态(异步) * @param id 文档 ID * @param cloudSynced 是否已同步
src/main/core/lmdb/promiseApi.ts:190
Function
updateTabKeyFunction
(value: TabKeyFunction)
src/renderer/src/stores/windowStore.ts:218
Function
updateTabTargetCommand
(value: string)
src/renderer/src/stores/windowStore.ts:214
Function
updateTheme
(value: string)
src/renderer/src/stores/windowStore.ts:242
Function
updateWindowInfo
(windowInfo: WindowInfo | null)
src/renderer/src/stores/windowStore.ts:115
Function
upgradeInstalledPluginFromMarket
( installedPlugin: UpgradePluginInput, marketPlugin: any )
internal-plugins/setting/src/utils/pluginUpgrade.ts:35
Function
useColorScheme
()
src/renderer/src/composables/useColorScheme.ts:3
Function
useColorScheme
()
internal-plugins/setting/src/composables/useColorScheme.ts:7
Function
useConfirmDialog
()
internal-plugins/setting/src/components/common/ConfirmDialog/useConfirmDialog.ts:34
Function
useJumpFunction
(handler: (data: Partial<T>) => void)
internal-plugins/setting/src/composables/useJumpFunction.ts:9
Function
useMainPushResults
(props: UseMainPushResultsProps)
src/renderer/src/composables/useMainPushResults.ts:56
← previous
next →
1,301–1,400 of 1,419, ranked by callers