Home > Community > Forums > PCB Design > launch allegro_free_viewer_16-3 with a Macro

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 launch allegro_free_viewer_16-3 with a Macro 

Last post Tue, Apr 13 2010 10:22 AM by Ejlersen. 3 replies.
Started by Flta 03 Mar 2010 09:33 PM. Topic has 3 replies and 2518 views
Page 1 of 1 (4 items)
Sort Posts:
  • Wed, Mar 3 2010 9:33 PM

    • Flta
    • Not Ranked
    • Joined on Thu, Mar 4 2010
    • Posts 2
    • Points 40
    launch allegro_free_viewer_16-3 with a Macro Reply

    Hello,

    I would like to automatize the opening of Allegro free viewer and the display of my test-points all-in-one.

    I did some macro to display test-points and now I wondering how to launch-it automaticaly (by script)

    Let me know if you have any sugestion.

    Regards,

    Florent

    PS: I work on Windows XP OS

    • Post Points: 20
  • Thu, Apr 8 2010 7:39 PM

    • Ejlersen
    • Top 10 Contributor
    • Joined on Mon, Jul 28 2008
    • Aalborg, Copenhagen
    • Posts 556
    • Points 9,795
    Re: launch allegro_free_viewer_16-3 with a Macro Reply

    Hi

    Use the standard allegro functionality, it works at my place

    allegro_free_viewer boardname.brd -s scriptname.scr

    That will start the free viewer, open the board "boardname.brd" and then execute the script "scriptname.scr"

     

    Best regards

    Ole

    Best regards Ole
    • Post Points: 20
  • Mon, Apr 12 2010 8:45 PM

    • Flta
    • Not Ranked
    • Joined on Thu, Mar 4 2010
    • Posts 2
    • Points 40
    Re: launch allegro_free_viewer_16-3 with a Macro Reply

    Thank you very much Ole for your answer,

    Just one more question : do you use a simple DOS command to execute it?

    Thanks again

     

    Regards,

     

    Florent

    • Post Points: 20
  • Tue, Apr 13 2010 10:22 AM

    • Ejlersen
    • Top 10 Contributor
    • Joined on Mon, Jul 28 2008
    • Aalborg, Copenhagen
    • Posts 556
    • Points 9,795
    Re: launch allegro_free_viewer_16-3 with a Macro Reply

    Hi

    Yes a command prompt or you could create a batch script that takes 1 argument using %1

    - so put the command line in a free.bat file and replace the board name with %1, then you could launch it running free with the board name as the argument.

    Best regards

    Ole

    Best regards Ole
    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by Flta at 03 Mar 2010 09:33 PM. Topic has 3 replies.