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
Rotate pdf page you are reading Left / Right in PDF Reader
Event
None
Operation
Trigger Action
Data
/** * Rotate Left / Right in PDF Reader * @author Polygon * @usage * @link https://github.com/windingwind/zotero-actions-tags/discussions/217 */constZotero=require("Zotero")constZotero_Tabs=require("Zotero_Tabs")constwindow=require("window")if(!item){return}// current readerconstreader=Zotero.Reader.getByTabID(Zotero_Tabs.selectedID)// current pageIndexconstpageIndex=reader._internalReader._lastView._iframeWindow.PDFViewerApplication.pdfViewer._location.pageNumber-1// rotate: left is 270, right is 90reader._internalReader._onRotatePages([pageIndex],270)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Description
Rotate pdf page you are reading Left / Right in PDF Reader
Event
None
Operation
Trigger Action
Data
Anything else
Beta Was this translation helpful? Give feedback.
All reactions