Sign in to follow this  
Followers 0
mesale0077

Command Line Arguments - AutoPlay Media Studio

1 post in this topic

#1 ·  Posted (edited)

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

Share this post


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
Sign in to follow this  
Followers 0