Screenshot_1.png
Screenshot_2.png
Когда я вписываю вместо переменной, скрин сохраняется, но мне как-то нужно получить название открытой папки с профилем, чтобы сохранить скриншот с названием папки в которой работаем
Bug with imap get list of folders
-
Hi, just wanted to let you know I came accross this bug while fetching the folders of my imap.
When fetching the folders, the list only contains " [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]"
But when activating debug, the list is not empty as you can see.
However it doesn't seem possible to get the debug to a variable, so I have to do it by hand which is annoying
-
@thotho said in Bug with imap get list of folders:
When fetching the folders, the list only contains " [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]"
Because BAS does not serialise objects when writing logs, you need to do it manually.
log(JSON.stringify(VAR_SOME_OBJECT))