Jump to content

Is that possible?


Recommended Posts

hmmm.... maybe make a window in witch the transparency is 0% (invisible) and add configureable contents to the window, make it appear in a certain position? just guessing here, but im pretty sure u cand o all of what i just said, i'm not to good with auto-it as i just started... but ill try to look into it

Edit: i found transparency...

WinSetTrans

Sets the transparency of a window. (Windows 2000/XP or later)

WinSetTrans ( "title", "text", transparency )

Parameters:

title = The title of the window to change.
text = The text of the window to change.
transparency = A number in the range 0 - 255. The larger the number, the more transparent the window will become.

Example:

Opt("WinTitleMatchMode", 2); Match substring
WinSetTrans("Notepad", "", 170); Make Notepad window semi-transparent.
Edited by TK_Incorperate
Link to comment
Share on other sites

also found how to move the window....

WinMove

Moves and/or resizes a window.

WinMove ( "title", "text", x, y [, width [, height]] )

Parameters:

title = The title of the window to move/resize. 
text = The text of the window to move/resize. 
x = X coordinate to move to. 
y = Y coordinate to move to. 
width = [optional] New width of the window. 
height = [optional] New height of the window.

the normal example doesnt help you much so here's one more fitting

Example:

WinMove("WindowNameHere", "", X-Cord Here, Y-Cord Here)

Example2:

WinMove("Notepad", "", 400, 35)
Edited by TK_Incorperate
Link to comment
Share on other sites

  • 1 month later...
  • Moderators

You might be able to get a snap shot of your desktop with the same coords as your GUI's left, top, width, height. Then remove the title bar and borders.

Save the snap shot.

Then set a variable as that snap shot.

Then use GUICtrlCreatePic() as the background, and put your text lables above that.

And make sure it's always in the back.

You might be able to do the snapshot with a DLL call, but I haven't a clue how to get that part done.

Just some thoughts.

Sounds like a job for CyberSlug or gafrost B)!!

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...