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
 A help
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

washandgo
Junior Member

Spain
257 Posts

Posted - 17 Jan 2015 :  14:40:30  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi, I'm trying to fix the Filmaffinity script, but not how to solve the following



#STARTREADWEB#
#FINDLINE#=<dt>Título original</dt>#03##ONERROR#=*ASK*
#FINDLINE#=<dd>#01##ONERROR#=*ASK*
#FINDLINE#</dd>#02##ONERROR#=*ASK*

#TAKEWORD#=#06#,#01#,#02#
#CHECKVARIABLE#=#06#
#STARTSUBSTITUTETAGS#
#TRIM#
#ORIGINALTITLE#=#06#
#ENDMOVIETITLE#

any ideas?

JDommi
Administrator

Germany
4638 Posts

Posted - 17 Jan 2015 :  17:40:32  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Try this:

#STARTREADWEB#
#FINDLINE#=<dt>Título original</dt>#03##ONERROR#=*ASK*
#FINDLINE#=<dd>#01##ONERROR#=*ASK*
#COMPUTELINE#=+1

#PUT#=1#01#
#PUT#=0#02#
#TAKEWORD#=#06#,#01#,#02#
#CHECKVARIABLE#=#06#
#STARTSUBSTITUTETAGS#
#TRIM#
#ORIGINALTITLE#=#06#
#ENDMOVIETITLE#

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

washandgo
Junior Member

Spain
257 Posts

Posted - 17 Jan 2015 :  20:08:31  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
does not work, not how to read that line no position to find, and variable longuitud .....
Go to Top of Page

JDommi
Administrator

Germany
4638 Posts

Posted - 17 Jan 2015 :  21:11:13  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Did you have checked on which line the code does show the error?
#COMPUTELINE#=1 can be replaced by #READNEXTLINE#

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

washandgo
Junior Member

Spain
257 Posts

Posted - 17 Jan 2015 :  22:01:02  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
the script line by line but still does not read the original title, I tested with # READNEXTLINE #, I went to look for the following line and tried with # READPREVIOUSLINE #, I tried everything "imaginable" and nothing. Within my limitations.
Go to Top of Page

JDommi
Administrator

Germany
4638 Posts

Posted - 17 Jan 2015 :  22:54:22  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Please try this, maybe the í makes problems. Additionally I have added fixed values for the length.


#STARTREADWEB#
#FINDLINE#=tulo original</dt>#03#
#READNEXTLINE#
#READNEXTLINE#
#PUT#=1#01#
#PUT#=255#02#
#TAKEWORD#=#06#,#01#,#02#
#CHECKVARIABLE#=#06#
#TRIM#
#ORIGINALTITLE#=#06#

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

washandgo
Junior Member

Spain
257 Posts

Posted - 18 Jan 2015 :  01:47:27  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
yes sir, is the "í" which gives problems, now works perfectly. This has happened in other fields, and I have not remembered

Thank You

Edited by - washandgo on 18 Jan 2015 01:47:54
Go to Top of Page

JDommi
Administrator

Germany
4638 Posts

Posted - 18 Jan 2015 :  10:11:06  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Great

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
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.12 sec. Powered By: Snitz Forums 2000 Version 3.4.07