Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
net
#1
Hello, im using the net command to run a macro on a computer downstairs at a certain time from my pc in my room, everytime i run it it says,

Error (RT) in Macro: could not launch

what could be the problem?

This is my code,

Code:
Copy      Help
str c("111.111.1.11") p("pw") m("tools")
if(NetSendMacro(c p m)) end "could not send"
if(net(c p m)) end "could not launch"

And on the other pc i just have a toolbar called tools, and i have correct ip address and correct password? am i forgetting something?

*Note i change ip address and password to post it here.
#2
try

net "ip" "pw" "macro name"

the code you posted is trying to send "tools" to computer 2 and run it and if you dont have "tools" on pc1 thats your problem with your code.

Code:
Copy      Help
;send and run function Function7 on Computer3
str c("Computer3") p("p765") m("Function7")
if(NetSendMacro(c p m)) end "could not send"
if(net(c p m)) end "could not launch"
#3
what is your best code to run a macro on another pc, not send and run just run as in its already there you just want to run it?
#4
JOHN_ Wrote:try

net "ip" "pw" "macro name"

the code you posted is trying to send "tools" to computer 2 and run it and if you dont have "tools" on pc1 thats your problem with your code.

Code:
Copy      Help
;send and run function Function7 on Computer3
str c("Computer3") p("p765") m("Function7")
if(NetSendMacro(c p m)) end "could not send"
if(net(c p m)) end "could not launch"


Forum Jump:


Users browsing this thread: 1 Guest(s)