Jump to content

Command Line Arguments - AutoPlay Media Studio


Recommended Posts

hi

Associating with AutoIt with Ams or autoit to ams Associating

ams and autoit

heres the AutoIT source

; Example by RizlaUK

;

; $Cmdline[1]=TITLE

; $Cmdline[2]=MESSAGE

; $Cmdline[3]=ICON

; $Cmdline[4]=TIME

if $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 Title

strTitle ="Title";

-- TrayTip Body Text

strText = "Body Text...";

---- TrayTip Icon

-- 0 = None

-- 1 = Information

-- 2 = Exclaimation

-- 3 = Error

-- 4 = Default

-- 7 = Question

-- 13 = EXE Window

strIcon = "4";

-- TrayTip Delay (milliseconds)

strDelay = "3000";

strArgument = '"'..strTitle..'" "'..strText..'" '..strIcon..' '..strDelay;

result = File.Run("AutoPlayDocsTrayTip.exe", strArgument, "", SW_SHOWNORMAL, false);

okey

but how is autoit to ams ?

ams info

Command Line Arguments - AutoPlay Media Studio (pages 1-4) help

http://www.mindquake.com.br/en/code/110-cmdline?start=1

asm code;

for index, parametre in pairs(_CommandLineArgs) do

Dialog.Message("Parametreler", "Command line argumentn"..index.." = "..parametre);

end

or

for index, parametre in pairs(_CommandLineArgs) do

if parametre == "/kucult" then

window.Minimize(Application.GetWndHandle());

end

end

but how is autoit code?

I want to achieve from AutoIt to asm with Command Line Arguments

thank you now

autoit code? help me

Edited by mesale0077
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...