免费视频淫片aa毛片_日韩高清在线亚洲专区vr_日韩大片免费观看视频播放_亚洲欧美国产精品完整版

打開APP
userphoto
未登錄

開通VIP,暢享免費電子書等14項超值服

開通VIP
【轉(zhuǎn)】rlToday+MortScript入門教程
一、認(rèn)識rlToday
rlToday是一個今日插件,但它本身什么也沒有提供,利用它,你卻又能在今日桌面上顯示任何你想要顯示的東西,它實際上應(yīng)該是一個今日插件的平臺。它的使用目標(biāo)是以功能為主,而不是一個單純的桌面美化軟件。它能調(diào)用MortScript,因此它的功能可以得到很大程度的提升,在這個平臺上,只要你能想到,就想辦法去做吧,就怕你想不到。它與其它有類似功能的軟件相比有幾點很大的不同。一是調(diào)用方式不同:安裝完成后,你只要在系統(tǒng)的今日選項卡里鉤選一下就行了,與其他今日插件是同等待遇,不想用了也是去今日選項卡里面取消選擇就行,與其它今日插件一樣,不用的時候只占用很小的內(nèi)存。其他軟件基本上都是以外殼的形式存在的,系統(tǒng)運行以后要調(diào)用,沒有退出以前系統(tǒng)是被這些外殼程序控制的,需要占用比較大的內(nèi)存。二是運行方式不同:比如像spb shell、WAD、PPX一些桌面美化軟件,是一種外殼工具,他把系統(tǒng)本身包裹起來,穿上一件漂亮的外衣,你的美化操作都是針對外殼的,這些外殼有虛擬頁的功能,這些虛擬頁是同時存在的,你可以隨意來往于各個不同的虛擬頁,很方便,但要以犧牲內(nèi)存為代價。rlToday不同的是,它沒有建立虛擬頁,只是將桌面做成了很多不同的表現(xiàn)形式,想用哪一個就調(diào)用那一個,從使用者的角度看,和其他虛擬頁的感覺是一樣的,這正是它的聰明之處,因為只要你的存儲空間允許,它可以設(shè)置任意數(shù)量的桌面表現(xiàn)形式,而不會增加使用內(nèi)存的數(shù)量。三是操作方式不同:rlToday很簡單,程序只有300K,實現(xiàn)復(fù)雜的功能要和MortScript配合使用,它給用戶提供了一個可以編程的機(jī)會,用戶可以發(fā)揮自己的想象力去完成它本身沒有提供的功能,而其他外殼工具往往在這一點上把用戶限制了,正是這一點是rlToday的生命力的所在。
二、軟件的安裝
第一步,安裝rlToday和MortScript
rlToday和MortScript分別是二個CAB文件,拷貝到PPC上運行,不需要進(jìn)行任何設(shè)置,在PPC的Program Files夾下產(chǎn)生MortScript和rlToday二個文件夾。

 

MortScript文件夾可以不去管它,rlToday文件夾下會有一些目錄和文件,每一個目錄都是一頁皮膚文件(注意是一頁),這些目錄和文件會有不同。還有一些后綴為mscr的腳本文件(腳本文件后面會提到,是我們的重點),一個dll文件和一個ini文件,rlToday.ini是他的配置文件,可以用記事本打開來修改。

第二步,配置rlToday
在系統(tǒng)的今日設(shè)置里選擇項目,然后選中rlToday,關(guān)閉其他今日插件。

返回桌面,會出現(xiàn)rlToday.ini里面配置的桌面,如果不是也沒有關(guān)系,操作都是一樣的。
(圖4)

在桌面上插件的顯示區(qū)域內(nèi)常按屏幕,會彈出一個菜單,選擇options進(jìn)入選擇頁面。

在Skin下拉菜單里選擇你需要的皮膚,一般皮膚名稱前部分一樣的時代表同一款皮膚,序號不同代表不同頁面,選哪一個都可以,因為它們是互相調(diào)用的。
Apps選項卡里面可以定義你想要在桌面上顯示的快捷程序,只要Add就可以了。

返回桌面,OK




三、編一個簡單的小插件
先編一個非常常見的小插件,一個模擬時鐘和日歷,

第一步,建立一個目錄,名稱隨便,這里就叫時鐘。
第二步,準(zhǔn)備素材。這里只需要一個鐘面,可以自己畫一個,也可以到網(wǎng)上去搜一下,大把。最好是png格式,因為這樣就可以做成透明的了。在這里用了一個圖片sys.png。放在目錄中
(圖sys.png)

第三步,用記事本建立一個文本文件,名字為skin,后綴必須是XML,然后輸入以下文本內(nèi)容:
<?xml version="1.0" encoding="gb2312"?>
<today height="100" refresh="100">

<AnalogClock timezone="0" x="50" y="2" clockface="sys.png" />
<Date x="170" y="4" format="yyyy MMM" Alignment="Center" color="RGB(215, 215, 215)">

<Font size="12" weight="normal" font="Tahoma" />

</Date>

<Date x="170" y="20" format="d" Alignment="Center" color="RGB(255, 255, 255)">

<Font size="24" weight="normal" font="Tahoma" />

</Date>

<Date x="170" y="50" format="ddd" Alignment="Center" color="RGB(230, 230, 230)">

<Font size="12" weight="normal" font="Tahoma" />

</Date>
</today>

其中,第一行不用管它,照寫就行。第二行,today height="100"代表你要做的插件在今日屏幕上需要占用的高度為100個像素。第三行,定義了一個時鐘,這是rlToday內(nèi)部提供的,timezone="0"是時區(qū),在rlToday設(shè)置里有一個Time選項,把除China以外的都去掉,這個參數(shù)就不用動了。X和y分別代表屏幕坐標(biāo),表示你要將時鐘圖片放在那里,clockface="sys.png"是表示你要用的鐘面的圖片。第四行到第十二行定義了一個日歷,可以定義的有格式、位置、顏色、字體、字體大小等項目。
第四步,寫完以后存盤,然后將整個目錄拷貝到PPC你安裝rlToday的目錄下,按照軟件安裝節(jié)里的第二步操作,選取你剛做好的時鐘作為皮膚。

欣賞一下你自己的大作吧,千好萬好不如自己的好。
四、增加功能
1、直接調(diào)用定義好的應(yīng)用程序
剛才做的插件只能顯示一個時鐘和日歷,沒有任何動作,現(xiàn)在加上一些命令,讓他能夠做一些簡單動作。

<Date x="170" y="4" format="yyyy MMM" Alignment="Center" color="RGB(215, 215, 215)">


<Font size="9" weight="normal" font="Tahoma" />


<OnClick File="\Windows\Calendar.exe" />


</Date>

我們在原來顯示年月的語句里加了一條命令<OnClick File="\Windows\Calendar.exe" />,它的含義是在屏幕上點擊顯示出來的年月的位置,會觸發(fā)一條命令,去執(zhí)行Windows目錄下的Calendar.exe文件,這是系統(tǒng)自帶的日歷。保存好,點擊屏幕出現(xiàn)彈出菜單,這次選擇Reload Skin,它會重新裝入皮膚文件,然后點一下屏幕上顯示年月的地方,看看發(fā)生了什么。
這時最直接的程序調(diào)用,你可以用文字、圖片來作為點擊的目標(biāo),實現(xiàn)程序調(diào)用。
這是用圖片作為點擊目標(biāo)的語句:

<Image x="0" y="101" source="1.png">


<OnClick File="\Windows\fexplore.exe" />


</Image>



<Image x="40" y="101" source="1.png">


<OnClick File="\Program Files\WM5torage\WM5torage.exe" />


</Image>

二個按鈕圖片分別調(diào)用Windows目錄下的資源管理器和Program Files夾下的U盤程序。

這是用圖片作為點擊目標(biāo)的語句:

<Text text="手機(jī)短信" x="24" y="20" alignment="Center" color="RGB(185, 185, 185)" >


<Font size="12" weight="bold" font="Tahoma" />


<OnClick File="\Windows\tmail.exe" />


</Text>

2、在桌面顯示快捷程序圖標(biāo)
剛才的調(diào)用是固定的,當(dāng)程序運行以后是不能改變的,rlToday提供了可以自定義桌面快捷程序的能力,在設(shè)置里可以自由添加和刪除,如果要顯示出這一部分快捷方式,就要加上以下語句:

<Application x="5" y="70" appnumber="0" />


<Application x="45" y="70" appnumber="1" />


<Application x="85" y="70" appnumber="2" />


<Application x="125" y="70" appnumber="3" />


<Application x="165" y="70" appnumber="4" />


<Application x="205" y="70" appnumber="5" />

這里定義了五個快捷方式,也就是說做多能顯示五個,你可以加上更多的語句,顯示更多的快捷方式,語句后面的序號一定不要重復(fù)。
3、頁面調(diào)用
PPC的桌面很小,而我們想要顯示的東西很多,都擠在一起不僅難看也不方便,于是出現(xiàn)了虛擬桌面,rlToday沒有使用虛擬桌面,而是采用了調(diào)用一個全新的頁面來顯示不同的內(nèi)容,需要的時候就調(diào)用,而不是切換。好處就是節(jié)省內(nèi)存。下面是一段調(diào)用新頁面的語句:

<Image x="0" y="1" source="1.png">


<OnClick File="\Program Files\MortScript\MortScript.exe" command='"\Program Files\rlToday\ChangeVista.mscr" "skin=H0"'/>


</Image>

這是通過點擊圖片來進(jìn)行調(diào)用的,但是在OnClick語句中,并不是上一節(jié)里面介紹的直接調(diào)用皮膚文件,而是通過MortScript.exe文件執(zhí)行了一條命令,它有二個參數(shù),第一個是腳本文件的路徑和名稱,第二個是"skin=H0",這是通過調(diào)用一個叫做ChangeVista.mscr的腳本文件去打開一個皮膚文件,我們看一下ChangeVista.mscr文件中有什么內(nèi)容,
installdir=RegRead("HKLM", "\SOFTWARE\Apps\rotlaus Software rlToday\", "InstallDir")
inifile=installdir\"rlToday.ini"
Switch(skin)

Case("H0")


IniWrite(inifile, "General", "Skinfile", "Vista_H0")


Case("H1")


IniWrite(inifile, "General", "Skinfile", "Vista_H1")


Case("H2")


IniWrite(inifile, "General", "Skinfile", "Vista_H2")


Case("H3")


IniWrite(inifile, "General", "Skinfile", "Vista_H3")


Case("H4")


IniWrite(inifile, "General", "Skinfile", "Vista_H4")


Case("H5")


IniWrite(inifile, "General", "Skinfile", "Vista_H5")


Case("H6")


IniWrite(inifile, "General", "Skinfile", "Vista_H6")


Case("H7")


IniWrite(inifile, "General", "Skinfile", "Vista_H7")

EndSwitch
RedrawToday
腳本首先通過讀取注冊表獲得rlToday的安裝路徑,調(diào)用配置文件,然后是一組Case語句,用來選擇需要調(diào)用的皮膚文件,每個皮膚文件都是和一個相應(yīng)的目錄對應(yīng)的。你可以隨意改動文件夾的名稱,只要在這個文件里做相應(yīng)改動就行,而不用去逐個修改皮膚文件。
如果做一排按鍵,分別調(diào)用不同的頁面,它的程序是這樣的:

<Image x="0" y="1" source="1.png">


<OnClick File="\Program Files\MortScript\MortScript.exe" command='"\Program Files\rlToday\ChangeVista.mscr" "skin=H0"'/>


</Image>



<Image x="40" y="1" source="1.png">


<OnClick File="\Program Files\MortScript\MortScript.exe" command='"\Program Files\rlToday\ChangeVista.mscr" "skin=H1"'/>


</Image>



<Image x="80" y="1" source="1.png">


<OnClick File="\Program Files\MortScript\MortScript.exe" command='"\Program Files\rlToday\ChangeVista.mscr" "skin=H2"'/>


</Image>



<Image x="120" y="1" source="1.png">


<OnClick File="\Program Files\MortScript\MortScript.exe" command='"\Program Files\rlToday\ChangeVista.mscr" "skin=H3"'/>


</Image>



<Image x="160" y="1" source="1.png">



<OnClick File="\Program Files\MortScript\MortScript.exe" command='"\Program Files\rlToday\ChangeVista.mscr" "skin=H4"'/>


</Image>



<Image x="200" y="1" source="1.png">


<OnClick File="\Program Files\MortScript\MortScript.exe" command='"\Program Files\rlToday\ChangeVista.mscr" "skin=H5"'/>


</Image>


4、管理其他插件
桌面應(yīng)用最重要的應(yīng)該是能夠?qū)Σ寮M(jìn)行管理,做不到這一點,桌面很難清爽的了,rlToday是通過對注冊表的操作來實現(xiàn)管理的。在剛才調(diào)用頁面的程序的基礎(chǔ)上,增加了二條語句:

<Image x="40" y="1" source="1.png">


<OnClick File="\Program Files\MortScript\MortScript.exe" command='"\Program Files\rlToday\Set4.mscr" "V=0"'/>


<OnClick File="\Program Files\MortScript\MortScript.exe" command='"\Program Files\rlToday\Set3.mscr" "V=1"'/>


<OnClick File="\Program Files\MortScript\MortScript.exe" command='"\Program Files\rlToday\ChangeVista.mscr" "skin=H1"'/>


</Image>

可以看得出來,增加的語句結(jié)構(gòu)與剛才的一樣,只不過調(diào)用的腳本文件不同而已,秘密還是在腳本文件里,我們看一下Set4.mscrSet3.mscr這二個文件的內(nèi)容:
Set4.mscr文件中只有一行語句
RegWriteDWord("HKLM","SOFTWARE\Microsoft\Today\Items\""Spb Diary""\","Enabled",V )
這是對注冊表的寫操作,這是路徑:SOFTWARE\Microsoft\Today\Items\""Spb Diary""\,這是鍵值:Enabled,這是參數(shù):VV=1是激活插件,否則反之。
上面的調(diào)用語句中V=0,就是要關(guān)閉這個插件,通過路徑我們可以看出這個插件是"Spb Diary"。
Set3.mscr文件中有二條語句,
RegWriteDWord("HKLM","SOFTWARE\Microsoft\Today\Items\""Spb Weather""\","Enabled",V )
RegWriteDWord("HKLM","SOFTWARE\Microsoft\Today\Items\""GPRS Monitor""\","Enabled",V )
看得出來分別是"Spb Weather""GPRS Monitor"二個插件,在上面的調(diào)用語句中給這個腳本文件的參數(shù)是V=1,也就是說要激活"Spb Weather""GPRS Monitor"這二個插件。當(dāng)按下這個按鈕就是要關(guān)閉"Spb Diary"這個插件,同時激活"Spb Weather""GPRS Monitor"二個插件,然后調(diào)用一個新的皮膚文件。
這時執(zhí)行以后的屏幕狀態(tài):

要想了解已經(jīng)安裝的今日插件,只要看一下今日的設(shè)置就行了。

但是有一點需要注意,插件的名稱有的帶引號,有的不帶,不要弄錯了,這一點在今日設(shè)置里看不出來,可以通過SKTools軟件查詢一下:

注意在這里可以看出"GPRS Monitor"是帶引號的。
5、最小化
在很多情況下,我們只想讓桌面干干凈凈,除了其他插件要隱藏以外,rlToday自己也要最小化,要實現(xiàn)這一點非常容易,只要將插件高度定義的小一些就行了。
<today height="15" refresh="1000">
這個插件的高度只有15個像素。

6、隱藏
如果把插件的高度定義的更小一些是否可以隱藏呢,當(dāng)然可以,不過隱藏的同時也會給你帶來更多的麻煩,因為你再也找不著這個插件了,實現(xiàn)隱藏,當(dāng)然還要讓它能夠隨時調(diào)回來,我是用另外的方法實現(xiàn)的。
<?xml
version="1.0"
encoding="gb2312"?>

<today height="245" refresh="100">


<Image x="0" y="0" source="H5.png">


<OnClick File="\Program Files\MortScript\MortScript.exe" command='"\Program Files\rlToday\ChangeVista.mscr" "skin=H0"'/>


</Image>


</today>
H5.png是一張全屏幕尺寸的空白透明的圖片,將插件的尺寸定到全屏,因為是透明圖片,運行后桌面完全看不到插件,但是點擊屏幕任何地方都能將插件重新找回來。





五、使用MortScript經(jīng)常會用到的命令與操作:

字符串操作
-----------------
string = Split( <string>,<seperator>,<trim?>,<variable>{,<variable>} ) (if only one variable, it's used as array)
string = Part( <string>,<seperator>,<index>[,<trim?>] )
int= Length( <string> )
string = SubStr( <string>,<start>,<length> )
int= Find( <string>,<search string> )
string = Replace( <string>,<search string>,<new string> )
int= ReverseFind( <string>,<search character> )
string = ToUpper( <string> )
string = ToLower( <string> )

程序運行
---------
Run( <application> [, <parameter>] )
RunWait( <application> [, <parameter>] )
New( <menu entry> ) (Windows Mobile only)

RunAt( <unix timestamp>, <application> [, <parameter>] )
RunAt( <year>, <month>, <day>, <hour>, <minute>, <application> [, <parameter>] )
RunOnPowerOn( <application> [, <parameter>] )
RemoveNotifications( <application> [, <parameter>] )

窗口控制
--------------
Show( <window title> )
Minimize( <window title> )
Close( <window title> )
string = ActiveWindow()
bool= WndActive( <window title> )
bool= WndExists( <window title> )
WaitFor( <window title>,<seconds> )
WaitForActive( <window title>,<seconds> )
string = WindowText( <x>, <y> )
GetWindowPos( <window title>, <left>, <top>, <right>, <bottom> )
int= WndLeft( <window title> )
int= WndRight( <window title> )
int= WndTop( <window title> )
int= WndBottom( <window title> )
SendSpecial( <key> [, <state> )

Available keys (quoted string): Alt, Ctrl, Shift, CR, Win, Context, Tab, ESC, Space,


Up, Down, Left, Right, Home, End, PageUp, PageDown, Delete, Backspace, Insert, Snapshot,


F1 - F12, LeftSoft, RightSoft


Availabe states (quoted string): up, down - omit parameter for short press

SendOK [ ( <window title> ) ]
SendCancel [ ( <window title> ) ]
SendYes [ ( <window title> ) ]
SendNo [ ( <window title> ) ]

鼠標(biāo)事件
-----------------------------
MouseClick( [<window title>,]<x>,<y> )
MouseDblClick( [<window title>,]<x>,<y> )
MouseDown( [<window title>,]<x>,<y> )
MouseUp( [<window title>,]<x>,<y> )


延時
-------
Sleep( <milliseconds> )
SleepMessage( <seconds>,<message>[,<title>[,<allowOK>[,<condition]]] )
WaitFor( <window title>,<seconds> )
WaitForActive( <window title>,<seconds> )

時間
----
int= Time()
(Unix timestamp)

string = FormatTime( <format> [, <timestamp> ] ) (formatted)
GetTime( <variable>,<variable>,<variable> ) (hour, minute, seconds)
GetTime( <variable>,<variable>,<variable>,<variable>,<variable>,<variable> )

(hour, minute, seconds, day, month, year)


文件操作
--------------------------------
Copy( <source file>,<target file>[,<overwrite?>] )
XCopy( <source files>,<target directory>[,<overwrite?>[,<recursive?>]] )
Rename( <source file>,<target file>[,<overwrite?>] )
Move( <source files>,<target directory>[,<overwrite?>[,<recursive?>]] )
Delete( <files> )
DelTree( <files> )
CreateShortcut( <shortcut file>,<target file>[,<overwrite?>] )

讀寫文本文件
-------------------------
string = IniRead( <file/url>,<section>,<key> )
IniWrite( <file>,<section>,<key>,<value> )
string = ReadFile( <file/url> )
WriteFile( <file>,<contents>,<append?> )

文件系統(tǒng)信息
------------------------
bool= FileExists( <file> )
bool= DirExists( <directory> )
int= FileCreateTime( <file> )
int= FileModifyTime( <file> )
int= FileSize( <file> )
int= FreeDiskSpace( <directory> )
bool= FileAttribute( <file>, <attribute> )
bool= SetFileAttribute( <file>, <attribute>, <set?> )

Allowed values for Attribute?


directory (cannot be set), hidden, readonly, system, archive

SetFileAttribs( <file>,<readonly>[,<hidden>[,<archive>]] ) (1=set,0=remove,""/omit=keep)
string = FileVersion( <file> )
GetVersion( <file>,<variable>,<variable>,<variable>,<variable> )


目錄操作
--------------------
MkDir( <directory> )
RmDir( <directory> )
ChDir( <directory> ) PC version only!
SystemPath( <path> )

valid values for path: ProgramsMenu, StartMenu, Startup, Documents, ProgramFiles,


ScriptExe, ScriptPath, ScriptName, ScriptExt


注冊表操作
--------
RegWriteString( <root>,<path>,<key>,<value> )
RegWriteDWord(
<root>,<path>,<key>,<value> )

RegWriteBinary( <root>,<path>,<key>,<value> )
value = RegRead( <root>,<path>,<key> )
RegDelete( <root>,<path>,<key> )
RegDeleteKey( <root>,<path>,<values?>,<recursive?> )
bool= RegKeyExists( <root>,<path> )
bool= RegValueExists( <root>,<path>,<value> )

"root" values: HKCU (HKEY_CURRENT_USER), HKLM (HKEY_LOCAL_MACHINE),

HKCR (HKEY_CLASSES_ROOT), HKUS (HKEY_USERS)


Binary values are handled as strings whith the hex dump, e.g. "01020A".

對話框
------
string = Input( <message> [,<title> [,<numeric?> [, <multiline?> [, <default> ]]]] )
Message( <text>[,<title>] )
BigMessage( <text>[,<title>] )
SleepMessage( <seconds>,<message>[,<title>[,<allowOK>[,<condition]]] )
int= Question( <message> [,<title> [,<type>]] )
(Type=OkCancel,YesNo,YesNoCancel; Yes/OK=1,No=0,Cancel=2)

int= Choice( <title>,<message>,<default>,<timeout>,<array> ) (if only one text is given, it's assumed to be a array variable)
int= Choice( <title>,<message>,<default>,<timeout>,<text1>,<text2>{,<text3>} ) (if only one text is given, it's assumed to be a array variable)
string = SelectDirectory( <title>, <message> [,<default>] )
string = SelectFile( <title>, <save?> [, <filter> [, <info> [,<default>]]] )

進(jìn)程管理
---------
bool= ProcExists( <process name> )
bool= ScriptProcExists( <script name> )
string = ActiveProcess()
Kill( <process name> )
KillScript( <script name> )

信號
-------
SetVolume( <value> )
(Windows Mobile only)

PlaySound( <wav file> )
Vibrate( <milliseconds> )

屏幕顯示
--------------
int= ColorAt( <x>,<y> )
int= RGB( <red>,<green>,<blue> )
int= Red( <color> )
int= Green( <color> )
int= Blue( <color> )
Rotate( 0|90|180|270 ) (only Windows Mobile 2003 SE or higher)
SetBacklight( <battery>,<external> ) (PPC only)
ToggleDisplay( <on/off> ) (PPC only)
bool= Screen( "landscape"|"portrait"|"square"|"vga"|"qvga" )
RedrawToday
ShowWaitCursor
HideWaitCursor

剪貼板
---------
SetClipText( <text> )
string = GetClipText()

內(nèi)存
------
int= FreeMemory()
int= TotalMemory()

電力
------
bool= ExternalPowered()
int= BatteryPercentage()
PowerOff
IdleTimerReset (Windows Mobile only)

系統(tǒng)
------
MortScriptType()
value = SystemVersion( [<element>] )

element: "major", "minor", "build", "platform", omit for major.minor.build

Reset (Windows Mobile only)

程序流程的控制結(jié)構(gòu)
==================
If ( <condition> )
{ ElseIf ( <condition> ) }
[ Else ]
EndIf


Choice ( <title>,<message>,<text1>[,<text2>,...] )

| ChoiceDefault ( <title>,<message>,<default>,<timeout>,<text1>,[<text2>,...] )
Case ( <index>[,<index>,...] )
EndChoice
(if only one text is given, it's assumed to be a array variable)

Switch ( <value> )
Case ( <index>[,<index>,...] )
EndSwitch

While ( <condition> )
EndWhile

Repeat ( <count> )
EndRepeat


ForEach <variable> in values ( <value>{,<value>} )

| ForEach <variable>[,<variable>] in array ( <array variable> )
| ForEach <variable> in split ( <string>,<seperator>,<trim?> )
| ForEach <variable> in charsOf ( <string>,<seperator> )
| ForEach <variable> in iniSections ( <file/url> )
| ForEach <keyVariable>,<valueVariable> in iniKeys ( <file/url>,<section> )
| ForEach <variable> in regSubkeys ( <root>, <key> )
| ForEach <valueVariable>,<dataVariable> in regValues ( <root>,<key> )
| ForEach <variable> in files ( <file/url>,<files> )
| ForEach <variable> in directories ( <file/url>,<directories> )
EndForEach

Call( <subroutine> { , <parameter> } )
CallFunction( <subroutine>, <result variable>, { , <parameter> } )
(mind to use quotes for the subroutine name, e.g. "Call ("MySubRoutine")"
or use the old syntax without parentheses, like "Call MySubRoutine").

CallScript( <mortscript file (full path!)> { , <parameter> } )
CallScriptFunction( <mortscript file>, <result variable>, { , <parameter> } )

Return( <value> ) (only sets result for Call(Script)Function, does not leave Sub/Script!)

Sub <subroutine>
EndSub

Exit
本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊舉報。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
Android dex加密與解密原理及其代碼實現(xiàn)
Available Resource Types | Android Developers
小紅帽‘S BLOG—個人收藏夾、網(wǎng)文搜集、java學(xué)習(xí)、Linux技術(shù) | 用java對屏幕拷屏
一鍵切換1X和EVDO(借助MortScript 自動腳本) - Diamond(6950...
PPC備份恢復(fù)教程
file0001.png (706×546)
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號成功
后續(xù)可登錄賬號暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點擊這里聯(lián)系客服!

聯(lián)系客服