Hi all,

I am not sure why, but many of my scripts are producing error messages ever 
since I updated to PP release 4915.

Specifically my ClipCapture CL that is executed every time a clip is captured 
was running flawless and is now crashing every time I copy something. 

Has something fundamentally changed in terms of variable declaration etc. ?

The error message is Invalid number, string or variable at :

if      (win.exename(mycliphan)=="ssss" and find 
(win.caption(window("firstwindow", "c=fvdv")), "Session fd") > -1) do


I am also getting an error message when below sript is run at the if-line:

local start = date.today                              // start date is today
local prevBusDate 

prevBusDate = date.addDays(start, -1)
if (date.weekday(prevBusDate)== 0)                                        // 0 
= Sunday  
   prevBusDate = date.addDays(prevBusDate, -2)  
   
prevBusDate = formatdate("MMddyyyy",prevBusDate)        


Any help is much appreciated.

Thanks



Reply via email to