SPONSORS:






User Tag List

Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Guest

    Printing Silk Code with Line Numbers

    Is there a way or has anyone created a utility to print Silk Code using line numbers? I have set up code reviews to go over all the coding my group writes, but without line numbers, it makes it difficult (as anyone who has been in code reviews knows).

    I was thinking of using a different program to print the code out so I could get the line numbers, but without the bullets that Silk prints out, it is difficult to follow the indentation.

    David Genrich
    KLA-Tencor WIN SQC
    Phone: (408) 875-4123
    Pager: (888) 476-5875



  2. #2
    Guest

    Re: Printing Silk Code with Line Numbers

    In case anyone is interested, I made a Word 97 Macro that will format Silk code so it prints almost like it does in Silk, but with line numbers. it puts the file name in the header and the date the file was last saved and Page X of Y on the bottom.

    I will gladly send a copy of the macro to anyone who is interested. The macro could do more (like make all comments in italic and bold key words), but I don't have the time to do that at the moment.

    David Genrich


  3. #3
    Guest

    Re: Printing Silk Code with Line Numbers

    If you've got perl, then

    perl -ne 's#\[.\]##;print $..$_ ;' filename

    should work

  4. #4
    Senior Member
    Join Date
    Jul 1999
    Location
    Burlingame CA 94010
    Posts
    502
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Printing Silk Code with Line Numbers

    Please send the macro. Thanks

  5. #5
    Junior Member
    Join Date
    Aug 1999
    Location
    Tucker GA USA
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Printing Silk Code with Line Numbers

    I would also appreciate a copy of the macro. There are times that I need to send an electronic copy of the scripts to a third party that does not have QA Organizer.

  6. #6
    Junior Member
    Join Date
    Aug 1999
    Location
    Tucker GA USA
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Printing Silk Code with Line Numbers

    I found it a little late, but the macro can be found in the FTP area of this site. Just punch FTP in the list on left.

  7. #7
    Guest

    Re: Printing Silk Code with Line Numbers

    Hi David,
    please send me a copy of this macro.
    Nice idea with Word.
    Appreciate.
    Regards,
    se

  8. #8
    Guest

    Re: Printing Silk Code with Line Numbers

    I updated the Word Macro for formatting the 4Test script. The macro will now find all comments, italicize them and highlight them green. I also changed the Tab spacing a bit.

    The macro can be found on the FTP section of http://www.beta-soft.com /

    If anyone cares to, using the same method used in formatting the comments, keywords (stuck in an array) can be color coded. Maybe have diffrent array of keywords for diffrent colors?

    David Genrich


  9. #9
    Junior Member
    Join Date
    Mar 2001
    Posts
    27
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Printing Silk Code with Line Numbers

    Hi David,
    May I have, please, a copy of this macro from you?


    Thanks,
    Olga


    ------------------
    Olga
    Olga

  10. #10
    AJ
    AJ is offline
    Moderator AJ's Avatar
    Join Date
    Jun 1999
    Location
    San Jose, CA
    Posts
    1,691
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Printing Silk Code with Line Numbers

    Olga, that macro exists now in the downloads section. see http://www.qadownloads.com or click Downloads above!

    Then Segue, search for the word "macro"


    ------------------
    AJ Alhait
    BetaSoft Inc.
    AJ Alhait
    BetaSoft Inc.

 

 
Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 07:19 AM.

Copyright BetaSoft Inc.