Author Topic: Script problem  (Read 2484 times)

0 Members and 1 Guest are viewing this topic.

Offline Vegas

  • Member
  • *
  • Posts: 4
Script problem
« on: June 29, 2009, 09:22:41 AM »
I have a simple script that resets the sequence number for the sequential save. I want it to run once everyday at 11:49pm.
This is all thats in the script:

Code: [Select]
Portfolio.Canvas(1).AutoSave.SequentialNumber=0
Portfolio.Canvas(2).AutoSave.SequentialNumber=0

In script setup I have Interval checked, run every set to 24 hr, Base time set to 23:49:00 and the script file set to C:\Program Files (x86)\ImageSalsa\ResetSEQ.txt
If I click Reload script, the script executes and resets the sequence numbers but it does not run every day at the set time.

What am I missing to get this to run everyday?


Offline Vegas

  • Member
  • *
  • Posts: 4
Re: Script problem
« Reply #1 on: July 01, 2009, 08:27:33 AM »
Ok, figured it out. Took a look at the script samples on Imagesalsa's web site and found Sub Interval()
Changed my script to:
Code: [Select]
Option Explicit

Sub Interval()

Portfolio.Canvas(1).AutoSave.SequentialNumber=0
Portfolio.Canvas(2).AutoSave.SequentialNumber=0

End Sub

Now works as expected.