Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: Macro Print Out Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
RWCS
Senior Member
Senior Member
Avatar

Joined: October 28 2002
Location: United States
Online Status: Offline
Posts: 102
Posted: January 22 2009 at 09:48 | IP Logged Quote RWCS

Is there a way to print a macro as a text file?
Back to Top View RWCS's Profile Search for other posts by RWCS Visit RWCS's Homepage
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: January 22 2009 at 10:18 | IP Logged Quote BeachBum

You can Export it and open it with Notepad but I don’t like the format and I don’t think that is what you’re after. You can print it ( V2.1b) after you change the layout to Landscape and I’m sure you could print to file but I haven’t tested that part.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
RWCS
Senior Member
Senior Member
Avatar

Joined: October 28 2002
Location: United States
Online Status: Offline
Posts: 102
Posted: January 22 2009 at 10:39 | IP Logged Quote RWCS

Maybe it is a versional thing. . . can't find an "Export". Can you give me a little more detail on the process? My goal is to copy and paste into forum. . .
Back to Top View RWCS's Profile Search for other posts by RWCS Visit RWCS's Homepage
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: January 22 2009 at 11:16 | IP Logged Quote BeachBum

Click on macro on the left pane not the plus. Hover over the macro on the right and right click.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
RWCS
Senior Member
Senior Member
Avatar

Joined: October 28 2002
Location: United States
Online Status: Offline
Posts: 102
Posted: January 22 2009 at 14:22 | IP Logged Quote RWCS

Thanks for your help, but that wasn't what I had in mind. In another post Tony directed me to a post with a macro description:

<snip>
Set Global   PHONE_LOG   ""

Label next

Set System [LOCAL1] ph_comrecvchar( 4 )
<snip>

I hate to think you guys re-type this stuff when you are exchanging examples. Is there some way to extract a pseudo-macro like the above snip.

Bob
Back to Top View RWCS's Profile Search for other posts by RWCS Visit RWCS's Homepage
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: January 22 2009 at 14:37 | IP Logged Quote TonyNo

I built a web page to display macro listings and I copy and paste from that. Dave also added a Print function, which you could likely use with an ASCII driver.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
RWCS
Senior Member
Senior Member
Avatar

Joined: October 28 2002
Location: United States
Online Status: Offline
Posts: 102
Posted: January 22 2009 at 16:02 | IP Logged Quote RWCS

does your web page input .sql (macro export)and output text?
Back to Top View RWCS's Profile Search for other posts by RWCS Visit RWCS's Homepage
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: January 22 2009 at 20:04 | IP Logged Quote TonyNo

No. It reads the macro from the DB and displays it.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
RWCS
Senior Member
Senior Member
Avatar

Joined: October 28 2002
Location: United States
Online Status: Offline
Posts: 102
Posted: January 22 2009 at 20:10 | IP Logged Quote RWCS

What I had in mind was to share my com macro that I got working today, on the RS-232 & PH thread I have going. Need a how to. . . too lazy to re-type the 20 lines.
Back to Top View RWCS's Profile Search for other posts by RWCS Visit RWCS's Homepage
 
RWCS
Senior Member
Senior Member
Avatar

Joined: October 28 2002
Location: United States
Online Status: Offline
Posts: 102
Posted: January 25 2009 at 08:21 | IP Logged Quote RWCS

I'm still interested in a text output for macros. I haven't found the "print" function you spoke of, and I'm alternately interested in the HTML approach.
Back to Top View RWCS's Profile Search for other posts by RWCS Visit RWCS's Homepage
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: January 25 2009 at 08:55 | IP Logged Quote TonyNo

The latest version of PH includes printing support in the File menu. From the PH Explorer, go to Macros, then your macro, click on File, Print. There is also Print Setup and Preview.

I just found that the generic print driver may not work as it looks like it prints the same as it looks in the PH Explorer. Also, it seems that long lines that wrap are not shown correctly in the preview.

Here is a link to the macro listing PSP page.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: January 25 2009 at 09:16 | IP Logged Quote BeachBum

Tony, in experimenting trying to print the macro I found if you Scale it at 65 and then go to Default and select Portrait it will print correctly. I also played with Generic with no luck what so ever. I think it lies in the way Dave is presenting the data.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
RWCS
Senior Member
Senior Member
Avatar

Joined: October 28 2002
Location: United States
Online Status: Offline
Posts: 102
Posted: January 25 2009 at 09:35 | IP Logged Quote RWCS

So I guess 1.03.4.12 isn't recent enough for the Macro print. . .

Edited by RWCS - January 25 2009 at 09:37
Back to Top View RWCS's Profile Search for other posts by RWCS Visit RWCS's Homepage
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: January 25 2009 at 10:03 | IP Logged Quote BeachBum

Install V2.1b for the latest.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum