For some reason this script doesn't go to the next empty cell in column?
我究竟做错了什么 ?我希望能够将今天的日期添加到列中的下一个空单元格,如果这些数字不会改变但保持在那个日期,那就太好了
需要一些帮助提前谢谢。
on run {input, parameters}
tell application "Numbers"
activate
tell the first table of the active sheet of document 1
tell column "F"
set r to (address of row of last cell whose value is greater than "")
set r to r + 1
set value of cell r to date string of (current date)
end tell
end tell
end tell
return input
end run