View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0016267 | Scribus | Scripter | public | 2020-10-11 00:19 | 2020-10-11 00:19 |
| Reporter | shassan | Assigned To | |||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | new | Resolution | open | ||
| Product Version | 1.5.5 | ||||
| Summary | 0016267: add setActiveDocument() function to scripter | ||||
| Description | When working with multiple documents at a time, it would be very useful to switch the active document automatically in scripter. I tried using openDoc() function, but I get a message box stating "This document is already in use. You'll be switched into its window now" each time the openDoc line is run which I have to manually acknowledge each time. Therefore, I take it that openDoc function is only really intended for unopened documents. It would be useful to have a dedicated setActiveDocument() function to switch between open windows (if possible even currently unsaved documents). A getActiveDocument() function would be helpful too to return name of active document. In the meantime, is there a way to bypass the message popup for openDoc()? If there is, it could be an effective workaround by switching opened documents (what I need it to do). | ||||
| Tags | No tags attached. | ||||
| Patch | No | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-10-11 00:19 | shassan | New Issue |