BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 eXtreme Movie Manager (Rel. 7), No More Updates
 Scripts
 Help with editing script

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
tommy152 Posted - 20 Feb 2011 : 21:42:25
Trying to modify the distributor block in the IAFD script since sometimes they display Distributor and sometimes Studio (Distributor).

So far I have

#DISTRIBUTOR#
#STARTREADWEB#
#FINDLINE#=<dt>Distributor</dt>#01##ONERROR#=*ASK*
#IF# #00#<>#01#
#FINDLINE#=<dd>#01# #ONERROR#=*STOP*
#FIND#=.htm">#02# #ONERROR#=*STOP*
#COMPUTECURSOR#=+5
#PUTCURSOR#=#01#
#FIND#=</a>#02# #ONERROR#=*STOP*
#TAKEWORD#=#03#,#01#,#02#
#TAKEDISTRIBUTOR#=#03#
#TAKESTUDIO#=#03#
#GOTO#=ENDDISTRIBUTOR
#ENDIF#

#FINDLINEPREVIOUS#=<dt>Studio (Distributor)</dt>#01##ONERROR#=*ASK*
#FINDLINE#=<dd>#01# #ONERROR#=*STOP*
#FIND#=.htm">#02# #ONERROR#=*STOP*
#COMPUTECURSOR#=+5
#PUTCURSOR#=#01#
#FIND#=</a>#02# #ONERROR#=*STOP*
#TAKEWORD#=#03#,#01#,#02#
#TAKEDISTRIBUTOR#=#03#
#TAKESTUDIO#=#03#
:ENDDISTRIBUTOR
#ENDDISTRIBUTOR#

The first FINDLINE errors out when it can't find Distributor on the page saying it "Can't find the word on #FINDLINE# instruction <dt>Distributor</dt>Line: 386. If it couldn't find it, wouldn't it just write 0 to the variable?
1   L A T E S T    R E P L I E S    (Newest First)
tommy152 Posted - 20 Feb 2011 : 21:53:30
Nevermind...changed the ONERROR to GO and it works. Looks like it throws the error even though it does set the variable.

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