MCPcopy Create free account

hub / github.com/ZToolsCenter/ZTools / functions

Functions1,419 in github.com/ZToolsCenter/ZTools

FunctionreloadPluginAvailabilityData
()
src/renderer/src/stores/commandDataStore.ts:665
Methodremove
* 删除文档(异步) * @param docOrId 文档对象或文档 ID * @returns Promise<操作结果>
src/main/core/lmdb/promiseApi.ts:56
MethodremoveCookies
* 删除指定名称的 Cookie * * 使用当前页面 URL。
src/main/core/zbrowser/zbrowserExecutor.ts:1007
FunctionremoveFromHistory
* 从历史记录中删除指定指令。
src/renderer/src/stores/commandDataStore.ts:1474
FunctionresetSelection
()
src/renderer/src/composables/useNavigation.ts:196
Methodrestart
()
src/main/appWatcher.ts:201
FunctionsaveSearchPreference
( query: string, command: { path: string; featureCode?: string; name: string } )
src/renderer/src/stores/commandDataStore.ts:481
FunctionscanApplications
()
src/main/core/commandScanner/macScanner.ts:330
FunctionscanApplications
()
src/main/core/commandScanner/linuxScanner.ts:316
FunctionscanApplications
()
src/main/core/commandScanner/windowsScanner.ts:343
MethodscanApplications
()
src/main/core/commandScanner/types.ts:10
Methodscreenshot
* 按选择器或区域截图 * * 选择器模式:先滚动到元素、再获取坐标(Math.round 取整)、再截图。 * 与 uTools 行为一致。 * * @param selectorOrRect CSS 选择器字符串、Rectangle 对象、或 undefined(整
src/main/core/zbrowser/zbrowserExecutor.ts:705
Methodscroll
* 滚动页面 * * 支持三种调用方式: * 1. scroll(y) - 垂直滚动到 y 位置 * 2. scroll(x, y) - 滚动到 (x, y) 位置 * 3. scroll(selector, optional?) - 滚动到元素位置 * -
resources/zbrowser/client.js:642
FunctionsearchWindowCommands
(windowInfo?: { app?: string title?: string className?: string })
src/renderer/src/stores/commandDataStore.ts:1421
MethodsendInputEvent
( event: Electron.MouseInputEvent | Electron.MouseWheelInputEvent | Electron.KeyboardInputEvent )
src/main/managers/pluginManager.ts:1193
MethodsendUpdate
()
src/main/api/plugin/toast.ts:94
Functionset
(obj, prop, value)
src/main/utils/lanzou.ts:351
FunctionsetAiRequestStatus
(status: AiRequestStatus)
src/renderer/src/stores/windowStore.ts:496
MethodsetCookies
* 设置 Cookie * * 支持两种签名:setCookies(name, value) 或 setCookies([{name, value, ...}])
src/main/core/zbrowser/zbrowserExecutor.ts:980
MethodsetExpendHeight
* 设置分离窗口中插件视图的高度
src/main/core/detachedWindowManager.ts:616
MethodsetLaunchParam
* 设置启动参数(用于插件进入时传递参数)
src/main/api/index.ts:220
MethodsetLaunchParam
(param: any)
src/main/api/plugin/lifecycle.ts:19
FunctionsetPluginLoading
(isLoading: boolean)
src/renderer/src/stores/windowStore.ts:179
MethodsetProxyConfig
* 设置代理配置 * @param config 代理配置
src/main/managers/proxyManager.ts:23
FunctionsetSubInput
(val: string)
internal-plugins/setting/src/composables/useZtoolsSubInput.ts:159
MethodsetSubInputValue
(value: string)
src/main/managers/pluginManager.ts:1324
MethodsetTrayIconVisible
* 设置托盘图标可见性
src/main/managers/windowManager.ts:1140
FunctionsetUpdateDownloadInfo
(info: UpdateDownloadInfo)
src/renderer/src/stores/windowStore.ts:475
MethodsetWindowMaterial
* 设置窗口材质(用户在设置中更改时调用)
src/main/managers/windowManager.ts:1238
FunctionshouldClearSearch
()
src/renderer/src/stores/windowStore.ts:452
FunctionshowErrorMessage
( error: unknown, fallback?: string | number, duration = 3000 )
internal-plugins/setting/src/utils/message.ts:37
FunctionshowInfoMessage
(message: string, duration = 3000)
internal-plugins/setting/src/utils/message.ts:72
MethodshowNotification
* 显示系统通知 * @param title 通知标题 * @param message 通知内容 * @param subtitle 通知副标题(可选) * @returns 是否成功显示
src/main/utils/appleScriptHelper.ts:209
FunctionshowSuccessMessage
(message: string, duration = 3000)
internal-plugins/setting/src/utils/message.ts:52
FunctionshowWarningMessage
(message: string, duration = 3000)
internal-plugins/setting/src/utils/message.ts:62
FunctionshuffleArray
(arr: readonly T[])
internal-plugins/setting/src/utils/shuffle.ts:4
MethodsimulateMouseClick
* 模拟鼠标左键单击 * @param x 距离屏幕左侧的位置(像素) * @param y 距离屏幕顶部的位置(像素) * @returns 是否成功
src/main/core/native/index.ts:488
MethodsimulateMouseDoubleClick
* 模拟鼠标左键双击 * @param x 距离屏幕左侧的位置(像素) * @param y 距离屏幕顶部的位置(像素) * @returns 是否成功
src/main/core/native/index.ts:508
MethodsimulateMouseMove
* 模拟鼠标移动到指定屏幕位置 * @param x 距离屏幕左侧的位置(像素) * @param y 距离屏幕顶部的位置(像素) * @returns 是否成功
src/main/core/native/index.ts:468
MethodsimulateMouseRightClick
* 模拟鼠标右键单击 * @param x 距离屏幕左侧的位置(像素) * @param y 距离屏幕顶部的位置(像素) * @returns 是否成功
src/main/core/native/index.ts:528
Methodstart
* 启动剪贴板监控 * @param callback - 剪贴板变化时的回调函数(无参数)
src/main/core/native/index.ts:125
Methodstart
* 启动窗口监控 * @param callback - 窗口切换时的回调函数 * - macOS: { app, bundleId, title, x, y, width, height, appPath, pid } * - Windows: { app, pid, title
src/main/core/native/index.ts:245
Methodstart
* 启动鼠标监控 * @param buttonType - 按钮类型:'middle' | 'right' | 'back' | 'forward' * @param longPressMs - 长按阈值(毫秒) * - 0: 监听点击(mouseUp 时触发) *
src/main/core/native/index.ts:606
Methodstart
* 启动区域截图 * @param {Function} callback - 截图完成时的回调函数 * - 参数: { success: boolean, width?: number, height?: number, x?: number, y?: number } * -
src/main/core/native/index.ts:681
Methodstart
* 启动取色器 * @param callback - 取色完成时的回调函数 * - 成功: { success: true, hex: '#59636E' } * - 取消: { success: false, hex: null }
src/main/core/native/index.ts:805
Methodstop
* 停止监听并清理
src/main/core/sync/pluginSyncWatcher.ts:78
Methodstop
* 停止剪贴板监控
src/main/core/native/index.ts:161
Methodstop
* 停止窗口监控
src/main/core/native/index.ts:272
Methodstop
* 停止鼠标监控
src/main/core/native/index.ts:647
Methodstop
* 停止取色器(手动取消)
src/main/core/native/index.ts:843
FunctionstreamListener
(event, chunk)
resources/preload.js:740
Functionsubscription
(_event: any, ...args: any[])
src/preload/index.ts:447
FunctionswitchTab
(tabId: TabId)
internal-plugins/setting/src/components/common/PluginDetail/usePluginDetail.ts:218
Methodsync
* 同步数据到磁盘
src/main/core/lmdb/index.ts:218
MethodtestStation
(prefix: string)
src/main/core/ffmpeg.ts:90
MethodtoArrayBuffer
(buf: Buffer)
src/main/core/translationManager.ts:326
FunctiontoggleAutoDetach
()
internal-plugins/setting/src/components/common/PluginDetail/usePluginDetail.ts:123
FunctiontoggleAutoKill
()
internal-plugins/setting/src/components/common/PluginDetail/usePluginDetail.ts:106
FunctiontoggleAutoStart
()
internal-plugins/setting/src/components/common/PluginDetail/usePluginDetail.ts:140
FunctiontoggleDataDetail
(item: DocItem)
internal-plugins/setting/src/components/common/PluginDetail/usePluginDetail.ts:369
FunctiontoggleMainPushEnabled
()
internal-plugins/setting/src/components/common/PluginDetail/usePluginDetail.ts:156
FunctiontoggleSelectedMatchCommandDisabled
()
internal-plugins/setting/src/components/common/MatchCommandDetailDialog/MatchCommandDetailDialog.ts:115
FunctiontoggleSettingsDropdown
()
internal-plugins/setting/src/components/common/PluginDetail/usePluginDetail.ts:57
MethodtryReadUrl
()
src/main/api/plugin/shell.ts:341
Functionubrowser
ubrowser 兼容入口(转发到 zbrowser),与 uTools API 一致
resources/preload.js:1187
FunctionunpinCommand
* 取消固定指定指令。
src/renderer/src/stores/commandDataStore.ts:1543
MethodunregisterAllAppShortcuts
* 清空所有应用快捷键
src/main/managers/windowManager.ts:1543
MethodunregisterAppShortcut
* 注销应用快捷键
src/main/managers/windowManager.ts:1535
FunctionupdateAcrylicDarkOpacity
(value: number)
src/renderer/src/stores/windowStore.ts:270
FunctionupdateAcrylicLightOpacity
(value: number)
src/renderer/src/stores/windowStore.ts:266
MethodupdateAutoBackToSearch
* 更新自动返回搜索配置
src/main/managers/windowManager.ts:1027
FunctionupdateAutoClear
(value: AutoClearOption)
src/renderer/src/stores/windowStore.ts:189
FunctionupdateAutoPaste
(value: AutoPasteOption)
src/renderer/src/stores/windowStore.ts:184
FunctionupdateAvatar
(value: string)
src/renderer/src/stores/windowStore.ts:125
FunctionupdateBuiltInShortcutEnabled
(key: BuiltInShortcutKey, value: boolean)
src/renderer/src/stores/windowStore.ts:226
FunctionupdateCurrentPlugin
(plugin: PluginInfo | null)
src/renderer/src/stores/windowStore.ts:130
FunctionupdateCustomColor
(color: string)
src/renderer/src/stores/windowStore.ts:258
FunctionupdateFloatingBallDoubleClickCommand
(value: string)
src/renderer/src/stores/windowStore.ts:238
FunctionupdatePinnedOrder
(newOrder: Command[])
src/renderer/src/stores/commandDataStore.ts:1570
FunctionupdatePinnedRows
(rows: number)
src/renderer/src/stores/windowStore.ts:206
FunctionupdatePlaceholder
(value: string)
src/renderer/src/stores/windowStore.ts:120
MethodupdatePluginViewBounds
(width: number, height: number)
src/main/managers/pluginManager.ts:1335
FunctionupdateRecentRows
(rows: number)
src/renderer/src/stores/windowStore.ts:202
FunctionupdateSearchMode
(mode: SearchMode)
src/renderer/src/stores/windowStore.ts:210
FunctionupdateShowMatchRecommendation
(value: boolean)
src/renderer/src/stores/windowStore.ts:198
FunctionupdateShowRecentInSearch
(value: boolean)
src/renderer/src/stores/windowStore.ts:194
FunctionupdateSpaceOpenCommand
(value: boolean)
src/renderer/src/stores/windowStore.ts:222
FunctionupdateSubInputPlaceholder
(placeholder: string)
src/renderer/src/stores/windowStore.ts:160
FunctionupdateSubInputVisible
(visible: boolean)
src/renderer/src/stores/windowStore.ts:174
MethodupdateSyncStatus
* 更新文档的同步状态(异步) * @param id 文档 ID * @param cloudSynced 是否已同步
src/main/core/lmdb/promiseApi.ts:190
FunctionupdateTabKeyFunction
(value: TabKeyFunction)
src/renderer/src/stores/windowStore.ts:218
FunctionupdateTabTargetCommand
(value: string)
src/renderer/src/stores/windowStore.ts:214
FunctionupdateTheme
(value: string)
src/renderer/src/stores/windowStore.ts:242
FunctionupdateWindowInfo
(windowInfo: WindowInfo | null)
src/renderer/src/stores/windowStore.ts:115
FunctionupgradeInstalledPluginFromMarket
( installedPlugin: UpgradePluginInput, marketPlugin: any )
internal-plugins/setting/src/utils/pluginUpgrade.ts:35
FunctionuseColorScheme
()
src/renderer/src/composables/useColorScheme.ts:3
FunctionuseColorScheme
()
internal-plugins/setting/src/composables/useColorScheme.ts:7
FunctionuseConfirmDialog
()
internal-plugins/setting/src/components/common/ConfirmDialog/useConfirmDialog.ts:34
FunctionuseJumpFunction
(handler: (data: Partial<T>) => void)
internal-plugins/setting/src/composables/useJumpFunction.ts:9
FunctionuseMainPushResults
(props: UseMainPushResultsProps)
src/renderer/src/composables/useMainPushResults.ts:56
← previousnext →1,301–1,400 of 1,419, ranked by callers