Proper Syntax

B

bcap

Hi,

I need to use the following code for a command line function, but it
does not seem to like the syntax. It does not seem to like the "=" ,
any ideas?

=RUNADDONWARGS("SaveAsWeb","/target=c:\temp\mypage.htm /quiet /prop /
startpage=1 /endpage=3 /altformat /priformat=vml /secformat=jpg /
openbrowser")

Thank you kindly for anytime and thoughts.

Ray
 
P

Paul Herber

Hi,

I need to use the following code for a command line function, but it
does not seem to like the syntax. It does not seem to like the "=" ,
any ideas?

=RUNADDONWARGS("SaveAsWeb","/target=c:\temp\mypage.htm /quiet /prop /
startpage=1 /endpage=3 /altformat /priformat=vml /secformat=jpg /
openbrowser")

Thank you kindly for anytime and thoughts.

ensure that the folder 'temp' exists.
 
B

bcap

Hi,

Thank you, I do have the temp directory.

When I run this code from the command line ...

c:\>=RUNADDONWARGS("SaveAsWeb","/target=c:\temp\mypage.htm /quiet /
prop /startpage=1 /endpage=3 /altformat /priformat=vml /secformat=jpg /
openbrowser")


I get this message:

'RUNADDONWARGS' is not recognized as an internal or external command,
operable program or batch file.
 
P

Paul Herber

Hi,

Thank you, I do have the temp directory.

When I run this code from the command line ...

c:\>=RUNADDONWARGS("SaveAsWeb","/target=c:\temp\mypage.htm /quiet /
prop /startpage=1 /endpage=3 /altformat /priformat=vml /secformat=jpg /
openbrowser")


I get this message:

'RUNADDONWARGS' is not recognized as an internal or external command,
operable program or batch file.

sorry, yes, I misread what you were doing with it. RUNADDONWARGS can't
be used from the command line like that, it's a Visio shapesheet
command.
 
B

bcap

Thank you.

Do you know if there is a way to use orgwiz and generate a HTML file
instead of a VSD file? I am currently using the following code but do
not know how to tell it to open it as an HTML.

orgwiz /DATASOURCE=OrgDB,TABLE=BuildRelationships /display-
fields=Name,GroupName,Reports_to

Thank you again!!!
 
P

Paul Herber

Thank you.

Do you know if there is a way to use orgwiz and generate a HTML file
instead of a VSD file? I am currently using the following code but do
not know how to tell it to open it as an HTML.

orgwiz /DATASOURCE=OrgDB,TABLE=BuildRelationships /display-
fields=Name,GroupName,Reports_to

Once you've opened the Visio file you will then have to cause some
action to be performed, click a button, a menu or something.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top