|
|||
|
I need to execute 2 softwares by a remote location on my computer, example:
iDialer.exe (SOMEDISK:\I-DIALER\IDIALER.EXE) Skype.exe (SOMEDISK:\SKYPE\SKYPE.EXE) Well, I can found the patchs with some code, but... I have 2 problems... 1st - SKYPE - I need run Skype sending some paremeters the execution line needs look like this: SKYPE.EXE /datapath:"Data" /removable And in my ffish scripts the code is: Shell.open (getAppDir() + "..\\Skype\\Skype.exe /datapath: ''Data'' /removable"); When I try run this, nothing happens, but when I remove the parameters everything works. ---------------------------------------------------------------------------------------------------------------- 2nd - I need to Run iDIALER.EXE - My ffish script: Shell.open (getAppDir()+"..\\iDialer\\iDialer.exe"); The problem is that he execute iDialer.exe but in the path of the SWFKIT Compiled file and the iDialer.exe returns a lot of errors saying: File-X.txt was not found, etc... What I mean with this: When I call this function the SWFKIT Compiled file executes iDIALER.EXE in the your path, so iDialer.exe cannot find the files needed to start correctly... I Really need this, because without it working all my project die ![]() Please help Thank so much Peace, |
|
|||
|
It seems that you would have to lauch the programs from the folder where they are installed. That means that you must first find where the programs are installed. The following function can return the path of skype program:
Code:
function getSkypePath()
{
var rk = new RegKey("HKCU\\Software\\Skype\\Phone");
return rk.getValue("SkypePath").data;
}
trace(getSkypePath());
|
|
|||
|
Hi,
Well idialer.exe is an application from ipass, you can download the software at: http://www.mandic.com.br/download/MandicSetup.exe But what you wrote dont will work because all the software are copied in a pen drive, without registry entries, with Ipass my problem is that I need run from the folder where is installed, see the folder organization above. With Skype I need send parameters to Skype record your data files inside the pen drive and I dunno how. Folder organization: root/stuffs/swfkit compiled file.exe (the app that call the others) root/skype/skype.exe root/ipass/idialer.exe Waiting for ya help. Peace, |
|
|||
|
You may organize your directories in the following way:
1. in the attachments panel of swfkit, add two folders named "ipass" and "skype" under "application" 2. add the program files of "ipass" and "skype" to the corresponding folders. The idialer.exe will be in the "ipass" folder and the "skype.exe" will be in the "skype" folder in the attachments panel of swfkit. 3. uncheck the "pack attachments" option so that swfkit will not pack the program files 4. in swfkit, you can run the idialer.exe in this way: Code:
Shell.run(getAdditionalFile("ipass\\idialer.exe"));
Code:
Shell.run(getAdditionalFile("skype\\skype.exe") + " /datapath: \"data\" /removable");
|
|
|||
|
Hi,
The problem with skype parameters is ok right now, but I still getting errors with idialer.exe, the program says that cannot open some files, but when I try to run idialer.exe insidie his own folder everything works... You have been tested the sotfware that I passed to you by a link? Waiting for answers, Thanks in advance, Cold |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|