Try using "Template" action and construct your text with hyerlinks than paste it to page.
Other option is to create simple LOCAL html page somewhere on your hard disk with
desired text and links, than open that local html page in another tab in BAS and than copy
from that tab to the tab where you are working.
Java Script \ вывести результат в переменную.
-
@Kinokio said in Java Script \ вывести результат в переменную.:
@Fox знать бы где взять это модуль...
Я же обвёл красной рамкой кнопочку, нажимаете и вводите название
-
@Kinokio said in Java Script \ вывести результат в переменную.:
@Fox типо просто "var bigInt = require("big-integer");" туда вписать или как.
Я не силён в node jsА я не знаю какие именно данные вам нужны
var bigInt = require("big-integer"); randomPrefix = 0 | Math.floor(4294967296 * Math.random()); creationTime = bigInt(Date.now()); userID = bigInt(12345678901234567); const r = Buffer.allocUnsafe(24); [[Q1]] = r.writeInt32LE(userID.mod(4294967296).toJSNumber(), 0, true); //first [[Q2]] = r.writeInt32LE(userID.shiftRight(32).toJSNumber(), 4, true); //second [[Q3]] = r.writeInt32LE(randomPrefix, 8, true); //third [[Q4]] = r.writeInt32LE(creationTime.mod(4294967296).toJSNumber(), 12, true); //fourth [[Q5]] = r.writeInt32LE(creationTime.shiftRight(32).toJSNumber(), 16, true); //fifth [[Q6]] = r.writeInt32LE(0, 20, true); [[Q7]] = r.toString("base64")
Скрипт 2187.xml
-
@Kinokio said in Java Script \ вывести результат в переменную.:
@Fox а как мне добавить этот npm модуль в свой проект? Чтобы я на вашем тестовом это не делал
Кликните на кнопку "добавить npm модуль", введите название модуля и нажмите "ок"
-
@Kinokio said in Java Script \ вывести результат в переменную.:
@Fox а что в название писать, я полный 0. Типо функцию?
В названии нужно написать название необходимого вам модуля

-
@Kinokio said in Java Script \ вывести результат в переменную.:
@Fox окей, если будут трудности я напишу вам. Спасибо ещё раз большое
Мне?