Sean, Can I e-mail you off the list. I need the help, but it's not my code and I am unsure about posting the code on the list. What are your thoughts about this issue?
Justin >> This code was purchased when I bought my buddy API application. It was an >> add-on offered. Specifically, it is the "open PDF file" AND the "open any >> file" behavior. > > Should I assume from this that you're not confident about modifying these > behaviors to include an alert line so you can see the filePath you're trying > to open? > > Somewhere in your behavior you'll (probably) find a line that contains > > baOpenFile(filePath, "state") OR baRunProgram(...) > > (NB: the local variable 'filePath' may be named differently, substitute as > necessary) > > Before this line add these: > > if (the shiftDown) then > alert filePath > end if > > Run your program, hold down the shift key and click the button that opens > the file and you SHOULD get an alert box telling you the path to the file > you're trying to open. Make sure the named file exists at that path. > Obviously it doesn't exist, > >>> It returns a file not found reply. > > but if you can see what it's *trying* to open you can figure out how to > correct it. > > HTH, > -Sean. > > [To remove yourself from this list, or to change to digest mode, go to > http://www.penworks.com/lingo-l.cgi To post messages to the list, email > [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is > for learning and helping with programming Lingo. Thanks!] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]