audreyt / ethercalc

Node.js port of Multi-user SocialCalc
https://ethercalc.net
Other
2.95k stars 527 forks source link

Targeting Cells Across Tabs Etherpad #755

Open Daviid1010 opened 3 years ago

Daviid1010 commented 3 years ago

Hi all!

I'm currently working on a python script where I need to populate multiple tabs within one sheet.

To show some attached code:

    e = ethercalc.EtherCalc(hostMachine + "/sheet/")
    e.command(destination, ["set A1 text t My Text"])

When I create this calc without a /= (tabs) in front of the URL the command works correcly, the cell A1 populates with MyText. When I create the pad with multiple tabs, it no longer targets cell A1 of Tab 1 correctly and no longer works. If there a way I can target cells by tab, for example Sheet1.A1 Sheet2.B5 etc etc.

Love this API would reallly appreciate any help with this!

Cheers David

eddyparkinson commented 3 years ago

@Daviid1010

Workbook multiple tabs


They are structured like this https://ethercalc.net/=eddymulti https://ethercalc.net/eddymulti.1 https://ethercalc.net/eddymulti.2

related .. https://github.com/audreyt/ethercalc/issues/641