Sign in to follow this  
Followers 0
blackmarket

Inserting script into a tab

12 posts in this topic

I wrote a script that created tabs in a window and was wondering as to how to execute a script to appear on that tab as to assign it. Right now it produces two windows, one with only tabs and the other of the script that I want to be assigned on it as being seperate windows. Also, as to how to assign an image to my first tab as well.

Share this post


Link to post
Share on other sites



The image I want as a background of the first tab

Share this post


Link to post
Share on other sites

Hi there,

Some line code would be useful.

Care to share with us?

Cheers


Old Scriptology

Visual Ping 1.8 - Mass Ping Program with export to txt delimited.

Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code.

Desktop 2 RGB - Pick a color in the desktop and get the RGB code.

ShootIT 1.0 - Screen Capture full and partial screen

[font="'Arial Black';"]Remember Remember The Fifth of November.[/font]

Share this post


Link to post
Share on other sites

Will post when I get home

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Tabs()

Func tabs()
GUICreate("Chronos", 650, 650) ; will create a dialog box that when displayed is centered

GUISetBkColor(0xffffff)
GUISetFont(9, 300)

    GUICtrlCreateTab(10, 10, 600, 600)
GUICtrlCreateTabItem("TabA")
GUICtrlCreateTabItem("TabB")
GUICtrlCreateTabItem("Tabc")
Guictrlcreatetabitem("TabD")
GUICtrlCreateTabItem("TabE")
GUICtrlCreateTabItem("TabF")
GUICtrlCreateTabItem("TabG")
GUICtrlCreateTabItem("TabH")
       GUICtrlCreateTabItem("") ; end tabitem definition

    GUISetState(@SW_SHOW)
      Local $idMsg
    ; Loop until the user exits.
    While 1
        $idMsg = GUIGetMsg()

        If $idMsg = $GUI_EVENT_CLOSE Then ExitLoop
    WEnd
EndFunc   ;==>Tabs

 

(Copy with notes)

Tabs()

Func tabs()
GUICreate("Chronos", 650, 650) ; will create a dialog box that when displayed is centered

GUISetBkColor(0xffffff)
GUISetFont(9, 300)

    GUICtrlCreateTab(10, 10, 600, 600)
GUICtrlCreateTabItem("TabA") <----------- code to be added to tabA to show background image
GUICtrlCreateTabItem("TabB") <-----------Code to be inserted to TabB to show checkboxes of script written below in program, not shown here)
GUICtrlCreateTabItem("Tabc")
Guictrlcreatetabitem("TabD")
GUICtrlCreateTabItem("TabE")
GUICtrlCreateTabItem("TabF")
GUICtrlCreateTabItem("TabG")
GUICtrlCreateTabItem("TabH")
       GUICtrlCreateTabItem("") ; end tabitem definition

    GUISetState(@SW_SHOW)
      Local $idMsg
    ; Loop until the user exits.
    While 1
        $idMsg = GUIGetMsg()

        If $idMsg = $GUI_EVENT_CLOSE Then ExitLoop
    WEnd
EndFunc   ;==>Tabs

Edited by blackmarket

Share this post


Link to post
Share on other sites

No Game Automation. Read the rules.

According to this post in this forum - Chronos Bots! - Lineage II Forums, they're fed game bots too.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

No Game Automation. Read the rules.

According to this post in this forum - Chronos Bots! - Lineage II Forums, they're fed game bots too.

My script has nothing to do with lineage nor is it a bot for it either, even though chronos comes up there too on the post link.

Share this post


Link to post
Share on other sites

Ok, got the image on the background, but need to figure out how to apply that image only to the first tag????

Share this post


Link to post
Share on other sites

Look mate, the problem here is we do not know just what Chronos is. A screen shot would be helpful. Also a link to the software vender would be great. The reason I ask is I would like to read up on the software's help file so we would have a better skill set in able to help you.

Share this post


Link to post
Share on other sites

Look mate, the problem here is we do not know just what Chronos is. A screen shot would be helpful. Also a link to the software vender would be great. The reason I ask is I would like to read up on the software's help file so we would have a better skill set in able to help you.

Software vender??????? I am the one that wrote my own scripts and it is not from a vender. Plus, I do not have enough posts to be able to post images.

post-86739-0-34462900-1406081269_thumb.j

Share this post


Link to post
Share on other sites

Nice couple of icons on your desktop, that will convince the cynics ... just saying. :blink:

How about you give us a description of what your program is going to do. What it's all about etc.

With a clearer picture, many more may be enthusiastic enough to help.


AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Share this post


Link to post
Share on other sites

I figured it out after some re-editing of the script with the help of autoit book.

Share this post


Link to post
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
Sign in to follow this  
Followers 0