Re: lingo-l (OT) Mac: move up a folder

2004-10-11 Thread Mats Leidö
You want to do that in Lingo? I didn´t think it 
mattered what you write nowadays. It works in 
authoring mode on Dir MX on the mac for me 
whatever I use.
To avoid potential problems, I always  use ../ 
in Director for both platforms. It works without 
problems IME.
The @, the applicationPath, the moviePath and all that is another story.

Hi All,
Given that ..\ will navigate up one directory 
from the current one on Windows, what is the Mac 
equivalent? Is it as simple as ..:? And is it 
the same for = OS9 and OSX?

Cheers,
-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!]


Re: lingo-l (OT) Mac: move up a folder

2004-10-11 Thread Mats Leidö
Perhaps I should add that in OS X and navigating 
with Terminal, it is ../. In OS9 and for 
example programming in AppleScript it must have 
been ..:

You want to do that in Lingo? I didn´t think it 
mattered what you write nowadays. It works in 
authoring mode on Dir MX on the mac for me 
whatever I use.
To avoid potential problems, I always  use ../ 
in Director for both platforms. It works without 
problems IME.
The @, the applicationPath, the moviePath and all that is another story.

Hi All,
Given that ..\ will navigate up one directory 
from the current one on Windows, what is the 
Mac equivalent? Is it as simple as ..:? And 
is it the same for = OS9 and OSX?

Cheers,
-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!]

[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 BUG -- NOOOOOOOOOOO!!

2004-10-11 Thread Mendelsohn, Michael
Ha!  Yes, I realize that was a ridiculous typo on my part.  My bad.
Wicked bad.

However, there's still an issue with baCopyXFileProgress not being able
to get at items more than 5 levels deep.  Sometimes when I post, I do so
hastily.

- Michael M.


[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 BUG -- NOOOOOOOOOOO!!

2004-10-11 Thread Stephen Ingrum
OK, now you've got us confused-
hmmm... seems to work for me (win2k, buddy 3.7- now with the MUCH BETTER 
non-swf help document)

longFolder=d:\1dir\2dir\3dir\4dir\5dir\6dir\7dir\
aFile=afile.txt
put bafileexists(longFolderaFile)
--1
put baopenfile(longFolderaFile,normal)
--44 (no error, opened fine)
put bafolderexists(longFolder)
--1
newFolder=d:\dir1\
put bacopyxfilesprogress(longFoler,newFolder,*.*,always,my title,0)
--0 (no error copied fine)
Stephen
Mendelsohn, Michael wrote the following on 10/11/2004 7:07 AM:
Ha!  Yes, I realize that was a ridiculous typo on my part.  My bad.
Wicked bad.
However, there's still an issue with baCopyXFileProgress not being able
to get at items more than 5 levels deep.  Sometimes when I post, I do so
hastily.
- Michael M.
[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 MUI OSX

2004-10-11 Thread Rob Wingate
Dean,

 Any help would be appreciated.

There are a few things of note in the MUI code you posted:

 on dotMUI me

The fact that 'dotMUI' from your MUI BIRTH  CALLBACK ROUTINES has 'me'
after the handler name indicates that this code may reside in a behavior or
parent script. To work properly, MUI callback handlers need to reside in
movie scripts.

 gMuiLoginProps.modal= FALSE

I can't really think of a situation where a 'login' dialog box should be
non-modal. You might avoid the problem altogether if gMuiLoginProps.modal =
TRUE, using Run() instead of WindowOperation().

 case( widgeName ) of
   Close MUI: WindowOperation (gMuiLoginObject, #hide)
 end case

If you're having trouble getting the button or closebox to cause the dialog
to vanish, replace the 2nd line with this:

gMuiLoginObject.WindowOperation(#hide)
gMuiLoginObject.Stop(FALSE)
gMuiLoginObject = VOID


You'd also want to trap the callback handler's #itemClicked event to store
whatever username the user enters.

Finally, and most importantly, for a login dialog, I'd suggest you use
BudAPI's baLogin() instead of MUI:

strUserName = baPrompt(Login to the VOTH Music Vault, User Name, EMPTY,
0,-2,-2)

It accomplishes everything you're doing with MUI in a single line, plus its
4th 'flags' parameter makes it much more configurable.

HTH,
Rob

[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 BUG -- NOOOOOOOOOOO!!

2004-10-11 Thread Chuck Neal
This may or not be related, but I have noticed that sometimes Buddy API
returns 0 for baFileExists() even when its there.  Have not narrowed down
why yet (path length, folder depth, etc) but it may be related if the Xtra
uses the same function internally to validate files.

-Chuck
--
Chuck Neal
CEO, MediaMacros, Inc.
[EMAIL PROTECTED]
http://www.mediamacros.com
--
Check out the Developers Mall 
Your one stop shop for all your Director Xtra Needs
http://www.mediamacros.net/customer


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stephen Ingrum
Sent: Monday, October 11, 2004 9:30 AM
To: [EMAIL PROTECTED]
Subject: Re: lingo-l BUDDY API BUG -- NOOO!!


OK, now you've got us confused-
hmmm... seems to work for me (win2k, buddy 3.7- now with the MUCH BETTER 
non-swf help document)

longFolder=d:\1dir\2dir\3dir\4dir\5dir\6dir\7dir\
aFile=afile.txt


put bafileexists(longFolderaFile)
--1

put baopenfile(longFolderaFile,normal)
--44 (no error, opened fine)

put bafolderexists(longFolder)
--1


newFolder=d:\dir1\

put bacopyxfilesprogress(longFoler,newFolder,*.*,always,my title,0)
--0 (no error copied fine)

Stephen


Mendelsohn, Michael wrote the following on 10/11/2004 7:07 AM:

Ha!  Yes, I realize that was a ridiculous typo on my part.  My bad. 
Wicked bad.

However, there's still an issue with baCopyXFileProgress not being able 
to get at items more than 5 levels deep.  Sometimes when I post, I do 
so hastily.

- Michael M.


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


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


lingo-l BuddyAPI: baLogIn() flags

2004-10-11 Thread Bertil Flink
Before I bother Gary, I just want to check if someone has used Buddy's baLogIn() 
function yet.
I may have missed something obvious.

I can't get one of the flags to work as described in the Help.

From the Help file: -
Five flags are currently defined:

1 only allow numbers to be entered
2 use * to mask the password input
4 Don't allow spaces to be entered
8 Do not allow blank user name
16 Do not allow blank password
---

Flag 1 doesn't work, I can still enter non-numerical characters.

All other flags, and combination of flags seem to work.
Flag 6 (2+4) for example, will mask password  filter spaces.

I wanted to check if flag 1 allowed only numbers for both fields or just the password 
field.

Does this sound familiar at all?

[Tested in DMX  DMX2004, WinXP Pro. Buddy v3.7, latest Help (uploaded today, I think) 
]



Bertil Flink
Creative Media



[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 (OT) Mac: move up a folder

2004-10-11 Thread Sean Wilson

You want to do that in Lingo?
I'm wanting to construct a full path to feed to FileXtra4 (which doesn't 
support '@' and variants), but having given it some more thought all I need 
to do is drop a directory when re-constructing the path at run time thus 
by-passing any need for ..\ or whatever.

Thanks,
-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!]