Steve, it could be a problem with the installation, or it might have been a problem in the script creation of the version you're using. My scripts call the MARCEngine5 object in the MARC break function at line 126, and in the MARC make function at line 147. The MARCEngine5 class appears to call the MARCEngine.dll that (on my Win7 machine) is located in C:\Windows\Microsoft.NET\assembly\GAC_MSIL\MARCEngine.
You might try uninstalling and reinstalling MarcEdit to see if that helps. You might also have to make sure to use the option to install for all users. One other thing that might be affecting the installation of the dll is whether or not you have local administrator access to the computer itself. Even if you use an administrator account to install, if you're not actually logged in as an admin it may not completely install correctly.
Jason
-----Original Message-----
From: MarcEdit support in technical and instructional matters [mailto:[log in to unmask]] On Behalf Of McDonald, Stephen
Sent: Monday, March 25, 2013 3:42 PM
To: [log in to unmask]
Subject: Re: can Script Wizard scripts open .mrc files
Hm. When I try it, I get an error "The system cannot find the file specified." The error points to line 134, which in my script is:
Set obj_MB=CreateObject("MARCEngine5.MARC21")
I've tried this on even the simplest output of the Script Wizard, and it consistently fails when it tries to access MARCEngine5.MARC21. Perhaps something badly installed on my machine?
Steve McDonald
[log in to unmask]
> -----Original Message-----
> From: MarcEdit support in technical and instructional matters
> [mailto:[log in to unmask]] On Behalf Of LeMay, Jason T.
> Sent: Monday, March 25, 2013 2:40 PM
> To: [log in to unmask]
> Subject: Re: can Script Wizard scripts open .mrc files
>
> Steve, the scripts I created a few versions back work with the .mrc
> files without any issue (I exclusively use them on .mrc files). I
> created these initial scripts in early October 2012 with the then
> current version (all script changes since have been manually handled)
> and the scripts continue to work fine when I drag .mrc files onto them though I've updated MarcEdit several times.
>
> Jason LeMay
>
> -----Original Message-----
> From: MarcEdit support in technical and instructional matters
> [mailto:[log in to unmask]] On Behalf Of McDonald, Stephen
> Sent: Monday, March 25, 2013 1:40 PM
> To: [log in to unmask]
> Subject: can Script Wizard scripts open .mrc files
>
> Terry,
>
> I've been trying my hand at scripts with the Script Wizard. A very
> handy tool, Terry! Being handy at scripting, I wanted to customize my
> script to do a few things the Wizard can't handle.
>
> Wizard scripts do a nice job modifying .mrk files. I especially like
> the fact that you can drag a .mrk file onto the script icon and have
> it run. I notice that there seems to be some code in the script
> intended to detect and automatically convert .mrc files. But it
> doesn't work, and the script output itself says that it works on .mrk files.
>
> Is this code an aborted attempt that failed? Or is there actually
> some way to have scripts automatically handle .mrc files?
>
> Steve McDonald
> [log in to unmask]
>
> __________________________________________________________
> ______________
>
> This message comes to you via MARCEDIT-L, a Listserv(R) list for
> technical and instructional support in MarcEdit. If you wish to
> communicate directly with the list owners, write to
> [log in to unmask] To unsubscribe, send a message
> "SIGNOFF MARCEDIT-L" to [log in to unmask]
>
> ________________________________
>
> This e-mail message (including any attachments) is for the sole use of
> the intended recipient(s) and may contain confidential and privileged
> information. If the reader of this message is not the intended
> recipient, you are hereby notified that any dissemination,
> distribution or copying of this message (including any attachments) is strictly prohibited.
>
> If you have received this message in error, please contact the sender
> by reply e-mail message and destroy all copies of the original message
> (including attachments).
>
> __________________________________________________________
> ______________
>
> This message comes to you via MARCEDIT-L, a Listserv(R) list for
> technical and instructional support in MarcEdit. If you wish to
> communicate directly with the list owners, write to
> [log in to unmask] To unsubscribe, send a message
> "SIGNOFF MARCEDIT-L" to [log in to unmask]
________________________________________________________________________
This message comes to you via MARCEDIT-L, a Listserv(R) list for technical and instructional support in MarcEdit. If you wish to communicate directly with the list owners, write to [log in to unmask] To unsubscribe, send a message "SIGNOFF MARCEDIT-L" to [log in to unmask]
________________________________
This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.
If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
________________________________________________________________________
This message comes to you via MARCEDIT-L, a Listserv(R) list for technical and instructional support in MarcEdit. If you wish to communicate directly with the list owners, write to [log in to unmask] To unsubscribe, send a message "SIGNOFF MARCEDIT-L" to [log in to unmask]
|