MarkMarkMark Posted March 29, 2005 Share Posted March 29, 2005 Hi i want to automate my daemon....i want to put it automaticly on V:my daemon is in c:\program files\d-tools\i dont know how to code it in autoit...i have a desktop record of what i wanthttp://www.marksmit.com/pimp/daemon.avi Link to comment Share on other sites More sharing options...
DaleHohm Posted March 30, 2005 Share Posted March 30, 2005 Can someone pls help?<{POST_SNAPBACK}>I have no clue what you are asking. Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
Lazycat Posted March 30, 2005 Share Posted March 30, 2005 I can't see your AVI (don't know what fourcc "tscc" mean). But probably this code I use as helper with Total Commander will help you. When it get file at commandline with one of image extension, it mount image (or remount if already mounted). When it get any other extension - unmount. Note I use only one virtual drive, so script working only with one device "0". $daemon_path = IniRead(@ScriptDir & "\shared.ini", "Daemon", "ExePath", "") If not FileExists($daemon_path) Then $daemon_path = FileOpenDialog("Select folder where Daemon Tools located:", "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}", "Programs (*.exe)", 1) If @error Then Exit IniWrite(@ScriptDir & "\shared.ini", "Daemon", "ExePath", $daemon_path) EndIf If $CmdLine[0] = 1 Then If StringInStr(".iso.cue.ccd.nrg.img", StringRight($CmdLine[1], 4)) Then Run ($daemon_path & " -mount 0," & AddQuote($CmdLine[1])) Else Run ($daemon_path & " -unmount 0") EndIf Endif Func AddQuote ($sStr) If StringLeft($sStr,1) <> chr(34) then $sStr = chr(34) & $sStr If StringRight($sStr,1) <> chr(34) then $sStr = $sStr & chr(34) Return($sStr) Endfunc Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) Link to comment Share on other sites More sharing options...
MarkMarkMark Posted March 30, 2005 Author Share Posted March 30, 2005 I got it not in screenshots.... movie had bad codecs :s screenshots are in the attachment... can u guys help me out pls? Link to comment Share on other sites More sharing options...
bastel123 Posted March 30, 2005 Share Posted March 30, 2005 Hi, with "Virtual DAEMON Manager V3.47" this should work: DllCall("user32.dll", "int", "PostMessage", _ "hwnd", WinGetHandle( "Virtual DAEMON Manager V3.47" ), _ "int", 32868, _ "int", 1000, _ "int", 517) send("{up 5}{right 2}{down}{enter}") winwait("Set device parameters - Device","") ControlSend("Set device parameters - Device", "", 1032, "v") ControlClick("Set device parameters - Device", "", "Button5") Sebastian Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now