--- In [email protected], "chunwaihome" <[EMAIL PROTECTED]> 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)

> 
> And i want to know there is any plan to develop remote control
> function. Thus i can remote control the other computer which have
> also run pp 

It has previously been suggested to use file.watchfolder to facilitate
remote control operations. Then when you send a file to the watched
folder, the local machine can react.

Regards,
Sheri

Reply via email to