Record fails

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Niels Hove-Madsen
Newbie
Posts: 4
Joined: Tue Apr 13, 2004 1:19 pm

Record fails

Post by Niels Hove-Madsen » Tue Apr 13, 2004 1:48 pm

:cry: I'm trying to record a macro but the PC does not rseem to respond to keystrokes and when I stop the 'recording' it displays an error message "File not found". I have to quit MS and start it before I can try again - but with the same result.

Lumumba

Post by Lumumba » Tue Apr 13, 2004 8:18 pm

Could it be that the file destination is write protected/restricted, so you try to create a file without the necessary permissions ?

Niels Hove-Madsen
Newbie
Posts: 4
Joined: Tue Apr 13, 2004 1:19 pm

Post by Niels Hove-Madsen » Wed Apr 14, 2004 6:51 am

I'm not trying to create a file, I'm just trying to record some few keyboard strokes.

Maybe MS is trying to create a file, but it's installed on the local PC and there are no write restrictions on my c-drive.

Lumumba

Post by Lumumba » Wed Apr 14, 2004 3:11 pm

Huh, philosophical :roll:
You don't want to create a file -> you only want to record keystrokes in a script which is a file -> but it's not you who creates that file which is a script which should contain the recorded keystrokes you've made -> it's MSched which creates a script which isn't a file -> ... OooKaay.
I think I got it :wink:

Have you tried to create that script/file manually ?
Have you tried to run it?

MyFirstScript.scp


CapsOff
Wait>3
//Set focus to the desktop
SetFocus>Program Manager
//Move the mouse to the topmost left corner of your screen
MouseMove>0,0
Wait>2
//Move the mouse to the screen coord. 10x100
MouseMove>10, 100
Wait>2
//Call the Startmenu
Press CTRL
Press ESC
Release CTRL
//Startmenu/Run
Send Character/Text>R
WaitWindowOpen>Run
Send Character/Text>Notepad
Wait>2
Press ENTER
MessageModal>A script is a file is a script - its that easy (Aristoteles).

Niels Hove-Madsen
Newbie
Posts: 4
Joined: Tue Apr 13, 2004 1:19 pm

Post by Niels Hove-Madsen » Wed Apr 14, 2004 3:16 pm

I've been using MS for quite some time and made several well functioning scritps - manually. Now I upgraded to the latest version (and the prof. version too). I wanted to try the record facility... :cry:

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Wed Apr 14, 2004 3:45 pm

"__debug.dbg" is a temp file that holds the contents of your current script until it is saved with a formal script name.

There may be a problem that the file "__debug.dbg" is locked. Try closing Macro Scheduler, go to folder where Macro Scheduler program is located. Look for "__debug.dbg" and rename it. Start Macro Scheduler and try again.

HINT: If your system crashes before you can save your work in a script, you can frequently come back and open this file in an editor, paste it into your Macro Scheduler editor and save it under the correct name.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Niels Hove-Madsen
Newbie
Posts: 4
Joined: Tue Apr 13, 2004 1:19 pm

Post by Niels Hove-Madsen » Thu Apr 15, 2004 8:21 am

No help there, I'm sorry. It seems like the screen does not get updated when I start recording. When I press Ctrl-Shift-S to stop the macro I get the error message, and I can see the result of my keystrokes and mouse-clicks.

Matheus

The samething is happening to me!

Post by Matheus » Tue May 25, 2004 2:24 am

:? :? the samething that he said is happening to me..... when i put record it just like freezes the computer and then when I press ctrl-alt-s it says file not found :? plz need some help in this one :!: :idea: thanks

Matheus

Yey it worked thanks :)

Post by Matheus » Tue May 25, 2004 2:35 am

Lumumba I followed what u said about making a new folder i made it and it worked thansk :D

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Tue May 25, 2004 3:06 am

Huh?:?

What new folder was made and where was that recommended?

I cannot see that in the postings.... :?

I know Lumumba is good, but I did not know he was also using telepathy. I'm impressed. :D
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Lumumba

Post by Lumumba » Tue May 25, 2004 6:38 am

I guess Matheus meant this ...
Could it be that the file destination is write protected/restricted, so you try to create a file without the necessary permissions ?
... but I did not know he [Lumumba] was also using telepathy.
I've sent a buddha-like :arrow: Oooooooooom to all of you in this moment. Are you feeling it ? 8)

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