CommandLineArgs_DriPro

Ejemplos y plantillas para Autoplay Media Studio.
Exemplo.apz
HIDE: ON
Hidebb Message Hidden Description



Imagem 1
Imagen


Imagem 2
Imagen

_Self = "";
local sJumpTo = "";
 
------------------------------------------------->> verifique os argumentos da linha de comando
for i, arg in pairs(_CommandLineArgs) do
  if (String.Compare(String.Left(arg, 10), "SFXSOURCE:") == 0) then
------------------------------------------------->> aplicativo executado como Web / Email: salvar caminho para o executável
    _Self = String.Mid(arg, 11, -1);
  end
  if (String.Compare(String.Left(arg, 7), "JumpTo:") == 0) then
    sJumpTo = String.Mid(arg, 8, -1);
  end
end
------------------------------------------------->> sJumpTo foi configurado, tente mostrar a página solicitada
if (String.Length(sJumpTo) > 0) then

sTitulo = "CommandLineArgs   "
sImagem = "AutoPlay\\Images\\DrInforSystem.png"
  sLink = "Criado por Adriano Rodrigues \r\nhttps://www.facebook.com/ProgramandoAutoplayMediaStudio/"

 sWidthSize = "710"
sHeightSize = "499"

if (Page.Jump(sJumpTo) == IDOK) or (DialogEx.Show(sJumpTo, true)== IDOK) then
end

  error = Application.GetLastError();
  if (error ~= 0) then
    Dialog.Message("Error", _tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION);
  end
end
Gracias amigo :pc:
Gracias
Thanks
thank you :)
no lo puedo ver
dripro escribió:
20 Mar 2018 01:24
Exemplo.apz
{{This message has been hidden}}



Imagem 1
Imagen


Imagem 2
Imagen

_Self = "";
local sJumpTo = "";
 
------------------------------------------------->> verifique os argumentos da linha de comando
for i, arg in pairs(_CommandLineArgs) do
  if (String.Compare(String.Left(arg, 10), "SFXSOURCE:") == 0) then
------------------------------------------------->> aplicativo executado como Web / Email: salvar caminho para o executável
    _Self = String.Mid(arg, 11, -1);
  end
  if (String.Compare(String.Left(arg, 7), "JumpTo:") == 0) then
    sJumpTo = String.Mid(arg, 8, -1);
  end
end
------------------------------------------------->> sJumpTo foi configurado, tente mostrar a página solicitada
if (String.Length(sJumpTo) > 0) then

sTitulo = "CommandLineArgs   "
sImagem = "AutoPlay\\Images\\DrInforSystem.png"
  sLink = "Criado por Adriano Rodrigues \r\nhttps://www.facebook.com/ProgramandoAutoplayMediaStudio/"

 sWidthSize = "710"
sHeightSize = "499"

if (Page.Jump(sJumpTo) == IDOK) or (DialogEx.Show(sJumpTo, true)== IDOK) then
end

  error = Application.GetLastError();
  if (error ~= 0) then
    Dialog.Message("Error", _tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION);
  end
end