GithubHelp home page GithubHelp logo

Comments (10)

ShockwaveNN avatar ShockwaveNN commented on August 15, 2024 1

@askonev Could you take a look, can this be done with our plugin systems?

from sdkjs-plugins.

askonev avatar askonev commented on August 15, 2024 1

Hello @ThanhLNP
Similar to your case, it is implemented in thesaurus plugin. If you have questions about the implementation, please contact.

Also, some plugins receive select change events.
https://api.onlyoffice.com/plugin/config
You can read the description of this initOnSelectionChanged parameter

Screen record from 2021-03-02 15 58 53

from sdkjs-plugins.

ShockwaveNN avatar ShockwaveNN commented on August 15, 2024

I think you should use our macros system and take a look at GetValue method, which described here

from sdkjs-plugins.

ThanhLNP avatar ThanhLNP commented on August 15, 2024

First of all, thank you
Is there any way to automatically use macros on mouse clicks?
looks like this: https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_event_mouse_button

from sdkjs-plugins.

ShockwaveNN avatar ShockwaveNN commented on August 15, 2024

@ThanhLNP I don't think so, as I am aware our macroses only support changing content of document

from sdkjs-plugins.

ThanhLNP avatar ThanhLNP commented on August 15, 2024

So is there no way for me to write this
Api.GetSelection().GetAddress(false, false, 'xlA1', false)
in file editor.html?

from sdkjs-plugins.

ShockwaveNN avatar ShockwaveNN commented on August 15, 2024

That in the main purpose of your script? You tell what you want to do, but I still not understand why you want to do those steps? Maybe there is simpler solution for your taks without any scripts

from sdkjs-plugins.

ThanhLNP avatar ThanhLNP commented on August 15, 2024

I have an idea to do "text to speech" every time I click on a certain cell
So maybe I will create a plugin but it cannot be automatically speech

from sdkjs-plugins.

ShockwaveNN avatar ShockwaveNN commented on August 15, 2024

@ThanhLNP Please, leave only one question by issue, so please create a new issue about that. I think your error mean something wrong with syntax of config file, like missing semicolon or something like this

from sdkjs-plugins.

ThanhLNP avatar ThanhLNP commented on August 15, 2024

thank you so much
Wish you every day to grow

from sdkjs-plugins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.