Weird $ Variable. On further inspection seems to be a light implemtation of a variable from ExtendScript?? http://jongware.mit.edu/idcs6js/pc_%24.html
$.evalFile(filename:String, timeout:int) // not sure if fw cares about timeout
$.getenv(str:String) // gets enviroment variables...interesting
Fireworks Document
dom.saveAllAsync()
dom.saveDocumentAsync()
dom.saveDocumentAsAsync(doc, saveAsCmd:Boolean)
dom.saveDocumentAsTemplateAsync()
dom.importFile(filepath:String, bounds:Rectangle, maintainAspectRatio:Boolean, pageNum:int, insertAfterCurr:Boolean)
Fireworks (fw) Object
fw.addProjectEntry(path:String, framenum:int, date:String)
fw.logChangeInProject()
fw.removeAllProjectEntries()
fw.getProjectEntries()
fw.associatePngwithFw()
fw.doBatchProcess(files:Array)
fw.getRootDirectory()
File Class. No idea what any of these do. Some are properties, some are functions. (EDIT; http://jongware.mit.edu/idcs6js/pc_File.html, some neat stuff in there)
decode
encode
toSource
toString
saveDlg
openDlg
execute
getRelativeURI
changePath
remove
rename
resolve
copy
tell
seek
writeln
print
write
readln
readch
read
open
createAlias
parent
displayName
modified
relativeURI
absoluteURI
fullName
fsName
exists
error
created
alias
eof
lineFeed
isProtected
isHidden
creator
Folder Class. Same as above - some are functions, some are properties. Untested. (EDIT: http://jongware.mit.edu/idcs6js/pc_Folder.html)
selectDialog
create
getFiles
selectDlg
myDocuments
commonFiles
appData
userData
temp
trash
system
appPackage
startup
current
BridgeTalk. This is for communication with Bridge. I don't really care about Bridge (who does?) but whatever... EDIT: I'm wrong, this class is for communication with other (Adobe?) apps: https://a248.e.akamai.net/f/1953/8974/2h/wwwimages.adobe.com/content/dam/Adobe/en/devnet/scripting/pdfs/javascript_tools_guide.pdf
bringToFront
isRunning
launch
appInfo
appInstance
appLocale
appVersion
appSpecifier
pump
send
timeout
body
sender