Jump to content

kenedy

Members
  • Posts

    15
  • Joined

  • Last visited

kenedy's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. RunWait("msiexec /i myfile.msi switches")
  2. JdeB I understand now. Thanks.
  3. Look at this example code. How is that possible that myFunc can access $input2 value? I don't pass it as argument. #include <guiconstants.au3> ShowGUI() Func ShowGUI() GUICreate("My GUI") $Input1 = GUICtrlCreateInput ( "text1", 10, 10) $Input2 = GUICtrlCreateInput ( "text2", 10, 30) $Input3 = GUICtrlCreateInput ( "text3", 10, 50) GUISetState (@SW_SHOW) $msg = GUIGetMsg() myFunc($input1,$input3) EndFunc Func myFunc ($first,$second) For $i = $first to $second MsgBox (0,"",GUIRead ( $i )) Next EndFunc
  4. Ok, seems we're done with offtopic. It's not like it's "my precious" or something. If you want to know how one or other thing works - i'll describe it, and if it's in one block/function, I may even post part of code. Thing is that this app is more appropriate in unattending win/app forum (www.msfn.org). Some people already requested source so they can "change it the way they want". But.. many people there tend to value "visuality" more than functionality and some just don't really know what they want, so I'm very sceptical about this. I want to keep this app as simple and functional as possible and don't want different versions floating around.
  5. You don't have to know where Access is to launch it. (try Start>Run>msaccess) Therefore: Run (@ComCpec & " /c start msaccess argument")
  6. Try this: Run (@ComSpec & " /c file.mde") Heh, too late
  7. It's not like I care about looking bad. I'm sharing app, not code (look at description of this forum before replying to this post).
  8. A little explanation. This is "ready-to-use" app. I don't want people to change it, and that's why source code will not be available. Also there is nothing special about my code. I'm not a programmer whatsoever Experienced people could probably reproduce it in 2-3 days.
  9. Sorry, no source.
  10. Heres the script I made. Its for selection/installing software. http://www.msfn.org/board/index.php?showtopic=28393 Theres no way I could made it without AutoIt (not a programmer), so big, no huge, thanks to Jon and others who made AutoIt such a great scripting language.
  11. Hello. Is it possible to create listbox that would update other control if user clicks on listbox item one time, and do some other action if user uses doubleclick? Here's what I tried: #include "GUIConstants.au3" Dim $Lastselected = "" GUICreate("SomeGUI") $test1 = GUICtrlCreateList ("" , 10, 10,150,350 ) $test2 = GUICtrlCreateList ("" , 170, 10,150,350 ) GuiCtrlSetData($test1, "1|2|3|4|5" ) GuiSetState () While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $test1 $Selected = GUIRead ( $test1 ) If $Selected = $Lastselected Then ; Double click GuiCtrlSetData($test2, $Selected) Else ; Single Click EndIf $Lastselected = $Selected EndSelect Wend It works, but not like doubleclick. There must be ~0,5 second delay between first and second click or second click is ignored.
  12. >>I'm trying to make this script which copies all the files from some directories to a CD. [for back-up] FileCopy, DirCopy if CD is formatted >>BTW how can I open explorer.exe in C:\ or D:\ or E:\ from auto-it?[wich ever I prefer] Run("explorer.exe e:" , "" , @SW_MAXIMIZE )
  13. JonathanChan Group Policy for workgroups! Any progress on this? I'm starting to think about stealing the idea
  14. >>You can get it here Oh, it's released now :"> Thanks a lot. >>How is kTool going? Not much feedback about it. Works fine for me
  15. Is 3.0.102 still aviable for download? Can't find it
×
×
  • Create New...