From: Paul Swanson on
I think that error means "access denied". You might not be able to print it
from the server, and Amy and Steve's suggestions to add it to OBP will
probably be the best way to go. That will cause it to download to the client
machine.

Are you using the 2004 version of the web player? It downloads content to
the users Documents and Settings folder. I think (I can't remember, I've
been using the 2004 version since it came out) previous versions downloaded
content to the Windows or WinNT directory, where users may not have rights.

--
_______________________

Paul Swanson
Portland, Oregon, USA
_______________________


"Diane Low" <webforumsuser(a)macromedia.com> wrote in message
news:f033mt$jk$1(a)forums.macromedia.com...
> Hi Amy,
> Yes, I checked with our IT person that loads to the test server. He
advised
> they had loaded the entire published file including the Files folder to
the
> test server.
>
> WhenI published using Paul's code, I began receiving the Shell error 5
msg.
> Darn.
>
> I then changed to the corrected code below (thanks Amy for noticing my
> incorrect slashes) if NetConnected then
> JumpPrintReturn("",NetLocation^"files//Glossary_Final3_12_07.doc")
> else
>
JumpPrintReturn("word.exe",FileLocation^"files\\Glossary_Final3_12_07.doc")
>
> I also manually added the word document to the Files Tab of OBP. I
selected
> the word document from the Files folder that is inside the file that holds
the
> published course. Unfortunately, when put on the test server, we again
> received shell error 5. The document is in the file. It is added to the
> published file, I don't understand why we are getting the shell error 5
now.
>
> I am ready to recommend that we put this document in the RoboHelp
Learning
> Guide that is linked to the course via HTML and be done with it. If the
user
> wants it, they can print it from the guide. Grrr.
>
> But I really want to understand why this is not working!
>
> Thanks everyone! I welcome any other suggestions.
> Diane
>
>


From: Paul Swanson on
Oh, I just noticed you have double-forward slashes. You should have only one
forward slash for directory separators. You need a double-backslash with
FileLocation because the backslash is also the escape character.

Try:

if NetConnected then
JumpPrintReturn("", NetLocation^"files/Glossary_Final3_12_07.doc")
else
JumpPrintReturn("", FileLocation^"files\\Glossary_Final3_12_07.doc")
end if

--
_______________________

Paul Swanson
Portland, Oregon, USA
_______________________


"Diane Low" <webforumsuser(a)macromedia.com> wrote in message
news:f033mt$jk$1(a)forums.macromedia.com...
> Hi Amy,
> Yes, I checked with our IT person that loads to the test server. He
advised
> they had loaded the entire published file including the Files folder to
the
> test server.
>
> WhenI published using Paul's code, I began receiving the Shell error 5
msg.
> Darn.
>
> I then changed to the corrected code below (thanks Amy for noticing my
> incorrect slashes) if NetConnected then
> JumpPrintReturn("",NetLocation^"files//Glossary_Final3_12_07.doc")
> else
>
JumpPrintReturn("word.exe",FileLocation^"files\\Glossary_Final3_12_07.doc")
>
> I also manually added the word document to the Files Tab of OBP. I
selected
> the word document from the Files folder that is inside the file that holds
the
> published course. Unfortunately, when put on the test server, we again
> received shell error 5. The document is in the file. It is added to the
> published file, I don't understand why we are getting the shell error 5
now.
>
> I am ready to recommend that we put this document in the RoboHelp
Learning
> Guide that is linked to the course via HTML and be done with it. If the
user
> wants it, they can print it from the guide. Grrr.
>
> But I really want to understand why this is not working!
>
> Thanks everyone! I welcome any other suggestions.
> Diane
>
>


From: Diane Low on
Hi Amy,
Here is our web player:
Complete 7.0 player (3.5 Mb)
awswax70.cab#version=7,0,0,69

We publish for intranet delivery where all users access the same LMS server.
These courses do not go to a public website.

I also read Paul & Steve's notes and took them into account. I used Paul's
code, removed the added file from the OBP and republished. We just tested it
on the test server and still received the shell error five (though we no longer
receive the Where is the EXE? window). At this point, our pilot testing begins
tomorrow so we are going to remove the Jump/Print/Return feature and move the
content to our RoboHelp Learning Guide so we can pilot test.

Our IT has not been able to help much citing they are unfamiliar with
Authorware. We have the option of calling Authorware TechSupport and if I had
more development time that is the direction we would go. You have all offered
great support and I appreciate all your efforts. Thanks again!



Diane



From: Amy Blankenship *AdobeCommunityExpert* on

"Diane Low" <webforumsuser(a)macromedia.com> wrote in message
news:f059k2$oer$1(a)forums.macromedia.com...
> Hi Amy,
> Here is our web player:
> Complete 7.0 player (3.5 Mb)
> awswax70.cab#version=7,0,0,69

I think this is the AW 7 version, not the 2004. I believe this installs
into C:\Windows\System32 (or System, depending on
OS)\Macromed\Authorwa\NP32ASW\AW70.

So you'll then look in there in your Files directory to see if your doc
downloaded.

> We publish for intranet delivery where all users access the same LMS
> server.
> These courses do not go to a public website.
>
> I also read Paul & Steve's notes and took them into account. I used
> Paul's
> code, removed the added file from the OBP and republished.

Which was pretty much the opposite of what should have happened.
JumpPrintReturn is not designed to print a file on a server, so continuing
to try to do that is destined to fail.

> We just tested it
> on the test server and still received the shell error five (though we no
> longer
> receive the Where is the EXE? window).

Well yes. The function can't do what you're asking it to do.

HTH;

Amy


From: Mike Baker **Adobe Community Expert** on

"Amy Blankenship *AdobeCommunityExpert*" <Amy_nospam(a)magnoliamultimedia.com>
wrote in message news:f03965$7ee$1(a)forums.macromedia.com...
>
> "Diane Low" <webforumsuser(a)macromedia.com> wrote in message
> news:f038cb$6fb$1(a)forums.macromedia.com...
> > Hi Amy,
> > We have Flash 9, AW7 & Shockwave 10 loaded on our machines and on the
> > users
> > machines.
> > There is always a chance that the document is being downloaded
> > somewhere we
> > don't expect. However, the download path in OBP is correct and when I
> > look at
> > the file/file folder, the document is shown right along with the aam
> > files.
> > We publish to a file folder on our main network drive. Our IT then
> > loads
> > the folder holding the published files to our LMS test server.
Everything
> > is
> > contained within that one file folder, if that information helps you.
> > After it
> > is internally tested we load it to the statewide LMS/server.
> > I hope I understand your questions, I'm trying.
>
> OK, only one question: What version of the web player are you publishing
> for? If you're not sure, paste the contents of the HTML page OBP produces
> here.
>
>

I'm in late on this thread but I don't see anyone asking the obvious... do
you have word installed on the machine you're testing with? The message
"Where is EXE for..." usually means it can't find the program that it's
supposed to use for that type of file. It can also mean that it incorrectly
parsed the extension, try a file with 8.3 format to verify that your syntax
is correct.

HTH,
Mike