mesale0077 Posted June 6, 2012 Posted June 6, 2012 (edited) hiAssociating with AutoIt with Ams or autoit to ams Associatingams and autoitheres the AutoIT source; Example by RizlaUK;; $Cmdline[1]=TITLE; $Cmdline[2]=MESSAGE; $Cmdline[3]=ICON; $Cmdline[4]=TIMEif $Cmdline[0] then; starts a tray tip.TrayTip($Cmdline[1], $Cmdline[2], 5, $Cmdline[3])Sleep($Cmdline[4]);Else; starts a tray tip.TrayTip("Tray Tip Tool", "This is a tray tip tool by d-net software", 5, 1)Sleep(3000);EndIf; end of script.-----------------------------------------------------------------------------and heres the APMS source, ams source-- TrayTip TitlestrTitle ="Title";-- TrayTip Body TextstrText = "Body Text...";---- TrayTip Icon-- 0 = None-- 1 = Information-- 2 = Exclaimation-- 3 = Error-- 4 = Default-- 7 = Question-- 13 = EXE WindowstrIcon = "4";-- TrayTip Delay (milliseconds)strDelay = "3000";strArgument = '"'..strTitle..'" "'..strText..'" '..strIcon..' '..strDelay;result = File.Run("AutoPlayDocsTrayTip.exe", strArgument, "", SW_SHOWNORMAL, false);okeybut how is autoit to ams ?ams infoCommand Line Arguments - AutoPlay Media Studio (pages 1-4) helphttp://www.mindquake.com.br/en/code/110-cmdline?start=1asm code;for index, parametre in pairs(_CommandLineArgs) doDialog.Message("Parametreler", "Command line argumentn"..index.." = "..parametre);endorfor index, parametre in pairs(_CommandLineArgs) doif parametre == "/kucult" thenwindow.Minimize(Application.GetWndHandle());endendbut how is autoit code?I want to achieve from AutoIt to asm with Command Line Argumentsthank you nowautoit code? help me Edited June 6, 2012 by mesale0077
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