warpd icon indicating copy to clipboard operation
warpd copied to clipboard

[help]How to write a script and run it

Open wang-qa opened this issue 1 year ago • 2 comments

I compile and install warpd and view the corresponding documentation There is no mention of how to write scripts and run them (such as the running code for DEMO.gif) or examples

So how should I write it and run it

env:
System: Kubuntu 23.04
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.10
Kernel Version: 6.1.42-01 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: LENOVO
Product Name: 20VD
System Version: ThinkBook 14 G2 ITL

wang-qa avatar Sep 04 '23 08:09 wang-qa

There is no mention of how to write scripts and run them (such as the running code for DEMO.gif) or examples

What do you mean by this? IIUC, the demo gifs are a screen recording and the user is interacting with warpd by hitting keyboard keys. What I mean is that I don't think there's scripting involved there.

rgkirch avatar Dec 22 '23 20:12 rgkirch

I am a beginner

When executing warpd --hint2, pressing the corresponding button will not update the prompt So, I need a complete example or explanation from 0 to 1

The goal is to use warpd to load scripts to complete desktop (wayland) automation operations

img_v3_026f_4a834cde-5cad-4a43-bf6b-038ff9f0769g

wang-qa avatar Dec 25 '23 02:12 wang-qa