清单3所示的窗口文本代码在清单2的基础上添加了一个ARIA“活动”标记。
Listing 3 shows the window text code from Listing 2 with an added ARIA "live" tag.
设置代码窗口中的文本。
LiveRun会获得当前文本窗口中的所有代码,将其编译到一个临时目录中,然后运行它。
LiveRun will will pick up all the code in the current text window, compile it to a temporary location, then run it.
接下来,使用find方法代替上面的代码,利用对话框中该窗口的标签文本来定位PlaceanOrder对话框。
Next, instead of the above code, use the find method to locate the Place an Order dialog by using the label text for that window in the dialog.
此文件由40行代码(包括注释)组成,其作用是在窗口的中间显示文本Hello World。
that consists of 40 lines of code, including comments, to display the text Hello World in the middle of the window.
清单5中的代码获得显示方式,随机选择一个方式进行更改,然后显示一个带有文本“Hello,World !”的全屏幕窗口。
The code in Listing 5 gets the display modes, picks one at random to change to, then displays a fullscreen window with the text "Hello, World!"
一个可以使文字象波浪一样在窗口滚动的代码,可以调节滚动的速度,也可以改变要滚动的文本,很有意思。
One can make waves in the same language as the code window rolling, rolling regulating the speed, can also be changed to a rolling text, very interesting.
“查找替换”窗口可用于在文档的代码中搜索文本字符串、表达式或实体名称。
Find and Replace window to search for text strings, expressions, or entity names within the code of your documents.
“查找替换”窗口可用于在文档的代码中搜索文本字符串、表达式或实体名称。
Find and Replace window to search for text strings, expressions, or entity names within the code of your documents.
应用推荐