well how about postmessage
sending commands to other apps
if you don't have vlc player you can get it from here
http://www.videolan.org/vlc/
in this example it shows you how to send play and stop command in vlc mediaplayer
set window size 800,600
load dll "user32.dll",4
`uncomment this for media player
`esa=call dll( 4,"FindWindowA","WMPlayerApp","Windows Media Player")
`find vlc player
esa=call dll( 4,"FindWindowA","wxWindowClassNR","VLC media player")
`wm_command 273
`wm_close 16
do
if inkey$()="p"
print "playing"
sleep 5000
`for windows media player
`uncomment this for windows media player
`startplyer=call dll(4,"PostMessageA",esa,273,18808,0,0)
`send play mesage to player 273=wm_command 6020 is the play command for vlcplayer
startplayer=call dll(4,"PostMessageA",esa,273,6020,0,0)
endif
if inkey$()="s"
print "player stopped"
`uncomment this for windows media player
`stopplayer=call dll(4,"PostMessageA",esa,273,18808,0,0)
`stop vlc player wm_command=273 stop player=6019
stopplayer=call dll(4,"PostMessageA",esa,273,6019,0,0)
sleep 5000
endif
loop
you can use spy++ or simular to get the numbers for differnt programs
anyhow more to come
new learning center comming soon http://911.bounceme.net/