You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1617,6 +1617,35 @@ corresponding to when the API was available for use.
1617
1617
```
1618
1618
</details>
1619
1619
1620
+
#### `guiImportFile`
1621
+
1622
+
* Invokes the *Import... (Ctrl+Shift+I)* dialog with an optional file path. Brings up the dialog foruser to review the import. Supports all file types that Anki supports. Brings open file dialog if no path is provided. Forward slashes must be usedin the path on Windows.
1623
+
1624
+
<details>
1625
+
<summary><i>Sample request:</i></summary>
1626
+
1627
+
```json
1628
+
{
1629
+
"action": "guiImportFile",
1630
+
"version": 6,
1631
+
"params": {
1632
+
"path": "C:/Users/Desktop/cards.txt"
1633
+
}
1634
+
}
1635
+
```
1636
+
</details>
1637
+
1638
+
<details>
1639
+
<summary><i>Sample result:</i></summary>
1640
+
1641
+
```json
1642
+
{
1643
+
"result": null,
1644
+
"error": null
1645
+
}
1646
+
```
1647
+
</details>
1648
+
1620
1649
#### `guiExitAnki`
1621
1650
1622
1651
* Schedules a request to gracefully close Anki. This operation is asynchronous, so it will return immediately and
0 commit comments