This file contains hidden or 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
const puppeteer = require('puppeteer'); | |
(async () => { | |
const browser = await puppeteer.launch({ | |
headless: false, | |
slowMo: 100, | |
args: [ | |
'--window-size=1440,900', | |
] | |
}); |
This file contains hidden or 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
//ダイアログの設定 | |
var dialog = new Window("dialog", "抵抗値の配列を入力する", [0, 0, 600, 90]); | |
dialog.add("statictext", [ | |
10, 20, 60, 40 | |
], "抵抗値"); | |
var length = dialog.add("edittext", [ | |
60, 15, 590, 40 | |
], "300"); //数の入力 | |
var btnCancel = dialog.add("button", [ |