topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday April 25, 2024, 3:22 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dwilbank [ switch to compact view ]

Pages: prev1 2 3 [4]
76
Cool.
I fooled with the color and font size and suspect I can change the font color too with a little research.
(What about the font itself? Or are we stuck with this Arial type font?)

The only thing left is to take out code, believe it or not.

All our machines run at the same screen resolution (1280x768), and our encoding app always runs full screen, so I don't need the overlays to be dynamically positioned at all.
Strict X and Y and W and H values which I can change by hand would be perfect. (I'll be spacing multiple colored boxes and up to 12 buttons all over the interface where there is unused space)

Will I be able to place buttons within the same space as the color overlay?

Can't wait to try v2!

F1::
{
    Gui, 1: Destroy
    Gui, 2: Destroy

    ; Get stats for the active window.
    WinGetPos, X, Y, W, H, A

    ; Build out first GUI for the overlay.
    Gui, 1: +Toolwindow -Caption +Lastfound +AlwaysOnTop
   
    Gui, 1: Font, s60 ; Change the s# value to adjust font size.
    Gui, 1: Add, Text, xm+570 ym+125 w100 h25 0x200 vmyText, EVDCAP 6 ; Change the xm/ym

values to position the text.
    Gui, 1: Font

    Gui, 1: Color, Red ; Change overlay colour here.

    Gui, 1: Show, % "x" . x . "y" . y . "w" . w . "h" . h, Overlay

    GUI_ID := WinExist()
    ; Set it transparent and make it click-through.
    WinSet, Transparent, 85         , % "ahk_id " . GUI_ID ; Change the numerical value for opaqueness

amount.
    WinSet, ExStyle    , ^0x00000020, % "ahk_id " . GUI_ID ; Leave this value alone.

    ; Build out second GUI for the buttons.
    Gui, 2: Margin, 0, 0
    Gui, 2: +Toolwindow -Caption +Lastfound +AlwaysOnTop
    Gui, 2: Add, Button, x y w100 h25 vmyButton1 gonClick, Click 1
    Gui, 2: Add, Button, x y w100 h25 vmyButton2 gonClick, Click 2
    Gui, 2: Show, % "x" . ( x + w ) . " y" .  y
}
Return

onClick:
{
    Gui, 2: Submit, NoHide
    If ( A_GuiControl = "NTSC" )
    {
        ; Do stuff here.
        MsgBox, (code for switching to NTSC to be inserted later)
    }
    Else If ( A_GuiControl = "PAL" )
    {
        ; Do other stuff here.
        MsgBox, (code for switching to PAL to be inserted later)
    }
}
Return

77
Well sir. I'm going to have to go to work tomorrow just to play with this.
Thanks, and will have a report for you soon!

78
exactly!

and a non programmer like myself could change the dimensions of the box to fit our screens, or create another box, just by cutting and pasting code and changing x and y values?

79
I'm away from work for the weekend, but the software interface is shown on page 9 of the manual here.
http://www.digital-r...m3.1_Users_Guide.pdf
Just imagine that interface tiled four to six times on a widescreen monitor using TightVNC...

Most people use a raritan switcher to switch control and view to each machine one-at-a-time. My per-machine AHK GUI idea would also let them instantly know which machine they are using. Right now they have to switch away from the machine to see what the menu tells them, then switch back, before they are sure they are using the right machine.

Thx

80
Hmm
Sounds like I would still be looking at small text, and wouldn't have visible script buttons...

81
yeh
these screens are shrunk down much of the time - multiple remote sessions all fitting on my one screen

82
Hi.
Not sure if this would be useful to anyone else, but I could really use a solution for individualizing my multiple VNC sessions at work. It's impossible to tell one remoted machine from another unless we squint at the frame of each VNC session. I have already made custom mouse cursors for each machine, but that only goes so far...

I would hope to have a different AHK script running on each machine, all of which have the identical gray video capture software interface. The script would allow the user to know in an instant which machine he/she was remoting, by tinting portions of each interface a slightly different color, and also placing a big "CAP6", "CAP7" or "CAP8" label in an unused part of the screen.

All these graphics would be "click-though", of course, so that the user wouldn't even know a script was running. He would just say, "Gee, this program looks different."

I know AHK GUI will do this, but I made a valiant try and discovered it would take months of study to understand just the instructions.

If I could get a pair of boxes created at about 30% transparency, with random color tints, and random text inserted in them I'm sure I could figure out how to modify the XY coordinates and the RGB values from there. If I could get two buttons that launched generic scripts, I could also figure out how to move the buttons (I hope) and create more to launch other scripts.

And I would have joy.

Thanks!

83
Find And Run Robot / Re: I think I'm missing the basics
« on: September 11, 2009, 04:01 PM »
ah
i was hoping for a simple way to change the codes...
thx

84
Find And Run Robot / Re: I think I'm missing the basics
« on: September 11, 2009, 02:29 PM »
Thx

gt for gmail tasks seems to conflict with gt for google translate...

Will I find the solution in the videos?

???

85
Find And Run Robot / Re: I think I'm missing the basics
« on: September 10, 2009, 05:54 PM »
yikes
I typed aplugins, got nothing
and now I can't search for anything!


86
Find And Run Robot / I think I'm missing the basics
« on: September 10, 2009, 05:17 PM »
Hi.
Love the basic program, but every time I find a new plugin, I seem to be missing a basic step once I install it.
How do I trigger them!
It took me forever to find out that "gt" will activate the google tasks plugin, and now I can't find any documentation on how to get the timer plugin to activate.

Is there a way to find these codes out from within FARR?

Thanks

Pages: prev1 2 3 [4]