Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Import script from Action script

Import script from Action script

Import script from Action script

Is there anyway of running a .scr file from within a action script? or wizard?

I have AssetCentre 3.6.

RE: Import script from Action script

yes this is possible
You need to create a new Action (Executable type)

on the field file you select the directory of you import or export executable eg. C:\Program Files\Peregrine\AssetCenter\bin32\amexpl32.exe

on the Parameters
type your parameters eg.
-script:Nameof your script.scx -cnx:nameofyourconnection -login:Admin -password:Adminpassword -overwrite (If you want to overwrite the data, if you don't just delete the option "-overwrite"

RE: Import script from Action script


Why would you want to run an scr file from within AC?

Olivier has provided an answer but, doesn't ask why.

Are you planning to automate an import?

Jason Thomas
AssetCenter Consultant

RE: Import script from Action script

I have a end user that wants to run four import scripts in a row.  

They do not want to manually do each one, therefore I was thinking about automating the import, so they could run an action and then all text files will be imported.

RE: Import script from Action script

Why not create a batch file that will perform the four imports one after another using the Parameters outlined in Oliviers message, then if required use an scheduling tool like 'at' on NT or Schedule tasks on WinXP

Jason Thomas
AssetCenter Consultant

RE: Import script from Action script

Good thinking..  I have created a .bat file that will run all imports from an action.  This way the user has the ability to run when required.

Thanks for the advice, much appreciated.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close