Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
RavWare OpenGL Xtra
Wait for a MouseClick or Keypress
Show a range of sprite channels
Get properties in a range of castmembers
QuickTime Notes
PopUp Field
Lingofish
Toggle Stay On Top
Dean Utian's Director Resources
zScript
MediaMacros Xtras Mall
 

 

 

Behavior Create Icon

Added on 9/16/1999

 

Compatibilities:
D6_5 D7 D8 PC Script

Required Xtras:
Buddy API

Rating:

Author: MediaMacros (website)

Creates PM Groups and Icons.

--Code by Chuck Neal
--Chuck@mediamacros.coc

on createIcon whatGroup, whatIcon, projectorName  
  set groupList = baPMGroupList( )
  set addPM = True  
  baSetWindowState(baWinHandle(), "StayOnTop")  
  repeat with x = 1 to count(groupList)    
    if getAt(groupList, x) = whatGroup then
      set iconList = baPMIconList(getAt(groupList, x))
      repeat with y = 1 to count(iconList)
        if getAt(iconList, y) = whatIcon then          
          set addPM = False      
        end if
      end repeat
    end if    
  end repeat    
  if addPM = True then
    baCreatePMGroup(whatGroup)
    set groupWin = baNextActiveWindow(100)
    startTimer
    repeat while the timer < 60
      nothing
    end repeat    
    baCreatePMIcon( the applicationPath & projectorName , whatGroup, the applicationPath & projectorName , 0 )    
  end if
  baCloseWindow(groupWin)    
  baSetWindowState(baWinHandle() , "DontStayOnTop")  
end

 


Upload Provided by ABCUpload ASP

Contact

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

Fax - (206) 339-5833

Send e-mail