How to open a URL from a plugin? #5418
Replies: 7 comments 2 replies
-
From Discord:
|
Beta Was this translation helpful? Give feedback.
-
I replied directly on discord, both sides are sandboxed, you might want to do something like tagGraph and always output to the same file |
Beta Was this translation helpful? Give feedback.
-
Are there any python UI plugin examples? |
Beta Was this translation helpful? Give feedback.
-
I found some other UI plugin examples, but I still don't have a clue how to use it. |
Beta Was this translation helpful? Give feedback.
-
In the Stash source code, UI plugin example react-component has a testReact.yml, and that file refers to testReact.js, but there is no file with that name in the source code. Is that an error in the testReact.yml source code, and should it be testReact.tsx instead? |
Beta Was this translation helpful? Give feedback.
-
Thanks. I just compiled, and I copied the build files to the plugin folder. But it still didn't work. I tried the following link, and it gives me a "Not Found" error. Also the tools tab http://localhost:9999/settings?tab=tools is supposed to have test-react listed, but it doesn't. I'm going to close this question, and open a new question to specifically ask help in getting testReact working. |
Beta Was this translation helpful? Give feedback.
-
FYI: |
Beta Was this translation helpful? Give feedback.
-
How can I open a URL from a plugin?
I created plugin DupFileManager.
It creates a report similar to that of Scene Tools "Duplicate Checker".
It creates multiple HTML pages, and I'm trying to figure out a way to have it display the page after the plugin task is complete.
I tried using the following code, but
Code#1
os.system(f"start file:///{htmlReportName}")
Code#2
Neither version works. When I run this, nothing happens.
Is there any way for a plugin to display a link on stash, that is besides the one link in the Plugins menu?
Beta Was this translation helpful? Give feedback.
All reactions