51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2901|回复: 1
打印 上一主题 下一主题

[Robot] 有好的脚本编辑器可用吗

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2004-12-23 13:23:57 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
robot只支持语法加亮和注释、去注释。我还想有以下功能:

1. 格式重排
2. 代码缩进和去缩进
3. 代码自动完成


另外,robot是否支持宏或插件?
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏

该用户从未签到

2#
 楼主| 发表于 2004-12-23 15:50:56 | 只看该作者

可以用UltraEdit来代替

UltraEdit使用的语法分析文件我附在后面,是我自己写的,可能有误。
另外求如何从UE中调用Robot来执行编译和运行。

听说TextPad比较好用,大家用过吗?

/L10"SQABasic" Line Comment = ' Escape Char = _ String Chars = "' File Extensions = SBL SBH REC
/Delimiters = ~!@%^&*()-+=|\/{}[]:;"'<> ,        .?
/Function String = "%*^{Sub^}^{Function^}*("
/Indent Strings = "Sub" "Function" "Do" "While" "If" ":" "For" "Then"
/Unindent Strings = "End" "Next" "Loop" "Wend"
/C1"Keywords"
'$Include
AND
Any
Array
As
Call
CallScript
Case
Const
Currency       
Dim
Double               
Else
ElseIf
End
Err
Error
For
Function
Global
GoTo
If
Integer               
Let
Like
Long               
Loop
New
Next
Not
Nothing
Null
OR
Object               
On
Option Compare
Optional
ReDim
Rem
Select
Set
Single               
Static
Step
String
Sub
Then
To
Until
Variant
Wend
While
XOR
/C2"Base Function"
Abs
AnimateControl
AppActivate
Asc
Assert
Atn
Beep
Dialog
End
Browser
Button
ButtonGroup
Calendar
CancelButton
Caption
CCur
CDbl
ChDir
ChDrive
CheckBox
Chr
CInt
Class List
Clipboard
CLng
Close
ComboBox
ComboEditBox
ComboListBox
Cos
CreateObject
CSng
CStr
CurDir
CVar
CVDate
DataWindow
Date
DateSerial
DateTime
DateValue
Day
DDEExecute
DDEInitiate
DDEPoke
DDERequest
DDETerminate
Declare
Deftype
DelayFor
Dialog
Variant
Dir
DlgControlID
DlgEnable
DlgEnd
DlgFocus
DlgListBoxArray
DlgSetPicture
DlgText
DlgValue
DlgVisible
DoEvents
DropComboBox
DropListBox
EditBox
EndSaveWindowPositions
Environ
Eof
Erase
Erl
Exp
FileAttr
FileCopy
FileDateTime
FileLen
Fix
Format
FreeFile
FV
GenericObject
Get
GetAttr
GetField
GetLastVPResult
GetObject
GroupBox
Header
Hex
HotKeyControl
Hour
HTML
HTMLActiveX
HTMLDocument
HTMLHidden
HTMLImage
HTMLLink
HTMLTable
Input
InbutBox
InputChars
InputKeys
InStr
Int
IPAddress
IPmt
IRR
Is
IsDate
IsEmpty
IsMissing
IsNull
IsNumeric
JavaCanvas
JavaListView
JavaMenu
JavaObject
JavaPanel
JavaPopupMenu
JavaSplitPane
JavaSplitter
JavaTable
JavaTableHeader
JavaTree
JavaWindow
Kill
Label
LBound
LCase
Left
Len
Line Input
ListBox
ListView
Loc
Lock
Lof
Log
Lset
LTrim
MenuIDSelect
MenuSelect
Mid
Minute
MkDir
Month
MsgBox
Name
Now
NPV
Object
Class
Oct
OKButton
Open
Base
Compare
Explicit
OptionButton
OptionGroup
Pager
PasswordBox
Picture
PlayJrnl
Pmt
PopupMenuIDSelect
PopupMenuSelect
PPmt
Print
Private
ProgressBar
PSCalendar
PSGrid
PSGridHeader
PSMenu
PSNavigator
PSPanel
PSSpin
PSTree
PSTreeHeader
PushButton
Put
PV
RadioButton
Randomize
Rate
Rebar
Rem
Reset
ResetTime
Resume
RichEdit
Right
RmDir
Rnd
Rset
RTrim
ScrollBar
Second
Seek
Select Case
SendKeys
Set
SetAttr
SetField
SetProcID
SetThinkAvg
SetTime
Sgn
Shell
Sin
Space
Spc
SpinControl
Sqr
StartApplication
StartAppUnderCoverage
StartAppUnderNone
StartAppUnderPnC
StartAppUnderPurify
StartAppUnderQuantify
StartBrowser
StartJavaApplication
StartSaveWindowPositions
StartTimer
StaticComboBox
StatusBar
Stop
StopTimer
Str
StrComp
SysMenuIDSelect
SysMenuSelect
Tab
TabControl
Tan
Text
TextBox
Time
Timer
TimeSerial
TimeValue
Toolbar
Trackbar
TreeView
Trim
Type
Typeof
TypingDelays
UBound
UCase
Unlock
Val
VarType
Weekday
Width
Window
With
Write
Year
/C3"SQABasic Keywords"
SQAConsoleClear
SQAConsoleWrite
SQADatapoolClose
SQADatapoolFetch
SQADatapoolOpen
SQADatapoolRewind
SQADatapoolValue
SQAEnvCreateBaseline
SQAEnvCreateCurrent
SQAEnvCreateDelta
SQAFindObject
SQAGetCaptionTerminatorChar
SQAGetChildren
SQAGetDir
SQAGetLogDir
SQAGetOcrRegionRect
SQAGetOcrRegionText
SQAGetProperty
SQAGetPropertyArray
SQAGetPropertyArrayAsString
SQAGetPropertyArraySize
SQAGetPropertyAsString
SQAGetPropertyNames
SQAGetSystemLong
SQAInvokeMethod
SQALogMessage
SQAQueryKey
SQAResumeLogOutput
SQAScriptCmdFailure
SQASetAssignmentChar
SQASetCaptionTerminatorChar
SQASetDefaultBrowser
SQASetProperty
SQASetSeparatorChar
SQAShellExecute
SQASuspendLogOutput
SQASyncPointWait
SQAVpGetActualFileName
SQAVpGetBaselineFileName
SQAVpGetCurrentBaselineFileName
SQAVpLog
SQAWaitForObject
SQAWaitForPropertyValue
/C4"SQL Keywords"
SQLClose
SQLError
SQLExecQuery
SQLGetSchema
SQLOpen
SQLRequest
SQLRetrieve
SQLRetrieveToFile
/C5"VP Keywords"
AnimateControlVP
CalendarVP
CheckBoxVP
ClipboardVP
ComboBoxVP
ComboEditBoxVP
ComboListBoxVP
DataWindowVP
DateTimeVP
EditBoxVP
FileVP
GenericObjectVP
GroupBoxVP
HeaderVP
HotKeyControlVP
HTMLVP
HTMLActiveXVP
HTMLDocumentVP
HTMLHiddenVP
HTMLImageVP
HTMLLinkVP
HTMLTableVP
IPAddressVP
JavaCanvasVP
JavaListViewVP
JavaMenuVP
JavaObjectVP
JavaPanelVP
JavaPopupMenuVP
JavaSplitPaneVP
JavaSplitterVP
JavaTableVP
JavaTableHeaderVP
JavaTreeVP
JavaWindowVP
LabelVP
ListBoxVP
ListViewVP
ModuleVP
PagerVP
ProgressBarVP
PSCalendarVP
PSGridHeaderVP
PSGridVP
PSNavigatorVP
PSPanelVP
PSSpinVP
PSTreeHeaderVP
PSTreeVP
PushButtonVP
PSMenuVP
RadioButtonVP
RebarVP
RegionVP
RichEditVP
ScrollBarVP
SpinControlVP
StatusVarVP
TabControlVP
ToolbarVP
TrackbarVP
TreeViewVP
WebSiteVP
WindowVP
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-11 03:43 , Processed in 0.070534 second(s), 28 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表