How to send macro to a folder

How to send macro to a folder

Hi,

I created a macro to register some actions on a device and I would like to send this macro to a folder which contains several devices?

How can I do that?

 

I'm using SOTI v13 and all devices all Samsung Xcover3 and Xover4.

 

Many thanks

3 Answers

Order By:   Standard | Newest | Votes
Raymond Chan | posted this 17 March 2019

What do you mean by adding a macro to register some actions on a device?  Do you actually mean adding a "custom data" field?

 

What folder are you talking about?  A directory folder in the file-system of your devices, or a device-group folder in your device group tree/hierarchy?

 

 

  • 0
  • 0
Farid.S | posted this 19 March 2019

Hi,

 

I mean create a script which will remember mouse actions.

 

But Anyway I finnaly found the solution, I created the macro and then I copied and pasted the script of this macro to the post-install script of my package created through MC Studio and that's working fine!

 

My problem is now solved!

 

Solution:

Create a macro through remote control session which will remember what actions should be done after the package installation.

This macro is saved to path ‪C:\Users\farid\AppData\Local\SOTI\MobiControl\Macros

I made a right click then modify the macro to get the script, I copied the script and pasted directly to the post-install script in my project on MC Studio.

I put a delay of approx 1 minute in the first line of the post install script (sleep 60) to be sure that the macro will be execute after the installation and not during it.

 

Below is my script and enclosed is the way I didCreate script installation it.

 

sleep 80
MouseEvent 0x0 0xbfff 0xf4e7
SleepEx 0xc8
MouseEvent 0x1 0xbfff 0xf4e7
SleepEx 0x2e18
MouseEvent 0x0 0x7ddd 0x98bf
SleepEx 0xc8
MouseEvent 0x1 0x7ddd 0x98bf
SleepEx 0x16a8
MouseEvent 0x0 0x305b 0xf40d
SleepEx 0xc8
MouseEvent 0x1 0x305b 0xf40d
SleepEx 0x11f8
MouseEvent 0x0 0xb60b 0x94e8
SleepEx 0xc8
MouseEvent 0x1 0xb60b 0x94e8
SleepEx 0x12c0
MouseEvent 0x0 0x7e93 0x47ae
SleepEx 0xc8
MouseEvent 0x1 0x7e93 0x47ae

 

Thanks

 

 

  • 0
  • 0
Matt Dermody | posted this 26 March 2019

This is a little bit....unconventional...to say the least. Mind I ask what you were using the macro for? Is it for setting configurations within the app after it is installed and launched? If so, are those particular configurations not administerable via an external configuration file or Managed Configuration?

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback