home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
SDE_300.ZIP
/
ASSIGN.XM!
next >
Wrap
Text File
|
1990-12-08
|
825b
|
42 lines
@Comment
{
An external SDE macro which allows you to assign the current
directory to one of the keys '0' through '9'. This is accomplished
via an AutoKey sequence which writes the @ChDir command, as well
as an Execute menu title, to the macro whose key is selected from
the MacroMenu displayed by this macro.
This directory may then be jumped to by pressing the key to which
the directory was assigned.
}
@Prompt{Assign to?}
@Set
{
{akey}
{
@Menu
{
{0 key}{0}
{1 key}{1}
{2 key}{2}
{3 key}{3}
{4 key}{4}
{5 key}{5}
{6 key}{6}
{7 key}{7}
{8 key}{8}
{9 key}{9}
}
}
}
@Key
{
alt-e @Val{akey} Home Ctrl-Backspace @@Prompt{ChDir space @Vol{}:@Path{}}_
space @@ChDir{@Vol{}:@Path{}} enter escape
}