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
Code: Select all
May 2, 2016, 8:34:00 AM Script 2016-05-02 Events.txt
Code: Select all
May 2, 2016, 8:34:00 AM Script 2016-05-02 Events.txt
Code: Select all
log IndigoLogName
Code: Select all
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)
It is???? You mean I can look at it via IT, right? Sure. But it's super handy to have a running glimpse of the log on a control page that is sitting open on my desk. For watching those non-responsive camera notifications I'm getting. (I've got a Foscam C2 that's losing its mind, even after two hard resets.)jay (support) wrote:Well, the log is in Indigo Touch..
Can you just restate the problem?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.