Jump to content



Photo

UDF to control Screengrab! (FireFox-AddOn) with FF.au3


  • Please log in to reply
10 replies to this topic

#1 Stilgar

Stilgar

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 406 posts

Posted 22 March 2009 - 09:19 AM

Here's an UDF for the FireFox-Addon Screengrab!

Screengrab!:

"Screengrab! saves webpages as images...

It will capture what you can see in the window, the entire page, ..."


Only some simple functions to copy or save a webpage. The file-type and the default name is the same like in Screengrab!

_FF_Screengrab.au3

Current functions:

_FF_Screengrab_SaveCompleteDocument
_FF_Screengrab_SaveVisibleDocument
_FF_ScreenGrab_CopyCompleteDocument
_FF_ScreenGrab_CopyVisibleDocument

Requirement(s).: FF.au3 >= 0.5.3.0 / MozRepl / Screengrab!

Edited by Stilgar, 28 April 2009 - 08:23 PM.






#2 Stilgar

Stilgar

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 406 posts

Posted 25 March 2009 - 04:45 PM

Updated to FF.au3 > V0.5.0.0.

#3 Stilgar

Stilgar

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 406 posts

Posted 28 April 2009 - 08:23 PM

Updated to FF.au3 > V0.5.3.0.

#4 trinitrotoluen

trinitrotoluen

    Adventurer

  • Active Members
  • PipPip
  • 145 posts

Posted 17 September 2009 - 09:46 PM

Hi,
Does anyone know the way screen grab is using to capture screen on Firefox ?

#5 Stilgar

Stilgar

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 406 posts

Posted 17 September 2009 - 10:43 PM

Hi,
Does anyone know the way screen grab is using to capture screen on Firefox ?

Hello,

I think that's the complete wrong forum and thread for this question, but if you look at source from screengrab (EmbeddedCapture.js, Grab.js and Java.js) then you can see how it works.

A better place to ask something like this would be there:
http://groups.google.com/group/screengrab

Regards

Edited by Stilgar, 17 September 2009 - 10:45 PM.


#6 trinitrotoluen

trinitrotoluen

    Adventurer

  • Active Members
  • PipPip
  • 145 posts

Posted 18 September 2009 - 12:19 AM

Hi,
Sorry and thank you

#7 GerardJ

GerardJ

    Seeker

  • Active Members
  • 16 posts

Posted 24 February 2010 - 01:26 PM

Is this UDF working with Screengrab v 0.96.2 and FF.au3 v0.6.0.1b-3?
Because I just installed this SCreengrab version and I can't get anything saved:


try{screengrab.copyCompleteDocument();}catch(e){'_FFCmd_Err';}; __FFRecv: _FFCmd_Err __FFSend: try{Screengrab.defaultFileName() + '.' + Screengrab.format();}catch(e){'_FFCmd_Err';}; __FFRecv: _FFCmd_Err

Edited by GerardJ, 24 February 2010 - 01:28 PM.


#8 furrycow

furrycow

    Prodigy

  • Active Members
  • PipPipPip
  • 177 posts

Posted 14 April 2010 - 05:02 PM

I'm having problems too, the current Screengrab is now v0.96.3 and i'm using FF.au3 v0.6.0.1b-3?

I am receiving the same error as that above.

Screengrab works fine when i use it manually, and i am having no problems with any other functions found in FF.au3

Any help on this matter, no matter how insignificant it may seem, would be VERY helpful!!

Thanks.
Instant Lockerz Invite - www.instantlockerzinvite.co.uk

#9 GerardJ

GerardJ

    Seeker

  • Active Members
  • 16 posts

Posted 20 April 2010 - 02:16 PM

It seems that the UDF can work only with an old version of screengrab (version 0.95 is exporting the functions the UDF is activating, but from version 0.96 the interface is completely different)

Is somebody able to write a small tutorial explaining how we could create an UDF for a Firefox plugin, and/or take as example the Screengrab addon, or the way to upgrade the existing UDF? With such tutorials, we could start being a bit more autonomous...

Edited by GerardJ, 21 April 2010 - 09:15 AM.


#10 GerardJ

GerardJ

    Seeker

  • Active Members
  • 16 posts

Posted 26 April 2010 - 09:27 AM

I've been able to modify this UDF so it can work with the last versions of ScreenGrab (tested with current version, which is 0.96.3), though I'm not able to give a proper tutorial...

At least, here is this modified version

#11 GerardJ

GerardJ

    Seeker

  • Active Members
  • 16 posts

Posted 26 April 2010 - 09:31 AM

I've been able to modify this UDF so it can work with the last versions of ScreenGrab (tested with current version, which is 0.96.3), though I'm not able to give a proper tutorial...

At least, here is this modified version


Sorry, I forgot to attch the file
Same interface as original one, except that it returns the filename in case of success (still returning 0 incase of failure), this is to help knowing which file is actually used when no filename is provided as input parameter

Attached Files






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users