Hi, I have tried a few snippets from a search of the forum but to no avail to what I am trying to achieve - so if anyone can help that'd be much appreciated.
I am trying to create a custom script which will set a scheduled task to defragmet the local fixed hard drives based on the configuration determined by the application I am making in AMS 8.5.
I have most of it sorted, but what I'd like to do is, either at the click of a button, or better yet, pre-load, have a list of local fixed hard drives with a checkbox next to each one, so that a user can "tick" the drives they wish to include in the defrag schedule.
I would like it to automate the amount of checkboxes (could be a checkbox selectable listbox, whatever works and looks good really) it creates, so if a user just has 2 drives (C and D), then only 2 show, if they just have 1, then just it shows, and if they have 10, then these all show - but it must only show fixed drives.
Thanks in advance...
I am trying to create a custom script which will set a scheduled task to defragmet the local fixed hard drives based on the configuration determined by the application I am making in AMS 8.5.
I have most of it sorted, but what I'd like to do is, either at the click of a button, or better yet, pre-load, have a list of local fixed hard drives with a checkbox next to each one, so that a user can "tick" the drives they wish to include in the defrag schedule.
I would like it to automate the amount of checkboxes (could be a checkbox selectable listbox, whatever works and looks good really) it creates, so if a user just has 2 drives (C and D), then only 2 show, if they just have 1, then just it shows, and if they have 10, then these all show - but it must only show fixed drives.
Thanks in advance...
Comment