Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SendWOL from Macro
I've done some searching but haven't had much luck yet (and the searches seem really slow right now).  As such, I apologize if this has already been answered somewhere.

I need to be able to do WOL.  I created a global action and tested successfully using System::SendWOL.  The place I really need this though is in a macro.  So I'm wondering: is there a way to call System commands from a macro?  If not, is there a way to trigger global actions from a macro?

-- Dave
You should be able to do this yourself in a CML Macro using the following guidelines:

Quote:The magic packet is a broadcast frame containing anywhere within its payload 6 bytes of all 255 (FF FF FF FF FF FF in hexadecimal), followed by sixteen repetitions of the target computer's 48-bit MAC address, for a total of 102 bytes.
Thanks for the reply. :-) That's good to know, but I'm still curious to know the answer to my questions as it would likely be useful for other things as well. Hopefully Dean might have some info there.
The DGramSocket class has a method for sending WOL.
Dean Roddey
Explorans limites defectum
(04-25-2020, 08:10 AM)Dean Roddey Wrote: The DGramSocket class has a method for sending WOL.

Excellent!  Thanks Dean.  Smile

Possibly Related Threads…
Thread Author Replies Views Last Post
  Question on Parsing a String in a CML Macro kblagron 2 1,157 06-18-2019, 06:21 PM
Last Post: Dean Roddey
  Macro is not running potts.mike 1 1,622 06-29-2017, 09:55 AM
Last Post: Dean Roddey
  CML macro editor shortcut problem dlmorgan999 3 3,148 12-19-2016, 07:35 PM
Last Post: dlmorgan999
  macro Ron Haley 10 4,713 10-26-2016, 12:40 PM
Last Post: Dean Roddey
  1-way HTML/CML Macro questions IVB 15 6,708 05-08-2016, 07:49 AM
Last Post: Dean Roddey
  Macro to trigger a relay zra 5 2,785 05-02-2016, 11:02 AM
Last Post: zra
  Telnet Macro zra 5 2,378 02-14-2016, 08:03 AM
Last Post: zra
  question on modifying a macro driver indygreg 1 1,512 01-11-2016, 02:11 PM
Last Post: Dean Roddey
  Execute a macro from another macro? dlmorgan999 6 2,295 08-10-2015, 07:53 AM
Last Post: dlmorgan999
  Macro [Out] parameters dlmorgan999 32 8,946 07-15-2015, 01:54 PM
Last Post: Dean Roddey

Forum Jump:

Users browsing this thread: 1 Guest(s)