Deleting shortcuts on Android

Deleting shortcuts on Android

We have a script that creates shortcuts on the Android tablets we use and I wanted to find a way of removing any shortcuts we create and also to find a way of adding a single shortcut rather than all.  A portion of the the script I use is below

############################

writeprivateprofstring Webclips Count 37
writeprivateprofstring Webclips Name36 "Website1"
writeprivateprofstring Webclips Url36 https://Website1/
writeprivateprofstring Webclips Icon36 %sdcard%ShortcutImages\Website1.png

writeprivateprofstring Webclips Count 38
writeprivateprofstring Webclips Name37 "Website2"
writeprivateprofstring Webclips Url37 https://website2
writeprivateprofstring Webclips Icon37 %sdcard%ShortcutImages\Website2.png

apply Webclips

############################

Is anyone able to help me?

 

3 Answers

Order By:   Standard | Newest | Votes
Mbachi | posted this 22 October 2020

That doesn't work for us.  I think this might be because we don't really use lock screens.  Here is what I have tried and now works.  I use the below script and it clears all the icons so that will do

writeprivateprofstring Webclips Count

apply Webclips

 

 

  • 1
  • 0
DDMOD@SOTI | posted this 22 October 2020

Thanks Mbachi for sharing the resolution.

 

Regards,

Technical Support | SOTI Inc. |+1-888-494-SOTI (7684) | support@soti.net | www.soti.net |

  • 0
  • 0
DDMOD@SOTI | posted this 21 October 2020

Hi Mbachi,

 

Can you please try the below script and confirm if it works?

writesecureprofstring  DeviceFeature  DisableLockScreenShortcuts 1

apply featurecontrol 

 

Regards,

Technical Support | SOTI Inc. |+1-888-494-SOTI (7684) | support@soti.net | www.soti.net |

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback