摘要: v2024.1 实例封装 使用 struct 定义实例结构 结构名以小写开头 私有成员名以_开头,如有必要可加上private 访问内部成员时必须使用this.来访问 struct trykleInfo ( _age ,fn getAge = ( return this._age ) ,fn tes . . .
posted @ 2023-11-26 12:48 trykle 阅读(108) 评论(0) 推荐(2) 编辑
摘要: 记录一些常见的随手就用的代码片段 字典 dict = dotNetObject "System.Collections.Generic.Dictionary`2[System.String,System.String]" dict.Remove "trykle_name" dict.Add "try . . .
posted @ 2023-11-15 14:37 trykle 阅读(253) 评论(0) 推荐(1) 编辑
摘要: f12 打开chrome 开发面板 . . .
posted @ 2025-03-28 22:42 trykle 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 安装Whisper pip install openai-whisper 安装ffmpeg winget install "FFmpeg (Essentials Build)" 提取音频 ffmpeg -i input.mp4 -vn -ar 16000 -ac 1 output.wav 生成字幕 . . .
posted @ 2025-03-13 10:48 trykle 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 保存为 关闭显示器.bat chcp 65001 @echo off echo 显示器将在2秒后关闭... timeout /t 2 /nobreak >nul powershell -Command "(Add-Type -MemberDefinition '[DllImport(\"user32 . . .
posted @ 2025-02-21 19:47 trykle 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 某个版本的win11,在安装系统后,默认以用户名的前5个字符串作为用户路径的一部分 比如你的用户名为trykle,环境变量%USERPROFILE% 得到的路径是 C:\Users\trykl 这TM是哪个傻x设计出来的 从网上的答案中直接修改HKEY_LOCAL_MACHINE\SOFTWARE\ . . .
posted @ 2025-02-05 16:05 trykle 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 概述 最近希望在手机上浏览器电脑上的文件 本身windows SMB共享文件的方式就挺简单,但是测试后发现在安卓上使用es浏览器播放视频时ftp响应更快 windows上自带的采用iis开启ftp的操作有些繁琐,这里采用 FileZilla 操作步骤 下载安装服务端软件 https://filezi . . .
posted @ 2025-01-31 12:13 trykle 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 概述 将dll作为mse文件 使用filein就能载入dll文件,简化交付、简化调用 同时也是兼容替换3dmax2026新运行时动态编译的方案之一 打包脚本 fn build = ( global Cmxs6Publisher, Cmxs6SettingsModel global cmxs6_cli . . .
posted @ 2025-01-23 14:17 trykle 阅读(17) 评论(0) 推荐(0) 编辑
摘要: try destroyDialog testRoll catch() rollout testRoll "" ( dotnetcontrol labMsg "System.Windows.Forms.TextBox" pos:[0,0] width:420 height:160 on testRol . . .
posted @ 2025-01-20 13:37 trykle 阅读(13) 评论(0) 推荐(0) 编辑
摘要: fn play = ( hz = #(392, 392, 440, 392, 523, 494, 392, 392, 440, 392, 587, 523, 392, 392, 784, 659, 523, 494, 440, 698, 698, 659, 523, 587, 523) interv . . .
posted @ 2025-01-16 10:56 trykle 阅读(15) 评论(0) 推荐(0) 编辑
摘要: -361 FIPS 将下方代码保存为.bat文件并以管理员运行,(成功设置后需重启3dmax) 如需了解详情,搜索关键词: "此实现不是 Windows 平台 FIPS 验证的加密算法的一部分" reg add "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Con . . .
posted @ 2024-12-19 11:16 trykle 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 大概在2023+版本出现,不知道什么原因 (此bug已在#(28000, 68, 0, 28, 0, 0, 3879, 2026, "")版本被修复) 运行下面这个代码: fn testFn = ( aaa.bbb.axIs 1 -- error, see that uppercase 'I' ) . . .
posted @ 2024-11-18 16:28 trykle 阅读(26) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示