Tuesday, September 27, 2022

#1 2022-09-18 05:38:07 am

KniazidisR
Member
From:: Greece
Registered: 2019-03-03
Posts: 2524

Replace (fast) an Item of a List at index X

Applescript:


my replaceItemOfList:{"aaaa", "bbbb"} atIndex:2 withValue:(path to desktop folder)

on replaceItemOfList:aList atIndex:anIndex withValue:aValue
   local aList, anIndex, aValue
   tell (a reference to item anIndex of aList) to set contents to aValue
   return aList
end replaceItemOfList:atIndex:withValue:


Model: MacBook Pro
OS X: Catalina 10.15.7
Web Browser: Safari 14.1
Ram: 4 GB

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)