Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Buddy Tray
Director's Third Dimension : Fundamentals of 3D Programming in Director 8.5
Dave Client
Simple Encryption / Decryption
Firefly CD Burning Xtra
QuickTime Notes
Mac Disk
Show Time
Psycho Pong
ResolutionX Xtras
MediaMacros Xtras Mall
 

 

 

Behavior To activate previous instance and quit

Added on 6/12/2000

 

Compatibilities:
behavior D7 D8 PC

Required Xtras:
Buddy API

This item has not yet been rated

Author: KumarK

To activate previous instance and quit(this script should be used in moviescript of a projector)

---- written for Director 8 ---
---- Kumar.K kumark@icode.com ----

-- Get Behavior description --
on getBehaviorDescription
  return "This Behavior checks wheteher previous instance of the same application running. " & RETURN &
"If yes it activates the previous instance and exits to windows" & RETURN & RETURN &
  "This Behavior needs Buddy API Xtra to work, so please ensure You Have Buddy API Xtra." & RETURN & RETURN &
  "* Please use this script in movie script of the projector file"
end
-- Get Behavior description --

-- activate previous instance --
on activateprevious
  set wnd = baPrevious( false )
  if wnd <> 0 then    
    baWindowToFront( wnd )
    quit    
  end if
end activateprevious
-- activate previous instance --

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail