Jump to content


Photo

Firefox and Snagit Questions


  • Please log in to reply
3 replies to this topic

#1 DreamTeam

DreamTeam
  • Members
  • 5 posts

Posted 15 August 2012 - 05:51 AM

Hi,

Can someone please help me with the following:

Q1. How can I set the following command for AutoHotkey:

Enable Ctrl + S to execute the following command:

Ctrl + D (to bookmark in Firefox) and then Ctrl + W (to close the tab) --all in one instance

Q2. In Firefox, use Snagit to capture the webpage using autoscroll:

Enable "Insert" button to execute the following command:

In the focused window (Firefox), send "Print" button and then move the mouse to bottom-center of the window and click the left mouse button.

Note: I have a large resolution monitor so Firefox window is never at the same coordinates.

Q3. In Firefox, use Snagit to capture the active Firefox window:

Enable "Pause" button to execute the following command:

In the focused window (Firefox), send "Print" button and then move the mouse from top-left to right-bottom in the viewport only (area for viewing website, no toolbar) and then click the left mouse button.

Note: I have a large resolution monitor so Firefox window is never at the same coordinates.

Thank you!

James

#2 Guests

  • Guests

Posted 15 August 2012 - 07:04 AM

You want to use

Creates context-sensitive hotkeys and hotstrings. Such hotkeys perform a different action (or none at all) depending on the type of window that is active or exists.
Source: http://www.autohotke...IfWinActive.htm

and then setup your <!-- m -->http://www.autohotke...ds/Send.htm<!-- m --> the keystrokes you want.

Start with the <!-- m -->http://www.autohotke....html#tutorials<!-- m --> if you're "new" to AutoHotkey. Then try something, post code if you get stuck.

#3 DreamTeam

DreamTeam
  • Members
  • 5 posts

Posted 03 September 2012 - 12:37 AM

Hi,

I have the following:

Insert::
Send, {PrintScreen}
Sleep, 1100
MouseClick,, 960, 1100 ; (adjust CoordMode if needed)
return

Q1: Instead of using 960, 1100 coordinates, how do I make the mouse click to happen using percentage of the page instead of exact coordinates?

Pause::
Send, {PrintScreen}
Sleep, 1000
MouseClickDrag, Left, 0, 115, 1902, 1160 ; (adjust CoordMode if needed)
return

Q2: Instead of using left coordinates, how do I make the mouse click to happen using left 0 of the actual active window and percentage of the page instead of exact coordinates?

Thank you for your help!!

James

#4 a_h_k

a_h_k
  • Members
  • 681 posts

Posted 03 September 2012 - 07:01 AM

If you're wanting to save the webpage as an image, you could alternatively use a Firefox extension, such as Save Page as Image