Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-29-2006, 07:18 PM
Junior Member
 
Join Date: Jun 2006
Posts: 12
Default Another Question

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,
Reply With Quote
  #2 (permalink)  
Old 06-30-2006, 10:58 AM
Junior Member
 
Join Date: Jun 2006
Posts: 12
Default Re:Another Question

Anyone can help me?
Reply With Quote
  #3 (permalink)  
Old 06-30-2006, 01:30 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Another Question

We will try it and get back to you.
Reply With Quote
  #4 (permalink)  
Old 07-03-2006, 01:42 AM
Junior Member
 
Join Date: Jun 2006
Posts: 12
Default Re:Another Question

No one news? I really need to know how to solve this problems

Thanks in advance,

Reply With Quote
  #5 (permalink)  
Old 07-03-2006, 01:00 PM
Junior Member
 
Join Date: Jun 2006
Posts: 12
Default Re:Another Question

Hi,

Any answers? I hope you can answer me as soon as possible...


Thanks in advance,

Peace
Reply With Quote
  #6 (permalink)  
Old 07-03-2006, 02:02 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Another Question

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());
At this time we cannot provide the similar function for the "idialer.exe" because we do not know what it is, please tell us more details about it.
Reply With Quote
  #7 (permalink)  
Old 07-04-2006, 05:13 PM
Junior Member
 
Join Date: Jun 2006
Posts: 12
Default Re:Another Question

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,
Reply With Quote
  #8 (permalink)  
Old 07-06-2006, 01:23 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Another Question

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"));
and to run skype:

Code:
Shell.run(getAdditionalFile("skype\\skype.exe") + " /datapath: \"data\" /removable");
Reply With Quote
  #9 (permalink)  
Old 07-07-2006, 01:35 PM
Junior Member
 
Join Date: Jun 2006
Posts: 12
Default Re:Another Question

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
Reply With Quote
  #10 (permalink)  
Old 07-07-2006, 02:23 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Another Question

The "idialer.exe" will work well if you put all other files with it in the same folder.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:44 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.