View Issue Details

IDProjectCategoryView StatusLast Update
0016267ScribusScripterpublic2020-10-11 00:19
Reportershassan Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Product Version1.5.5 
Summary0016267: add setActiveDocument() function to scripter
DescriptionWhen 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).
TagsNo tags attached.
PatchNo

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-10-11 00:19 shassan New Issue