From: Diane Low on 17 Apr 2007 12:06 The course we are developing uses the Jump/Print/Return variable to print a glossary. We added the Web Player Security KO, (with the trusted domains added) to the course so that it would run in "trusted" mode and allow this variable. When publishing, the "Show Security Dialog checkbox is checked on the For Web PLayer Tab. We have put the course on our LMS (Pathlore) test server. The course launches with no problem. However, when the Print glossary button is clicked, a pop-up window appears with "Where is the exe for Glossary_Final3_12_07.doc?" The document is located in a Files folder on the same level as the Xtra folder on the published course. In the course programming, the calculation icon for the glossary button contains the following address: JumpPrintReturn("",FileLocation^"Files\\Glossary_Final3_12_07.doc"). Any suggestions on why this isn't working? Thanks, Diane
From: Paul Swanson on 17 Apr 2007 12:17 When packaged for the web, FileLocation is the location of the Web Player. NetLocation is the location of the .aam file, so you will want to use NetLocation in place of FileLocation. If you want your code to work whether packaged for the web or as an exe, you could use the following: JumpPrintReturn("", test(NetConnected, NetLocation, FileLocation)^"Files\\Glossary_Final3_12_07.doc") -- _______________________ Paul Swanson Portland, Oregon, USA _______________________ "Diane Low" <webforumsuser(a)macromedia.com> wrote in message news:f02r9l$iqi$1(a)forums.macromedia.com... > The course we are developing uses the Jump/Print/Return variable to print a > glossary. We added the Web Player Security KO, (with the trusted domains > added) to the course so that it would run in "trusted" mode and allow this > variable. > > When publishing, the "Show Security Dialog checkbox is checked on the For Web > PLayer Tab. We have put the course on our LMS (Pathlore) test server. The > course launches with no problem. > > However, when the Print glossary button is clicked, a pop-up window appears > with "Where is the exe for Glossary_Final3_12_07.doc?" The document is located > in a Files folder on the same level as the Xtra folder on the published course. > > > In the course programming, the calculation icon for the glossary button > contains the following address: > JumpPrintReturn("",FileLocation^"Files\\Glossary_Final3_12_07.doc"). Any > suggestions on why this isn't working? Thanks, Diane >
From: Diane Low on 17 Apr 2007 13:23 Thank you for the quick response. I am putting it on the test server now. The address you gave looks like it will work. We had tried the following code, but it didn't work. Thanks Paul! Diane if NetConnected then JumpPrintReturn("",NetLocation^"files\\Glossary_Final3_12_07.doc") else JumpPrintReturn("word.exe",FileLocation^"files//Glossary_Final3_12_07.doc")
From: Amy Blankenship *AdobeCommunityExpert* on 17 Apr 2007 13:28 I don't really think that JumpPrintReturn works with a URL. You should probably put it in OBP instead. Also please note that the backslash (\) is for local paths and the forward slash is for network ones. You have it backward. "Diane Low" <webforumsuser(a)macromedia.com> wrote in message news:f02vr9$opa$1(a)forums.macromedia.com... > Thank you for the quick response. I am putting it on the test server now. > The > address you gave looks like it will work. We had tried the following > code, > but it didn't work. Thanks Paul! > Diane > > > if NetConnected then > JumpPrintReturn("",NetLocation^"files\\Glossary_Final3_12_07.doc") > else > JumpPrintReturn("word.exe",FileLocation^"files//Glossary_Final3_12_07.doc") >
From: Amy Blankenship *AdobeCommunityExpert* on 17 Apr 2007 13:37
Did you make sure that the glossary did, in fact, get downloaded where you thought it was? "Diane Low" <webforumsuser(a)macromedia.com> wrote in message news:f03086$pb8$1(a)forums.macromedia.com... > Hi Steve, > I did try adding the doc file to the File tab of OBP, but received the > same > error message as stated above in the test server. I eliminated so many > possibilities during troubleshooting (shell error 5/trust mode, etc among > them) > that it seemed like I needed to rethink the syntax of the calc icon. I > tried > several different expressions but while they would run in AW, they would > not > run when published and put on the test server. Frustrating, but I learn > more > each time I encounter a problem like this. > Thanks for your help! > Diane > :smile; > |