Taking printscreen of the website in Zennoposter

dviraz

Новичок
Регистрация
05.12.2012
Сообщения
18
Благодарностей
0
Баллы
1
I would like to take screenshot of the site after the go to site and save it in specific folder at high quality jpeg.

how it can be done?
 

Tobbe

Client
Регистрация
01.08.2013
Сообщения
428
Благодарностей
148
Баллы
43
  • Спасибо
Реакции: dviraz

dviraz

Новичок
Регистрация
05.12.2012
Сообщения
18
Благодарностей
0
Баллы
1
I run the code on zennoposter and no print screen image is shown on c:\images folder

do you know what can be the probem?
 
Последнее редактирование:

Tobbe

Client
Регистрация
01.08.2013
Сообщения
428
Благодарностей
148
Баллы
43
1) It's C#, so you need to use the "C# Code"-action. Even tho the forum says it's JavaScript.
2) You need to create the folder "C:/Images" before saving anything into it. Or the action will fail.
3) Also set a variable for the C# action.
 
  • Спасибо
Реакции: dviraz

dviraz

Новичок
Регистрация
05.12.2012
Сообщения
18
Благодарностей
0
Баллы
1
thanks now it's working.

1.Do you know if I can pass variable into the c# code? because I want to change the folder that I'm saving the screenshot every time.
2.I want to save the whole page, not just the top, how can it be done?

Thanks Tobias for your help.
 

StevenCrimmb

Новичок
Регистрация
15.09.2014
Сообщения
8
Благодарностей
1
Баллы
1
Tobias thanks alot for the link, I don't know why it didn't pop up in my search
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Open Element's tree abd mark body tag as captcha.
Then choose CaptchaSaver.dll vodule and fill path to file where you wanna save it in additional settings
 
  • Спасибо
Реакции: dviraz

dviraz

Новичок
Регистрация
05.12.2012
Сообщения
18
Благодарностей
0
Баллы
1
I've been looking for captchsaver.dll and I can't find it, I'm using ProjectMaker lite 5.0.4.1
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
It's a name of one of modules in anticaptcha action
 
  • Спасибо
Реакции: dviraz

dviraz

Новичок
Регистрация
05.12.2012
Сообщения
18
Благодарностей
0
Баллы
1
ok found it, now I can't find the file path to the file

 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Module settings on the second picture
Here comes a path to result file
 
  • Спасибо
Реакции: dviraz

dviraz

Новичок
Регистрация
05.12.2012
Сообщения
18
Благодарностей
0
Баллы
1
i tried to put file path into put complaints url to variable and I cant enter \ or : into it, so I created variable to the file path name and still unsuccessfull.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
What? I meant "Module settings" text input
 
  • Спасибо
Реакции: dviraz

dviraz

Новичок
Регистрация
05.12.2012
Сообщения
18
Благодарностей
0
Баллы
1
thanks it capturing the page, but not the whole page as I wished.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
  • Спасибо
Реакции: dviraz

dviraz

Новичок
Регистрация
05.12.2012
Сообщения
18
Благодарностей
0
Баллы
1
I created c# code action before the screenshot and nothing changed, the image that I get is 630X599 and not close to the dimentions I specified.
 
Последнее редактирование:

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
This action will not work in PM.
Change window size works in ZP only
 
  • Спасибо
Реакции: dviraz

dviraz

Новичок
Регистрация
05.12.2012
Сообщения
18
Благодарностей
0
Баллы
1
thanks for your help rostonix now it's working fine.
 

dviraz

Новичок
Регистрация
05.12.2012
Сообщения
18
Благодарностей
0
Баллы
1
1 last question, am I limited by my screen resolution because it's 1440x900 and I want the height of the screencapture to be higher then 900 is it possible?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Should work :-)
test
 

dviraz

Новичок
Регистрация
05.12.2012
Сообщения
18
Благодарностей
0
Баллы
1
tested it again with 2500X2500 resolution and the image resolution is 1419x815
 

dviraz

Новичок
Регистрация
05.12.2012
Сообщения
18
Благодарностей
0
Баллы
1
maybe there's a way to scrool the page down and capture the rest? and stitch them together?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Works fine by my side
 

Вложения

  • 21,9 КБ Просмотры: 327

dviraz

Новичок
Регистрация
05.12.2012
Сообщения
18
Благодарностей
0
Баллы
1
I tried your test file and it did work.

but I tried to change it in my file and something is wrong there, can you check it?
 

Вложения

  • 43,7 КБ Просмотры: 254

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113

dviraz

Новичок
Регистрация
05.12.2012
Сообщения
18
Благодарностей
0
Баллы
1
and you didn't changes anything in zennoposter or projectmaker?

could it be that my version is the problem?

that's what I get
 

Вложения

  • 64,3 КБ Просмотры: 716

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Do you run project in Projectmaker or ZennoPoster?
 

dviraz

Новичок
Регистрация
05.12.2012
Сообщения
18
Благодарностей
0
Баллы
1
in zennoposter lite 5.0.4.1
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
You need to update your version :-)
 

dviraz

Новичок
Регистрация
05.12.2012
Сообщения
18
Благодарностей
0
Баллы
1
For sure that's the problem?
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)