I am trying to make an AppleScript to open the HTML source for the current browser tab into BBEdit.
Safari has a property named "source" within the class "document", but I cannot find a similar reference within the OmniWeb properties to the "browser" or "tab" classes. (I am reading through the OmniWeb AppleScript dictionary from the Script Editor.)
By using the "source" property for a Safari document, I can get this to work with this reference:
set safariSource to the source of document 1 as string
Does anyone know if the same kind of thing is possible within OmniWeb?
Thanks,
Rob Johnson
Safari has a property named "source" within the class "document", but I cannot find a similar reference within the OmniWeb properties to the "browser" or "tab" classes. (I am reading through the OmniWeb AppleScript dictionary from the Script Editor.)
By using the "source" property for a Safari document, I can get this to work with this reference:
set safariSource to the source of document 1 as string
Does anyone know if the same kind of thing is possible within OmniWeb?
Thanks,
Rob Johnson