> Is there a document or a webpage where I can read it?
Recently Giuseppe provided me with a very nice example on how to add
vectors/rasters with a python action
qgis.utils.iface.addVectorLayer('/home/gio/Desktop/%att1.shp','%att2',
'ogr')
qgis.utils.iface.addRasterLayer('/home/gio/Desktop/att1.tif','%att2')