--- In [email protected], "Sheri" <[EMAIL PROTECTED]> wrote: > > --- In [email protected], "chunwaihome" <chunwaihome@> wrote: > > > > hello; > > local var = file.name ("&(clip.get)") > > > > file.createShortcut(?"&(clip.get)", ?"C:\Documents and > > Settings\Administrator\desktop\&(var)") > > > > this script will get filename from clipboard and make a shortcut > > to the desktop. But it has not work, it will work if i change > > "&(var)" to other word e.g. abc > > You're trying to use the evaluator &() inside literal strings. > > This should work: > > local var=file.name(clip.get) > file.createShortcut(clip.get, ?"C:\Documents and > Settings\Administrator\desktop\"++var) > > It dont work thx
>
