摘要: v2024.1 实例封装 使用 struct 定义实例结构 结构名以小写开头 私有成员名以_开头,如有必要可加上private 访问内部成员时必须使用this.来访问 struct trykleInfo ( _age ,fn getAge = ( return this._age ) ,fn tes . . .
posted @ 2023-11-26 12:48 trykle 阅读(97) 评论(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 阅读(234) 评论(0) 推荐(1) 编辑
摘要: 保存为 关闭显示器.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 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 某个版本的win11,在安装系统后,默认以用户名的前5个字符串作为用户路径的一部分 比如你的用户名为trykle,环境变量%USERPROFILE% 得到的路径是 C:\Users\trykl 这TM是哪个傻x设计出来的 从网上的答案中直接修改HKEY_LOCAL_MACHINE\SOFTWARE\ . . .
posted @ 2025-02-05 16:05 trykle 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 概述 最近希望在手机上浏览器电脑上的文件 本身windows SMB共享文件的方式就挺简单,但是测试后发现在安卓上使用es浏览器播放视频时ftp响应更快 windows上自带的采用iis开启ftp的操作有些繁琐,这里采用 FileZilla 操作步骤 下载安装服务端软件 https://filezi . . .
posted @ 2025-01-31 12:13 trykle 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 概述 将dll作为mse文件 使用filein就能载入dll文件,简化交付、简化调用 同时也是兼容替换3dmax2026新运行时动态编译的方案之一 打包脚本 fn build = ( global Cmxs6Publisher, Cmxs6SettingsModel global cmxs6_cli . . .
posted @ 2025-01-23 14:17 trykle 阅读(12) 评论(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 阅读(9) 评论(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 阅读(11) 评论(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 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 概述 配置发布,是一个便于一键发布的功能 可以增加发布的规范性和效率,避免每次发布都人为操作ui 示例 下面是一个使用代码进行打包的基础配置(你可以在界面上生成下面的代码) 从config = Cmxs6SettingsModel()后开始,为配置项的指定 ( --载入Cmxs global Cmx . . .
posted @ 2024-11-03 13:45 trykle 阅读(22) 评论(0) 推荐(1) 编辑
摘要: 安装包 MessagePack 定义Person类 [MessagePackObject] public class Person { [Key(0)] public string Name { get; set; } [Key(1)] public int Id { get; set; } [Ke . . .
posted @ 2024-10-23 11:35 trykle 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 安装包 Google.Protobuf Google.Protobuf.Tools Google.Protobuf.Tools中存在protoc.exe可以用来编译.proto文件 编写 Person.proto 文件 syntax = "proto3"; message Person { stri . . .
posted @ 2024-10-23 11:23 trykle 阅读(214) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示