error-subroutine/label vlidatedsk Not Found!

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
Phil Pendlebury
Automation Wizard
Posts: 538
Joined: Tue Jan 16, 2007 9:00 am
Contact:

error-subroutine/label vlidatedsk Not Found!

Post by Phil Pendlebury » Thu Jan 18, 2007 10:20 pm

Hi all,

I hope this is the right place? I have searched... One of my users is getting this error when he attempts to run a script (as exe file).
error-subroutine/label vlidatedsk Not Found!
Does that mean anything to anyone?
Phil Pendlebury - Linktree

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Thu Jan 18, 2007 10:29 pm

Yes, it means the label or subroutine "vlidatedsk" was not found! A command tried to branch to a label or subroutine called "vlidatedsk" that doesn't exist.

So it means there's an error in the script. Would need to examine the script to tell you what. Either debug the script or run the EXE with the /LOGFILE parameter to create a log file and see which line and what command is throwing the error and also check that this label exists.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
Phil Pendlebury
Automation Wizard
Posts: 538
Joined: Tue Jan 16, 2007 9:00 am
Contact:

Post by Phil Pendlebury » Fri Jan 19, 2007 12:09 am

Thanks for the reply Markus. I have found the error. You are very kind for helping so quickly. :-)
Phil Pendlebury - Linktree

User avatar
Phil Pendlebury
Automation Wizard
Posts: 538
Joined: Tue Jan 16, 2007 9:00 am
Contact:

Post by Phil Pendlebury » Fri Jan 19, 2007 12:41 am

Incidentally, I thought you may be interested to know how this happened: I have small check at the beginning of my script...

Code: Select all

Wait>1
// Discover which program we are using:
IfWindowOpen>Cubase 4*,validated
IfWindowOpen>Cubase Studio 4*,validated
IfWindowOpen>Cubase SX*,validated
IfWindowOpen>Cubase SL*,validated
IfWindowOpen>Nuendo*,validated
Goto>noapp
Whilst running the script in STEP mode earlier, some of the key presses that were intended for the application that the script was acting upon ended up being entered into the script text itself...

Code: Select all

IfWindowOpen>Nuendo*,validateddsk
Of course, as you point out... validateddsk did not exist in my script. LOL.

I should have realised that the script sends keys d - s - k... :-) I suppose this is one of those things that one has to look out for. Especially somoene new to this game, like myself.

Thanks again. I hope this info may be useful to someone else sometime.

:-)
Phil Pendlebury - Linktree

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Fri Jan 19, 2007 9:13 am

Phil Pendlebury wrote:I should have realised that the script sends keys d - s - k... :-) I suppose this is one of those things that one has to look out for. Especially somoene new to this game, like myself.
Send sends keys to the active Window.

When debugging you can use Debug/Refocus Windows to ensure the debugger sets focus between each step to whatever window was last focused, and therefore avoid sending keystrokes to the debugger itself. But even then, if you have not already focused another window the debugger will be the active window.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
Phil Pendlebury
Automation Wizard
Posts: 538
Joined: Tue Jan 16, 2007 9:00 am
Contact:

Post by Phil Pendlebury » Fri Jan 19, 2007 9:27 am

Yep I understand about the active window... :-)

I didn't realise there was a refocus window option though. Thank you again.
Phil Pendlebury - Linktree

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts