Jump to content

senormiggy

Members
  • Posts

    10
  • Joined

  • Last visited

senormiggy's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hello, I've got a problem ( again lol ). $dag = 02 Send($dag) It shows 2 , not the zero , also if i do $week = 02-11 Send($week) It shows 9 lol. Is there something to make it read like what is is, instead of changing? Thanks in advance
  2. $week = InputBox("Week", "Week nr.", 0) $dag1 = InputBox("Dag", "Datum ( vb 01-02 )", 0) #Include <File.au3> _FileWriteToLine("C:\Users\u450898\Desktop\test2.txt", 3, "& $dag1 &", 1) With a .txt file i have the same problem!
  3. Somehow i can't get it to work: $week = InputBox("Week", "Week nr.", 0) $dag1 = InputBox("Dag", "Datum ( vb 01-02 )", 0) #Include <File.au3> _FileWriteToLine("C:\Users\u450898\Desktop\test2.ini", 3, "& $dag1 &", 1) Thanks in advance,
  4. Hello, I need help with the follow script: $week = InputBox("Week", "Week nr.", 0) $dag = InputBox("Dag", "Datum ( vb 01-02 )", 0) DirCreate("T:\PT\P3\" & $week\$dag ) DirCreate("T:\PT2\P3\" & $week\$dag ) It must create the folder like T:\PT\P3\$week\$dag ? Thanks in advance, Mick
  5. Ah, added the EndIf now it works, thanks everybody !!
  6. Still a error Endif $test = 0 then Endif ^ ERROR Error: Illegal text at the end of statement ( one statement per line )
  7. $test = MsgBox(2,"OK", "OK", 0) WinActivate("Untitled - Notepad") if $test = 1 then Send("OK") Endif $test = 2 then Send("CANCEL") This should be it sorry.
  8. Thanks that works !! Could you help me with the following: $test = MsgBox(2,"OK", "OK", 0) if $test = 1 then Send("OK") Endif $test = 2 then Send("CANCEL") Thanks , this also doesn't work.
  9. Hello, I am totally new to Autoit. I want to know how to preform a simple script: $value = InputBox("Test", "Input", 0) sleep(500) Run(@WindowsDir & "\Notepad.exe", "", @SW_MAXIMIZE) WinActivate("Untitled - Notepad") SEND("{$VALUE}") Except it doesn't send what i typed in the input box. How can i change this? Thanks in advance, Mick
×
×
  • Create New...