Finish Impress v2 loading, some pre-process left

This commit is contained in:
Timothyxxx
2024-01-23 15:29:23 +08:00
parent 177bae1e92
commit 42b433dce8
8 changed files with 184 additions and 77 deletions

View File

@@ -1,12 +1,19 @@
{
"id": "0f84bef9-9790-432e-92b7-eece357603fb",
"snapshot": "libreoffice_impress",
"instruction": "Could you help me disable the presenter screen mode in my slids?",
"instruction": "On it Whenever I launch a LibreOffice Impress, it uses both screens, one for current slide and next slide and another for actual presentation. What I want is to use only one monitor which shows presentation. I dont want the screen with Current slide and Next slide so that it can be used for other purposes. How should I achieve this?",
"source": "https://stackoverflow.com/questions/29036788/how-to-disable-libreoffice-impress-to-use-multiple-display",
"config": [],
"trajectory": "trajectories/",
"related_apps": [
""
"libreoffice_impress"
],
"evaluator": "evaluation_dir"
"evaluator": {
"func": "check_presenter_console_disable",
"result": {
"type": "vm_file",
"path": "/home/user/.config/libreoffice/4/user/registrymodifications.xcu",
"dest": "registrymodifications.xcu"
}
}
}

View File

@@ -27,11 +27,16 @@
"libreoffice_impress"
],
"evaluator": {
"func": "compare_pptx_files",
"func": "evaluate_presentation_fill_to_rgb_distance",
"expected": {
"type": "cloud_file",
"path": "https://drive.usercontent.google.com/download?id=1LU-wnmIqMQgwkdAUFBLE1wNkH4gSl3IR&export=download&authuser=0&confirm=t&uuid=74520405-4028-4fbe-bab8-d56dc82ffb6c&at=APZUnTU0dz5ZE5CcQry8IeY5_s1J:1705481009686",
"dest": "lec17-gui-events_Gold.docx"
"type": "rule",
"rules": {
"rgb": [
0,
0,
255
]
}
},
"result": {
"type": "vm_file",

View File

@@ -35,7 +35,7 @@
},
"result": {
"type": "vm_file",
"path": "Desktop/MLA_Workshop_061X_Works_Cited.pptx",
"path": "/home/user/Desktop/MLA_Workshop_061X_Works_Cited.pptx",
"dest": "MLA_Workshop_061X_Works_Cited.pptx"
}
}

View File

@@ -9,8 +9,8 @@
"parameters": {
"files": [
{
"url": "https://drive.usercontent.google.com/download?id=1i_-m6mVrdesGJ392bulH5lveHarMwKk_&export=download&authuser=0&confirm=t&uuid=057973d3-52b7-45ac-8151-b2c6a1820f49&at=APZUnTU5SYajgO-YrxdDWSiJRfD4:1705768888387",
"path": "Desktop/Secrets-of-Monetizing-Video.pptx"
"url": "https://drive.usercontent.google.com/download?id=1i_-m6mVrdesGJ392bulH5lveHarMwKk_&export=download&authuser=0&confirm=t&uuid=686367a5-9383-4d60-8beb-108ef7119ffa&at=APZUnTXpMsCkSdM7fb5zdVz3qZUX:1705916772791",
"path": "Downloads/Secrets-of-Monetizing-Video.pptx"
}
]
}
@@ -18,7 +18,7 @@
{
"type": "open",
"parameters": {
"path": "Desktop/Secrets-of-Monetizing-Video.pptx"
"path": "Downloads/Secrets-of-Monetizing-Video.pptx"
}
}
],
@@ -27,8 +27,19 @@
"libreoffice_impress"
],
"evaluator": {
"func": "check_file_exists",
"file_name": "pre.pptx",
"directory": "/home/user/Desktop/"
"func": "compare_pptx_files",
"expected": {
"type": "cloud_file",
"path": "https://drive.usercontent.google.com/download?id=1i_-m6mVrdesGJ392bulH5lveHarMwKk_&export=download&authuser=0&confirm=t&uuid=686367a5-9383-4d60-8beb-108ef7119ffa&at=APZUnTXpMsCkSdM7fb5zdVz3qZUX:1705916772791",
"dest": "Secrets-of-Monetizing-Video.pptx"
},
"result": {
"type": "vm_file",
"path": "/home/user/Desktop/pre.pptx",
"dest": "pre.pptx"
},
"options": {
"examine_shape": false
}
}
}

View File

@@ -38,11 +38,17 @@
"libreoffice_impress"
],
"evaluator": {
"func": "check_for_audio",
"func": "compare_audios",
"result": {
"type": "audio_in_slide",
"ppt_file_path": "/home/user/Desktop/Mady_and_Mia_Baseball.pptx",
"slide_index": 0,
"dest": "Baseball.mp3"
},
"expected": {
"type": "vm_file",
"path": "Desktop/Mady_and_Mia_Baseball.pptx",
"dest": "Mady_and_Mia_Baseball.pptx"
"path": "/home/user/Desktop/Baseball.mp3",
"dest": "Baseball_to_be_placed.mp3"
}
}
}

View File

@@ -1,12 +1,27 @@
{
"id": "ef9d12bd-bcee-4ba0-a40e-918400f43ddf",
"snapshot": "libreoffice_impress",
"instruction": "Could you help me open the side panel on the left?",
"instruction": "I closed the slide panel on the left and idk how to get it back please help",
"source": "https://www.reddit.com/r/libreoffice/comments/18elh3y/i_closed_the_slide_pannel_on_the_left_and_idk_how/",
"config": [],
"config": [
{
"type": "launch",
"parameters": {
"command": [
"libreoffice",
"--impress"
]
}
}
],
"trajectory": "trajectories/",
"related_apps": [
""
"libreoffice_impress"
],
"evaluator": "evaluation_dir"
"evaluator": {
"func": "check_left_panel",
"result": {
"type": "accessibility_tree"
}
}
}