What is the best way to change the properties of multiple items via script at once?
What is the best way to change the properties of multiple items via script at once? A “for” loop could do it but is there a simpler way?
Can we set items to the same name and use getItemByName?
]]>« In app drawer, go to my drawer category, go to edit mode, select some app, doing duplicate and now delete this new… (Previous Post)
(Next Post) wow. »
< ![CDATA[
getItemByName returns the first item with this name. Names should be always unique. A For loop is pretty much all you can do.
]]>
< ![CDATA[
thanks … good to know! saved me a ton of time trying to find alternatives
]]>
< ![CDATA[
Or you may edit the property at the container level too, items would inherit the containers value.
]]>
< ![CDATA[
Pierre Hébert that’s a great point, will try that instead. Would that also allow also swipe actions across the items in the container (i.e. swipe zone extends across container not confined to individual items), simultaneously with swipe zones for each item in the container?
]]>