Sign in to follow this  
Followers 0
Guest AX5

destination ower write !!HELP!!

14 posts in this topic

#1 ·  Posted (edited)

;):):evil::)

I got a map named files and on this script i want to over write the file in map file to a destination and it needs to use

$Button2 = GUICtrlCreateButton("Over write", 40, 120, 100, 25, $WS_GROUP)

:evil::):idea::)

Edited by AX5

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Solution = Look elsewhere in your code because the portion you provided us with is just fine. Although I see no reason for the $WS_GROUP style from what you are showing.

Edited by GEOSoft

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites

George,

Every Koda generated script I have seen has the $WS_GROUP style in the button lines. Goodness knows why! ;)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Thanks for the info M23. That's total nonsense and I'll just add it to my list of things I don't like about Koda.


George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites

I saw what you deleted.

You need to read more. And try to comprehend read.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

I saw what you deleted.

You need to read more. And try to comprehend read.

Im trying ;) doing my best :evil:

I thing that i cant fix...

I want this script to the button so wan u press the button the scripts starts

#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("0000", 323, 512, 192, 124)
$Button1 = GUICtrlCreateButton("Steg 1", 184, 128, 113, 33, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Steg 2", 184, 216, 113, 33, $WS_GROUP)
$Button3 = GUICtrlCreateButton("Steg 3", 184, 304, 113, 33, $WS_GROUP)
$Button4 = GUICtrlCreateButton("Steg 4", 184, 392, 113, 33, $WS_GROUP)
$Label1 = GUICtrlCreateLabel("4", 40, 32, 244, 65)
$Label2 = GUICtrlCreateLabel("3", 32, 112, 140, 65)
$Label3 = GUICtrlCreateLabel("2", 32, 200, 140, 65)
$Label4 = GUICtrlCreateLabel("1", 32, 288, 140, 65)
$Label5 = GUICtrlCreateLabel("0", 32, 376, 140, 125)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
 Run("Notepad.exe", $Button1)

EndSwitch
WEnd

All the buttons most run 1 files each button

Button 1

Run("files\executable\step1.exe", "")

Button 2

Run("files\executable\step2.exe", "")

Button 3

Run("files\executable\step3.exe", "")

Edited by AX5

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

1. Open helpfile.

2. Find "GUI Reference".

3. Read.

4. Drink whiskey milk.

5. Use the knowledge you now have to fix your script.

6. Goto 10.

7. Finished.

Can you guess which two steps are voluntary? ;)

Edit: forgot something...

Edited by AdmiralAlkex

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

1. Open helpfile.

2. Find "GUI Reference".

3. Read.

4. Drink whiskey milk.

5. Use the knowledge you now have to fix your script.

6. Goto 10.

7. Finished.

Can you guess which two steps are voluntary? ;)

Edit: forgot something...

Cant find it plz help, Howe do i make the buttons work whit the script

Edited by AX5

Share this post


Link to post
Share on other sites

Do tou read too fast or not at all? What you need is in that help file several times.

#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

   $Form1 = GUICreate("0000", 323, 512, 192, 124)
   $Button1 = GUICtrlCreateButton("Steg 1", 184, 128, 113, 33)
   $Button2 = GUICtrlCreateButton("Steg 2", 184, 216, 113, 33)
   $Button3 = GUICtrlCreateButton("Steg 3", 184, 304, 113, 33)
   $Button4 = GUICtrlCreateButton("Steg 4", 184, 392, 113, 33)
   $Label1 = GUICtrlCreateLabel("4", 40, 32, 244, 65)
   $Label2 = GUICtrlCreateLabel("3", 32, 112, 140, 65)
   $Label3 = GUICtrlCreateLabel("2", 32, 200, 140, 65)
   $Label4 = GUICtrlCreateLabel("1", 32, 288, 140, 65)
   $Label5 = GUICtrlCreateLabel("0", 32, 376, 140, 125)
   GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
   $nMsg = GUIGetMsg()
   Switch $nMsg
      Case $GUI_EVENT_CLOSE
         Exit
         Run("Notepad.exe")
      Case $Button1
         Run("files\executable\step1.exe")
      Case $Button2
         ;; Do something
   EndSwitch
WEnd

Add Case statements for the other two buttons as well.


George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites

Do tou read too fast or not at all? What you need is in that help file several times.

#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

   $Form1 = GUICreate("0000", 323, 512, 192, 124)
   $Button1 = GUICtrlCreateButton("Steg 1", 184, 128, 113, 33)
   $Button2 = GUICtrlCreateButton("Steg 2", 184, 216, 113, 33)
   $Button3 = GUICtrlCreateButton("Steg 3", 184, 304, 113, 33)
   $Button4 = GUICtrlCreateButton("Steg 4", 184, 392, 113, 33)
   $Label1 = GUICtrlCreateLabel("4", 40, 32, 244, 65)
   $Label2 = GUICtrlCreateLabel("3", 32, 112, 140, 65)
   $Label3 = GUICtrlCreateLabel("2", 32, 200, 140, 65)
   $Label4 = GUICtrlCreateLabel("1", 32, 288, 140, 65)
   $Label5 = GUICtrlCreateLabel("0", 32, 376, 140, 125)
   GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
   $nMsg = GUIGetMsg()
   Switch $nMsg
      Case $GUI_EVENT_CLOSE
         Exit
         Run("Notepad.exe")
      Case $Button1
         Run("files\executable\step1.exe")
      Case $Button2
         ;; Do something
   EndSwitch
WEnd

Add Case statements for the other two buttons as well.

thx man love you (Not in a gay way) Your the best the program works now ;)

Share this post


Link to post
Share on other sites

thx man love you (Not in a gay way) Your the best the program works now :evil:

/giggle ;)

Share this post


Link to post
Share on other sites

Now i did int get an answer to my other problem.

I have this script and i want it to change the Procces speed on a specific program

In the slide bar i want so you can change the speed from 1 - 10 and make the speed use a program to do this on and event make it use Add speed button

#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Speed ", 230, 179, 253, 154)
$Input1 = GUICtrlCreateInput("C:\wer35.exe", 40, 40, 150, 21)
$Slider1 = GUICtrlCreateSlider(55, 66, 121, 30)
$Add = GUICtrlCreateButton("Add Speed", 65, 112, 100, 28)
$Pic1 = GUICtrlCreatePic("img/soft01-s.jpg", 0, 0, 230, 177, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE

            Exit

    EndSwitch
WEnd

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