Was this a file name format change in 6.18?
Also, any idea on how to get
- Code: Select all
May 2, 2016, 8:34:00 AM Script 2016-05-02 Events.txt
to stop appearing in the log every minute?
May 2, 2016, 8:34:00 AM Script 2016-05-02 Events.txt
May 2, 2016, 8:34:00 AM Script 2016-05-02 Events.txt
log IndigoLogName
import sys
import collections
def tail(iterable, N):
deq = collections.deque()
for thing in iterable:
if len(deq) >= N:
deq.popleft()
deq.append(thing)
return list(deq)
# A list of the variable IDs - this script doesn't create them so they have to exist already
variable_ids = [1, 2, 3, 4, 5]
lines = tail(open("/Library/Application Support/Perceptive Automation/Indigo 7/Logs/indigo_log.txt"), len(variable_ids))
for index, line in enumerate(lines):
indigo.variable.updateValue(variable_ids[index], value=line)
jay (support) wrote:Well, the log is in Indigo Touch..
Different Computers wrote:Now I'm confronted with the same issue mentioned for the AppleScript about a page back: Any simple way to strip the timestamps before they become the variable values? Or after for that matter.
Users browsing this forum: No registered users and 3 guests