lingo-l Keyboard Input

2004-10-08 Thread mike cash

All,
I'm trying to set up a text field for user input.  When the user is finished 
with typing, I want him/her to press 'RETURN' to advance to the next frame.  
I'm using the following sprite script to trap the RETURN key:

on keyDown
 if the keyPressed = RETURN then
   go next
 end if
end
Problem is when I run the movie, I can no longer enter text into the field 
(yes, editable = 1).

Any suggestions?  (Dir. MX on PC).
TIA.
Mike
[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 Lingo to control two computers simultaneously???

2004-08-17 Thread Mike Cash

All,
I have a HUGE project that requires two computers to be controlled at the
exact same time (specs below).  In short, each computer will run a separate
presentation.  When the presenter is ready to continue he/she hits the
button (presentation switch/mouse/some kind of I/O device) and both
computers must change at the same time.

The total presentation will consist of 6 hrs. of mpeg2 and multiple film
loops (per computer).  I've already worked out the mpeg2 playback and the
non-stop motion backgrounds (filmloops), the biggest problem I'm running
into is how to control both computers at the same time.

Initial thought was one USB (switch i.e. mouse) fed into each computer.  I
was informed that USB wouldn't work that way and there are no USB splitters
that are made to be used that way.

What I'm stuck on now is an Infrared Presentation Switch...two of the same
model using a receiver at each computer and only one of the switches.

My question is, is there a way to do this via Lingo instead (i.e. one
presentation switch controlling one computer and Lingo feeding a command to
the second computer via Ethernet/USB or something)?

Specs:
Computers: 3.0 Ghz Processor / 2Gb ram / WinXP Pro
Software: DirMX

Any and all ideas are extremely welcome.

TIA
Mike
[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 Change ScreenRes in Win XP

2003-01-22 Thread mike cash




Hey all,
Trying to simply change the user's screen res using DMX and Win XP.
Tried BuddyAPI, no luck  --- tried changeres from DMTools, again, no luck.

;(

Any tips would be great.  TIA.

_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

[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 Can't Find Excel File

2002-12-30 Thread mike cash



Greetings all...
I'm working on a very simple one screen interface for my client that has 12 
links.  Each link opens a file (contained on the CD).

The files consist of Microsoft Word (.doc), Microsoft Excel (.xls) and Adobe 
Acrobat (.pdf).

The Word and Acrobat files work just fine...the Excel application opens with 
the error message Can't find file.  ...if the user has Excel '97...newer 
versions of Excel opens the file no problem.

I've tried putting the file on the same level as the projector, tried 
renaming it and tried about a dozen other things.

Any clues why the older version of Excel Can't find this file? (BTW, with 
Excel '97 open, you can go to 'File -- Open' and browse to the file and it 
opens fine.

Running D8.5 on a pc (win XP).

TIA


_
The new MSN 8: smart spam protection and 3 months FREE*.  
http://join.msn.com/?page=features/junkmailxAPID=42PS=47575PI=7324DI=7474SU= 
http://www.hotmail.msn.com/cgi-bin/getmsgHL=1216hotmailtaglines_smartspamprotection_3mf

[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 Can't Find Excel File

2002-12-30 Thread mike cash





Try getting the path to the Excel file using BAPI's baShortFilename 
function. My guess is the path to the file isn't being fed to Excel97 in a 
way it can understand, and that if you send the short path to the file with 
your open command, it might just work.

-- WthmO

Thanks, I'll try that...but the file has already been renamed to 
VSR.xls...pretty short.

_
MSN 8 with e-mail virus protection service: 3 months FREE*. 
http://join.msn.com/?page=features/virusxAPID=42PS=47575PI=7324DI=7474SU= 
http://www.hotmail.msn.com/cgi-bin/getmsgHL=1216hotmailtaglines_eliminateviruses_3mf

[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 Can't Find Excel File-FOUND! ;)

2002-12-30 Thread mike cash



Try getting the path to the Excel file using BAPI's baShortFilename 
function. My guess is the path to the file isn't being fed to Excel97 in a 
way it can understand, and that if you send the short path to the file with 
your open command, it might just work.

-- WthmO

Thanks!!!  The baShortFileName worked great!

_
The new MSN 8: smart spam protection and 3 months FREE*.  
http://join.msn.com/?page=features/junkmailxAPID=42PS=47575PI=7324DI=7474SU= 
http://www.hotmail.msn.com/cgi-bin/getmsgHL=1216hotmailtaglines_smartspamprotection_3mf

[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 FTP via Director

2002-10-16 Thread mike cash



Hi all,
I was wondering if anyone knew of an Xtra that would aid in the FTPing of a 
file.  Basically, the app I'm working on will save out a .txt file that 
will have to be FTP'd to a specified server.  I'd love to simplify the 
process by not only saving out the .txt file, but having it immediately FTP 
to the server using Director (assuming a connection to the net is available 
obviously).

Any leads would be appreciated.  I tried searching the acrhives, but to no 
avail ;(

BTW, using D8.5 on pc.

TIA
Mike Cash

_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

[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 FTP via Director

2002-10-16 Thread mike cash


Do you even need a text file? Maybe it would be handier to stuff the
whole thing into a database.

Exactly the intent!  Good call ;)   I'm writing this app for a 
Sys-Admin...she will write a script that parses the data into her database.  
The reason for the .txt file is that the information HAS to be intered by 
the reps out in the fieldif there is no connectiviy (which there isn't 
most of the time), then the data needs to be saved out to a file and u/l 
when internet connection is detected.

Of course, if there IS connection, then sending the data directly to the 
server would be ideal...good suggestion.

I will check out the Direct FTP, again, thanks.

_
Unlimited Internet access for only $21.95/month.  Try MSN! 
http://resourcecenter.msn.com/access/plans/2monthsfree.asp

[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 shut down a kiosk?

2002-07-18 Thread mike cash


Hmm, well, if your script error issue isn't the cause of the problem
(it probably is), then try pulling the MPGs.

Well, unfortunately, bug was NOT the problem.  Bug is fixed, checked on both 
kiosks this a.m. and both machines were powered down!  AAARRRGGGHHH!

_
Send and receive Hotmail on your mobile device: http://mobile.msn.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 shut down a kiosk?

2002-07-18 Thread mike cash


Start logging everything that's going on in your kisok, then when you find 
it down you can see what the last thing that was done.

That's a great idea...unfortunately I'm already doing that as well.  The 
problem is that most times the computer is turned off.  If the comp. loses 
power, then Dir. just quits with it and doesn't know to write before 
closure.

Is it possible to write a .txt file describing where in the movie Dir. is 
immediately before a script error?  --Probably pretty basic, but my brain is 
a little fried at this point.

TIA

_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.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 shut down a kiosk?

2002-07-17 Thread mike cash


So if you've got a screen someplace where video's running, and the user has 
the option to leave that screen at any time, make sure you do a pause on 
the video first, then leave the screen.

Also, something else occurred to me -- if there's a screensaver running on 
that system, try disabling it. It could do who knows what to your 
production.


Two very good points! Basically, I've set up what I call my own 
screen-savers...When there is no interaction with the Kiosk (timeOut), then 
Dir. plays a new movie which contains an mpg2 file that is basically a 
commercial for the city.  When that ends, the same Dir. movie plays an mpg2 
file that is basically an animated 'Main Menu' screen which is interactive.  
Looks great and works well, well, usually. Pausing the video is something 
I'll definitely look into.

Though, throughout this discussion, one of those pesky little 'bugs' was 
found in the software (OOPS!  -- and I don't mean OOP).  When this bug 
popped up, the user was alerted to continue or not.  I believe this will 
solve the issue.


Thanks for all suggestions so far.


_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.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!]



lingo-l shut down a kiosk?

2002-07-16 Thread mike cash

Greets, I have a kiosk running in a very public place.  Somehow, the 
Director program is being exited out of, and randomly, the computer itself 
is turned off.


The question I have is, how does one exit out of Director?   Keeping in mind 
that there is NO keyboard, No mouse (touch-screen monitor), the exitLock is 
set to TRUE and there is a 15 - 20 minute UPS backup.  Oh, yeah, there is no 
'exit' button or link either.

I've searched the program over and over for bugs that might cause an error 
message and prompt the user to Continue or not, haven't found anyyet.

Any ideas?

TIA
Mike Cash





_
Chat with friends online, try MSN Messenger: http://messenger.msn.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 shut down a kiosk?

2002-07-16 Thread mike cash


Well, there's something going wrong someplece. Some more information
about what's happening is in order, as well as the OS this is running
on, what the program itself is doing, what version of Director you're
running, what Xtras you've used, and so on.

Duh, sorry about that...Dir. 8.5 running on Win XP.  DirectMedia and 
BuddyAPI are only real xtras being used.


Would now be a good time to suggest running it on a Mac instead? They
really are more stable for rich media, and with kiosks they're pretty
much mandatory.

Hehe...little too late for that.  Will keep it in mind for next kiosks 
though, thanks.

_
Send and receive Hotmail on your mobile device: http://mobile.msn.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 Print

2002-06-04 Thread mike cash

Well, tough. The user selected print, and should not be shocked when a 
print options dlog appears. The vast, vast, overwhelming majority of users 
have printed *something* at some point, and are not put off by a print 
dlog. Those that are will have to learn eventually, so why write coddling 
code? That's on par with wanting to install pads on everything in the 
universe on the grounds that careless people who bump into things will get 
hurt. Rather than padding the universe it makes infinitely more sense to 
allow those few to run into stuff until they learn how not to stub their 
toes. Inconvenience a few rather than the majority.

Put another way I think you're worrying way too much about something 
utterly trivial.


I am in complete agreement.  And have already (exhaustedly) argued that 
point with my peers/client.  Unfortunately, my client doesn't agree!  And 
their the ones paying the $20k + for this project.  If I don't give them 
what they want (which is possible function, just a little more inconvienent 
for me), then they will find someone willing to be inconvenienced for the 
$20k.

So, that being said, I will set off on my journey to hopefully discover the 
possibilities...or create my own.

FYI, I can sit here and complain about not only the stupidity(ignorance) of 
users, but also that of clients who just magically want computers to do 
everything for them.  But, that's not very conducive to any positive action 
(that action being an answer).

Instead of being a possible source of solution, you have stepped into the 
arena of being part of the problem:  Those that are ignorant and want the 
world to change for them ...and those that complain about how the world 
shouldn't have to change/simplify for the others (i.e. Do it MY way or 
learn it MY way!).

If you choose to be a programmer/developer for yourself, then by all means, 
do it your way and your way only.  But, if you program for a living (or 
try), then you will have to inevitably do something that you believe is 
pretty stupid.  That's part of BUSINESS - as you well know.

You are a great resource for those of us with questions on Director, I thank 
you for that.  But if you're not going to help, then please don't post.

Sorry if I sound a little miffed, you caught me on a very bad week!




_
Chat with friends online, try MSN Messenger: http://messenger.msn.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 Print

2002-06-04 Thread mike cash




I feel for you, I did a kiosk that had to print without the print dialog,
What I had to do is go to the printer manufacturer and get them to write a
print driver that didn't pop up the print dialog. there was no other way to
do it and keep the formatting of the page.

another way around it is to write a printing app in C++ or any other
language that allows you to bypass the OS print system control and send 
your
info to it with an open command you will have to write the data to an
external file to do this.

The final way is to use the master app xtra and try to track down the print
dialog and send the OK message to it. This usually doesn't work to well
because the print dialog usually halts director.

I know this isnt to helpful

Pat Beal


Thanks for the suggestions...both you and Sean.  And actually the 
suggestions DO help.


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

[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 Print

2002-06-01 Thread mike cash



Hey all, trying something that I thought would be fairly simple.  I'm trying 
to print a text field from director, not the stage and not necessarily the 
sprite.  The sprite I'm using intentionally only includes about 1/2 the data 
of the text field.  When printed, all data needs to be printed...hence, I 
need the field member from the cast printed.

If I use Print-O-Matic Lite, then the user ends up with the ugly Print 
dialouge box, which of course, many people are scared of (oh, someday all 
will understand the basics of computers).

If I use BuddyAPI...it only prints if the data is in it's own file (i.e. 
.txt file).

TIA -- BTW, using D8.5 on PC.

Mike Cash
Videobred.com
Jonahmusic.com

_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx

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