BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 eXtreme Movie Manager 8, 9, 10 Forum
 Scripts
 Problems witth #TAKEPOSTERFANART#
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

dagdaesp
Starting Member

Spain
7 Posts

Posted - 04 Sep 2015 :  00:37:05  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I'm doing a new script. I have a problem when I try to use #TAKEPOSTERFANART# and the website has more than 15 images to import . The script is locked.

Can anyone give me a solution?

thank you

JDommi
Administrator

Germany
4656 Posts

Posted - 04 Sep 2015 :  01:07:01  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Do you wanna add all images or only one?
From which website do you wanna grab the pics?
What do you mean with "The script is locked"? Does it stuck in a loop?

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

dagdaesp
Starting Member

Spain
7 Posts

Posted - 04 Sep 2015 :  03:09:52  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
i wanna add all images.
that is not stuck in a loop. that is waiting to add image

the script is done for me. When I finished the script I want to give it to anyone to use it.
i write the code.

#POSTER#

#STARTREADWEB#
#PUT#=19#33#
#PUT#=0#32#
#PUT#=0#14#

:scenasgevivod

#FINDLINE#="sceneThumbnail"#11##ONERROR#=*OK*
#IF# #11#==#00#
#GOTO#=fintheater
#ENDIF#
#FIND#="http://pic.aebn.net/#01##ONERROR#=*OK*
#IF# #01#==#00#
#GOTO#=scenasgevivod
#ENDIF#
#FIND#=g?s#02##ONERROR#=*OK*
#COMPUTECURSOR#=+1
#PUTCURSOR#=#02#
#TAKEWORD#=#16#,#01#,#02#
#TAKEPOSTERFANART#=#16##ONERROR#=*OK*
#PUT#=0#16#
#COMPUTEVAR#=#32#+1
#COMPUTEVAR#=#14#+1
#IF# #32#>>#33#
#GOTO#=fintheater
#ENDIF#
#GOTO#=scenasgevivod


:fintheater


#ENDPOSTER#

this work good but if #PUT#=40#33# the script no finish.
the webpage have 120 pictures.
thank you


Edited by - dagdaesp on 04 Sep 2015 03:37:29
Go to Top of Page

JDommi
Administrator

Germany
4656 Posts

Posted - 04 Sep 2015 :  11:11:04  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
It's difficult to check the code without debugging it.
But if up to 20 pics everything works okay it seems to be a problem of the website. I would try to debug this part of script to find the concrete error line.

some remarks to your code:
The #14# commands are useless as they do nothing in this code.
#PUT#=0#16# is not needed.
#32# changed to #00# as this variable should always be 0 in every script.
changed #COMPUTEVAR# to -1 to use the comparison #IF# #33#==#00# that id used in most scripts.

#POSTER#

#STARTREADWEB#
  #PUT#=20#33#
  #PUT#=0#00#

:scenasgevivod 
  #FINDLINE#="sceneThumbnail"#11##ONERROR#=*STOP*		//does the same as your code
  #FIND#="http://pic.aebn.net/#01##ONERROR#=*STOP*	//does the same as your code
  #FIND#=g?s#02##ONERROR#=*OK*
  #COMPUTECURSOR#=+1		//why this command? it's not needed.
  #PUTCURSOR#=#02#
  #TAKEWORD#=#16#,#01#,#02#
  #TAKEPOSTERFANART#=#16#
  #COMPUTEVAR#=#33#-1
  #IF# #33#==#00#
    #GOTO#=fintheater
  #ENDIF#
  #GOTO#=scenasgevivod 

:fintheater 

#ENDPOSTER#


In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

dagdaesp
Starting Member

Spain
7 Posts

Posted - 04 Sep 2015 :  12:01:26  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
thank you
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.11 sec. Powered By: Snitz Forums 2000 Version 3.4.07