RE: lingo-l buddy api lingo help

2003-01-16 Thread Brad Hile
Mark A. Boyd wrote:
 OK = baOpenFile(the pathName test.txt, maximized)

 3. Even though the Buddy API help file still use it, the pathName is
 obsolete. Substitute it with the moviePath.

 OK = baOpenFile(the moviePath test.txt, maximized)




Actually you'll need Maximised (note the s instead of z) unless there's a
US version of the xtra for download.
BuddyAPI is from an Australian developer and we speak funny sometimes ;)

Also I noticed you used a .txt file as the test file.  Neither word or excel
will open with this file only notepad in general. (you probably knew that
but was worth mentioning)
You will need to look for the application's location using baFindApp(
doc ) baFindApp( xls ), doc may return the wordpad location however so I
tend to use baFindApp( dot ) then use the lingo open file with command
or baShell for more control.

HTH

Brad




 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Mark A. Boyd
 Sent: Wednesday, 15 January 2003 12:30 PM
 To: [EMAIL PROTECTED]
 Subject: Re: lingo-l buddy api lingo help


 At 17:00 2003-01-14, marcus brooke wrote:
 set OK = baOpenFile(thepathName  test.txt, maximsied

 You don't say, but I imagine the error dialog gave more hints as to what
 went wrong - at least in authoring.

 1. You didn't close your parentheses.

 2. thepathName should be two separate words or you'll get Script error:
 Variable used before assigned a value. with a question mark immediately
 following thepathName.

 OK = baOpenFile(the pathName test.txt, maximized)

 3. Even though the Buddy API help file still use it, the pathName is
 obsolete. Substitute it with the moviePath.

 OK = baOpenFile(the moviePath test.txt, maximized)



 --
 Mark A. Boyd
 Keep-On-Learnin' :)

 [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!]



RE: lingo-l buddy api lingo help

2003-01-16 Thread Mark A. Boyd
At 00:03 2003-01-16, Brad Hile wrote:

Actually you'll need Maximised (note the s instead of z) unless there's a
US version of the xtra for download.
BuddyAPI is from an Australian developer and we speak funny sometimes ;)


Good catch. I probably would not have noticed it since I always use 
normal. I wasn't any more accurate than the original poster's maximsied ;-)



--
Mark A. Boyd
Keep-On-Learnin' :)

[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!]


Re: lingo-l buddy api lingo help

2003-01-15 Thread biju george

--- marcus brooke [EMAIL PROTECTED] wrote:
 Hi Guys I hope someone can help,
 
 It was recommended that I get the Buddy Api xtra to
 launch word and excel 
 files from a Director exe. But can't for the life of
 me get my head round 
 the script.
 
 The script on the help me file is
 set OK = baOpenFile(thepathName  test.txt,
 maximsied
 
 I get the script and what it does, but when I put in
 on a mouse event and 
 create a projector is throws up an error message
 Script Error. Continue?
 Does anyone know what I'm doing wrong?? Help Please.
 
 I'm working in Director 8.0, PC, Windows 98.
 Thanks
 Marcus



Hi Marcus,

The error is due to the reason that you have not put
budapi.x32 as a file inside the xtras folder in
the same level of the projector. ie., your .exe
file. Including the same inside projector won't go
with some platforms. Rest of the commands no problem.

Sometimes you have to include budapi32.dll too along
with the budapi.x32 file in the xtras folder,
especially when dealing with special command strings.

Cordially,

Biju George.



__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
[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!]



Re: lingo-l buddy api lingo help

2003-01-14 Thread duchai
Hi,
I think when you created projector you don't check to 
option: Include in projector on ControlMovieXtras.

 Original message 
Date: Wed, 15 Jan 2003 01:00:25 +
From: marcus brooke [EMAIL PROTECTED]
Subject: lingo-l buddy api lingo help
To: [EMAIL PROTECTED]

Hi Guys I hope someone can help,

It was recommended that I get the Buddy Api xtra to launch 
word and excel 
files from a Director exe. But can't for the life of me get 
my head round 
the script.

The script on the help me file is
set OK = baOpenFile(thepathName  test.txt, maximsied

I get the script and what it does, but when I put in on a 
mouse event and 
create a projector is throws up an error message Script 
Error. Continue?
Does anyone know what I'm doing wrong?? Help Please.

I'm working in Director 8.0, PC, Windows 98.
Thanks
Marcus






_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

[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!]



Re: lingo-l buddy api lingo help

2003-01-14 Thread Mark A. Boyd
At 17:57 2003-01-14, [EMAIL PROTECTED] wrote:

Hi,
I think when you created projector you don't check to
option: Include in projector on ControlMovieXtras.


Since Marcus mentioned that he created a projector, I'd bet you're right. I 
prefer marking all those xtras NOT to include in projector and copy the 
necessary Xtras into an Xtras folder next to the projector.



--
Mark A. Boyd
Keep-On-Learnin' :)

[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!]


Re: lingo-l buddy api lingo help

2003-01-14 Thread Mark A. Boyd
At 17:00 2003-01-14, marcus brooke wrote:

set OK = baOpenFile(thepathName  test.txt, maximsied


You don't say, but I imagine the error dialog gave more hints as to what 
went wrong - at least in authoring.

1. You didn't close your parentheses.

2. thepathName should be two separate words or you'll get Script error: 
Variable used before assigned a value. with a question mark immediately 
following thepathName.

OK = baOpenFile(the pathName test.txt, maximized)

3. Even though the Buddy API help file still use it, the pathName is 
obsolete. Substitute it with the moviePath.

OK = baOpenFile(the moviePath test.txt, maximized)



--
Mark A. Boyd
Keep-On-Learnin' :)

[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!]