Alpha Video Training
Results 1 to 3 of 3

Thread: Is it psoosible to write a script 2 print a script

  1. #1
    Member Graham Wickens's Avatar
    Real Name
    Graham Wickens
    Join Date
    Apr 2000
    Location
    Gloucestershire, UK
    Posts
    750

    Default Is it psoosible to write a script 2 print a script

    Is it possible to write a script to print a script? If so how can it be done?

  2. #2
    "Certified" Alphaholic
    Real Name
    jim chapman
    Join Date
    Apr 2000
    Posts
    1,779

    Default RE: Is it psoosible to write a script 2 print a sc

    Hello Graham,

    It would be easy to do in version 5. There are built in tools that are geared toward this type of functionality. In version 4.x we have Bill Parkers A5Doc application that will document scripts. Obviously Bill was able to do it. BUT Bill is not your average Alpha user. Scripts are stored in data dictionary memo fields. The problem is they are NOT stored as text. Your Xbasic skills would need to be well honed to do this..... or talk to Bill Parker, he sells the A5Doc program, maybe he'd consider selling you the low level script documentation routines.

    Good luck,

    Jim

  3. #3
    "Certified" Alphaholic
    Real Name
    Cal Locklin
    Join Date
    Mar 2000
    Location
    S.E. Michigan
    Posts
    5,763

    Default RE: Is it psoosible to write a script 2 print a sc

    I wrote a script to write a script in v4.5 by writing the script to a text file. When it was done, I opened the text file and used sys_send_keys() to do a shift-ctrl-END so it was all highlighted as soon as it was opened. I then just cut and pasted it into a new xbasic window.

Similar Threads

  1. Script to print checks
    By catplus in forum Alpha Five Version 6
    Replies: 7
    Last Post: 08-10-2005, 07:03 AM
  2. Print Script doesn't work
    By Jerry Gray in forum Alpha Five Version 6
    Replies: 2
    Last Post: 06-18-2005, 10:48 AM
  3. Print dialog box interrupts multi-print script
    By Matthew Wilson in forum Alpha Five Version 4
    Replies: 0
    Last Post: 04-26-2002, 06:37 AM
  4. Can we Write a script with xbasic?
    By Willard in forum Alpha Five Version 4
    Replies: 8
    Last Post: 06-05-2000, 08:26 PM
  5. Need help with a print button script.
    By George BVI in forum Alpha Five Version 4
    Replies: 1
    Last Post: 05-22-2000, 12:08 PM

Bookmarks

Posting Permissions

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