UwscWebDriverのwikiの元となったmarkdownファイル群です。リンク等は機能しない可能性があります。
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
module WebMod | |
public Name = "Web module" | |
endmodule |
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
dn = replace(GET_UWSC_NAME, ".uws", "") | |
dp = GET_CUR_DIR + "\" + dn + "\Catogory\" | |
r_fpInitSetFile = GET_CUR_DIR + "\" + dn + "\InitSet.txt" | |
r_fpInitSetSubFile = GET_CUR_DIR + "\" + dn + "\InitSet_sub.txt" | |
w_fp = GET_CUR_DIR + "\" + dn + "\Summary.txt" | |
extension = ".uws" |
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
/* stonestory script */ | |
disable banner | |
//import Cosmetics/PetBoo | |
//import Fishing | |
// HP減り過ぎたらポーション飲む | |
?hp < 10 | |
activate potion |
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
# Created with YamlCreate.ps1 v2.1.2 $debug=NVS0.7-2-3 | |
# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.4.0.schema.json | |
PackageIdentifier: stuncloud.uwscr | |
PackageVersion: 0.9.0 | |
InstallerLocale: ja-JP | |
MinimumOSVersion: 10.0.0.0 | |
InstallerType: zip | |
NestedInstallerType: portable | |
NestedInstallerFiles: |
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
dim VirtualKey, Unicode, Flags, UserIndex, HidCode | |
logprint(TRUE, 100, 100, 500, 1000) | |
while TRUE | |
if ! status(getid(GET_LOGPRINT_WIN), ST_VISIBLE) then | |
break | |
endif | |
XInputGetKeystroke(0, 0, VirtualKey, Unicode, Flags, UserIndex, HidCode) |
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
// winget settings で設定ファイルを開く | |
{ | |
"$schema": "https://aka.ms/winget-settings.schema.json", | |
// v1.3.1251-preview で以下を設定します | |
"experimentalFeatures": { | |
"portableInstall": true | |
} | |
} |
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
textblock msg | |
call url[http://example.com/hoge.uws] | |
のようにURLを記述することでweb上のスクリプトをcallできます | |
スクリプトのMIMEはtext/plainが良さそう | |
endtextblock | |
msgbox(msg) |
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
module OCR | |
function Get(path) | |
result = powershell(replace(ps1, "%filepath%", path)) | |
fend | |
textblock ps1 | |
[Windows.Media.Ocr.OcrEngine,Windows.Media.Ocr,ContentType=WindowsRuntime] | Out-Null | |
[Windows.Storage.StorageFile,Windows.Storage,ContentType=WindowsRuntime] | Out-Null | |
[Windows.Graphics.Imaging.BitmapDecoder,Windows.Graphics.Imaging,ContentType=WindowsRuntime] | Out-Null | |
Add-Type -AssemblyName System.Runtime.WindowsRuntime |
NewerOlder