home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d7xx
/
d770
/
uedit.lha
/
Uedit
/
Rich-Martin.LZH
/
Config!G
< prev
next >
Wrap
Text File
|
1988-11-15
|
2KB
|
43 lines
======== The Director Language Commands ========
<normal-space:
typeChar(32)
runKey(virtual-a) >
<normal-return:
typeChar(10)
runKey(virtual-a) >
<normal-tab:
typeChar(9)
runKey(virtual-a) >
/* set up buffer for Director's keywords */
<ShftAltCtl-z:
clearRgn(buf90, all)
insertRgn(buf90, sFile, "_abort_and_display_dissolve_draw_
_drawmode_ellipse_else_endif_execute_fade_fill_for_free_
_getkey_getmouse_getpen_gosub_goto_
_if_ifkey_ifmouse_load_loadanim_loadfont_memory_move_next_
_open_or_palette_pause_pen_pointer_read_rect_rem_rotate_setblack_
_setfont_speed_step_text_then_to_wipe_write_", all)
equateLoc(buf90,sInvert,sFile)
equateLoc(buf90,eInvert,eFile) >
/* check for Director's keywords, make caps if found */
<virtual-a:
equateLoc(curFile,locA,atCursor) ..store current cursor location
if (is(curFile, sWord)) ..if it's at the beginning of a word
runKey(shft-leftArrow) ..move back to previous word
else
moveCursor(curFile,sWord) ..or just move to start of word
clearRgn(buf54,all) ..erase our workspace
insertRgn(buf54,sFile,"_", all) ..we start with a bounding character
insertRgn(buf54,eFile,curFile,word) ..add our current word
insertRgn(buf54,eFile,"_", all) ..and bound the tail
moveCursor(buf90,sFile) ..always start from the beginning,
setSearch(buf54) ..specify which buffer to search,
if (search(buf90, sInvert, eInvert, 1)) ..if it's a keyword
runkey(ShftCtl-u) ..make it uppercase
moveCursor(curFile, locA) > ..restore original cursor location