BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 eXtreme Movie Manager 8, 9, 10 Forum
 Scripts
 Problems witth #TAKELANGUAGE#

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
dagdaesp Posted - 04 Sep 2015 : 00:50:29
The problem is : the movie has two languages,using the script only lets add one language.

thank you

4   L A T E S T    R E P L I E S    (Newest First)
dagdaesp Posted - 04 Sep 2015 : 11:50:38
thank you by you answer.
JDommi Posted - 04 Sep 2015 : 11:22:37
The command #TAKELANGUAGE# takes really only one string and doesn't add a second one. So you have to do it your own.
Try to use #STRING#=#30#=#30# #06# instead of #STRING#=#30#=#06# and put the #TAKELANGUAGE#=#30# at the end of the loop. That should do the job.
dagdaesp Posted - 04 Sep 2015 : 03:26:22
the script is done for me. When I finished the script I want to give it to anyone to use it.
i write code.

#LANGUAGE#

#STRING#=#30#=
#STARTREADWEB#
#FINDLINE#=>language<#11##ONERROR#=*OK*
#IF# #11#==#00#
#GOTO#=SALTARLANGUAJE
#ENDIF#
#READNEXTLINE#
#FIND#=>#01##ONERROR#=*OK*
#FIND#=<br#02##ONERROR#=*OK*
#IF# #02#<>#00#
#RESETCURSOR#
#PUT#=1#04#
#GOTO#=MASIDIOMAS
#ENDIF#
#RESETCURSOR#
#FIND#=</td#02##ONERROR#=*ASK*
#TAKEWORD#=#06#,#01#,#02#
#CHECKVARIABLE#=#06#
#STARTDELETETAGS#
#CHECKVARIABLE#=#06#
#STARTSUBSTITUTETAGS#
#STRING#=#30#=#06#
#TAKELANGUAGE#=#30#
#GOTO#=SALTARLANGUAJE

:MASIDIOMAS

#FIND#=>#01##ONERROR#=*ASK*
#FIND#=<br#02##ONERROR#=*OK*
#IF# #02#==#00#
#FIND#=</td#02##ONERROR#=*ASK*
#PUT#=0#04#
#ENDIF#
#TAKEWORD#=#06#,#01#,#02#
#CHECKVARIABLE#=#06#
#STARTDELETETAGS#
#CHECKVARIABLE#=#06#
#STARTSUBSTITUTETAGS#
#STRING#=#30#=#06#
#TAKELANGUAGE#=#30#
#IF# #04#==#00#
#GOTO#=SALTARLANGUAJE
#ENDIF#
#GOTO#=MASIDIOMAS

:SALTARLANGUAJE
#PUT#=0#00#
#ENDLANGUAGE#

The language one is english the other is czech and the field always takes the last language.

the same code but with the country here work fine. i can put two or more countrys.

#COUNTRY#
#STARTREADWEB#
#FINDLINE#=>Location<#11##ONERROR#=*OK*
#IF# #11#==#00#
#GOTO#=SALTARPAIS
#ENDIF#
#READNEXTLINE#
#FIND#=>#02##ONERROR#=*ASK*
#FIND#=<#03##ONERROR#=*ASK*
#TAKEWORD#=#25#,#02#,#03#
#FIND#=<br#02##ONERROR#=*OK*
#IF# #02#==#00#
#CHECKVARIABLE#=#25#
#STARTSUBSTITUTETAGS#
#STARTDELETETAGS#
#TAKECOUNTRY#=#25#
#GOTO#=SALTARPAIS
#ENDIF#
#TAKECOUNTRY#=#25#
:maspaises
#FIND#=>#02##ONERROR#=*OK*
#FIND#=<#03##ONERROR#=*OK*
#IF# #03#==#00#
#GOTO#=SALTARPAIS
#ENDIF#
#TAKEWORD#=#25#,#02#,#03#
#CHECKVARIABLE#=#25#
#STARTSUBSTITUTETAGS#
#STARTDELETETAGS#
#TAKECOUNTRY#=#25#
#GOTO#=maspaises
:SALTARPAIS
#PUT#=0#00#
#ENDCOUNTRY#

thank you

JDommi Posted - 04 Sep 2015 : 01:04:36
Well, which script... which movie...

BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.08 sec. Powered By: Snitz Forums 2000 Version 3.4.07