AS3 code open microsoft outlook. is it possible

I need code simple as3 that can open microsoft outlook. Once I click on the flash button it should go me to microsoft outlook.

Note: I don't want to load microsoft look at the flash point. rather once I click on a button of the .swf Stadium. then it opens microsoft on the appearance of my windows 7

Any suggestion?

Thank you

import flash.filesystem.File;
import flash.desktop.NativeProcess;
import flash.desktop.NativeProcessStartupInfo;

var process:NativeProcess = new NativeProcess();
var nativeProcessStartupInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo();

var exe:File = new File();
exe.nativePath = "C:/Program Files/Microsoft Office/Office15/Outlook.exe";
nativeProcessStartupInfo.executable = exe;

var args:Vector. = new Vector.();
args.push('/sniff');
nativeProcessStartupInfo.arguments = args;

process.addEventListener(NativeProcessExitEvent.EXIT, appClosed);

//start the process
process.start(nativeProcessStartupInfo);

function appClosed(e:NativeProcessExitEvent):void
{
  process.removeEventListener(NativeProcessExitEvent.EXIT, appClosed);
  trace("closed");
}

Here is a small code that will open perspectives on my machine. The arguments allow you to send command line switches, like /sniff that forces outlook to update meeting requests and others. You'll need to publish in the ATMOSPHERE and use the extended desktop profile.

Tags: Adobe Animate

Similar Questions

Maybe you are looking for

  • Firefox, now sucks but was great before the update.

    Ok...I updated Firefox a few days ago and now everything is slow, suspended and notchy & a bit of sucking. There is no problem whatsoever before the update. I want to go back. I don't want to spend 6 hours to try this and and the other thing. Just za

  • Questions since 6.4.0 updated on RN516

    Hello I have major issues since the upgrade in 6.4.0 on my RN516: -USB external if connect freeze NAS at startup -Root disk space is 90% -cannot uninstall application So really no stability since 6,4,0 need help or the new update. Thank you

  • PowerShell PGP

    I hope someone can help me.  I am very new to PowerShell.  I'm trying to see if powershell can even do what I need to.  I have an encryption key that I use to encrypt files.  Is it possible to have powershell to import the key and use this key to enc

  • Microsoft SQL Server Desktop Engine (Pinnaclesys

    I recently found the "Microsoft SQL Server Desktop Engine (Pinnaclesys)" software on my computer. I don't know how it got there. What does do for me? Can I delete it? I have Windows XP with SP3. Also Microsoft Office 2010.

  • lost addresses

    I lost an a folder in address book by mistake when I deleted everything simply a contact in this folder name. Using Outlook Express 6. Is there a way to get it back... I've looked everywhere!