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
 Suggestions / New Features
 Questions and help on coding scripts

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
coffeetogo Posted - 29 Oct 2017 : 07:49:34
Hi,

Hope this is the right part of the forum for this.

Just learning how to write scripts and need some detailed help.

1. How does the "§" work. Have found examples of use but nothing detailed. Would like to understand what it does in detail.

2. The code "#WRITETITLELIST#=http://www.somewebsiteorother.com#05# ---> #04# §#09#"
How does the " ---> #04# §#09#" bit work? confused by the ---> and the §.

3. Is there an official way to comment in a script. Using the debugging program "-" works outside of a tag. "//" seems to grey-out script inside a tag but then the line seems to still get processed in the debugger but not in XMM.

4. TABS. I've come across a line of HTML that contains the actor name on a single line with tabs.

HTML line looks like "[TAB][TAB][TAB][TAB][TAB][TAB]Name of actor¶"

Grabbing the whole line and using #TRIM# gets rid of the TABS but "#DELETEWORD#=\t [+ number of TABS needed]", "#DELETEWORD#=[TAB] [+ number of TABS needed]", #SUBSTITUTEWORD#=\t [+ number of TABS needed]=[space] seems to have no effect.

Is there a way of dealing with tabs other than with trim?



Many thanks in advance for your time.


Denis
2   L A T E S T    R E P L I E S    (Newest First)
coffeetogo Posted - 29 Oct 2017 : 08:52:34
Re-posted this in the scripts forum have replied there.
JDommi Posted - 29 Oct 2017 : 08:16:33
Quick answers as I have to go to work now...

1. This § is relative new, maybe because of this you haven't found any info. This is the address of the cover picture shown in the title list.

2. ---> and § are only markers for the MagicScript interpreter.
#WRITETITLELIST#=WebAdress ---> Title §CoverPic

3. Every line is shown in the MagicScript Editor/Debugger but only correct commands are really executed.
Let's say you write #DONTGOTO#=:ERROR will be shown during debugging but as #DONTGOTO# is no valid command this line will be skipped from executing.

4. Good question! Already tried to do a #FIND# on that? Of course you manually have to iterate through these lines to grab the single info parts.
Keep in mind that #CHECKVARIABLE# containing #TRIM#, etc. XMM behaves in the same order as in written in the script.

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