Sign in to follow this  
Followers 0
Diana (Cda)

Print untitled notepad page?

2 posts in this topic

I've found a couple of different ways to print files through AI but haven't figured out what to do about an open, untitled notepad page without doing it "manually" through something like ^p keystrokes. Is there another way besides ^p?

Since it's a text file, _FilePrint works; so does this type of thing:

ShellExecute($SamePartition & "\APPS\TEXT\npad, Metapad v3.51\APP- Metapad v3.51\Metapad.exe","/p " & $FILE)

But this seems to be for just saved files and not unsaved files with data on an unsaved notepad page.

thx. ;)

Share this post


Link to post
Share on other sites



....save the notepad page to some temp directory and delete it when you are done. Do you even need to use notepad? I see your other post... so why can't you just save it all to a variable and do a FileWrite, then print that file.


Regards,Josh

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0