Hi,
In this link:
http://support.sas.com/documentation/onlinedoc/guide/ you can find information about VB Scripting for Enterprise Guide.
Download EG 4.1 specific material at this link:
Automating SAS Enterprise Guide with Scripts. Return always to this documentation for examples:
OLE Automation Reference Help
Also, at this link:
http://support.sas.com/kb/ you can do a keyword search for "VBScript" to retrieve some examples.
As for your specific request, I do not have a working example for a Process Flow/Ordered List Item, however, I do have a Query example:
Dim prjName
prjName = "C:\temp\myProject.egp" 'Project Saved in EG 4.1
Dim objGuide
Set objGuide = CreateObject("SASEGObjectModel.Application.4") 'EG 4.1
Dim prjObject
Set prjObject = objGuide.Open(prjName,"")
Dim ProjectItems
Set ProjectItems = prjObject.ProjectItems
Dim Query
Set Query = ProjectItems("Query for CLASS")
Good Luck!