action=exit Shell Command not fullfilling its due purpose???

For user who dont speak german please use this part of my forum
Antworten
SuBZ3r0
Beiträge: 2
Registriert: Fr 21. Mär 2008, 02:18

action=exit Shell Command not fullfilling its due purpose???

Beitrag von SuBZ3r0 »

Hi,

as being pretty new to the forum i´d first like to congratulate the maker(s) of MyPhoneExplorer for their lightweight, easy-to-use and freaking fantastic piece of software.

Now to my problem/question (i´ll post it in english instead of german, so that most the users of this forum can benefit from your answers).

The preliminaries:
- OS: Windows XP Sp2 (Windows Updates till March 2008)
- MyPhoneExplorer Version: 1.6.6
- Phone-model: SE K800i
- I tried really hard to find an answer to my question in this forum using the search option and by reading the FAQ (if there already is an answer to this question out there in the depths of this forum, then please excuse my laziness to search any longer/further)

What I´m trying to do:
- Sync some .ical Calendars onto an FTP Server using SynchBack
- Then synch the synchronised version of the calendars to my phone.

My Problem:
I want MyPhoneExplorer to start, do a multi-sync and exit.
I tried using the "action=exit" as a parameter while starting MyPhoneExplorer via a command prompt:

Code: Alles auswählen

[b]1.[/b] "%programfiles%\MyPhoneExplorer\MyPhoneExplorer.exe" action=exit
(ignore the numbers, they are just line numbers, for the case your browser cuts off the command into severals rows)

MyPhoneExplorer then starts, does the multi-sync and then just minimises to the system tray instead of closing completely.

That´s my problem in a nutshell.

(The Option: Use X to minimize instead of closing MyPhoneExplorer is unchecked....Just telling you this, so that you don´t have to ask me if I tried that already....The problem is not affected by any change to this option. And I seriously doubt that this option can have anything to do with the problem)



THE QUESTION:
Could it be, that the switch is not interpreted correctly?
(Answer: 42????;) )



My temporary solution:
For the time being I wrote the following Batch-Script which requires the download of "CHOICE.COM" from
ftp://ftp.microsoft.com/Services/TechNe ... CHOICE.COM
(sadly it was stripped from win2k/xp/vista(?)...damn you MS ;) ):

Code: Alles auswählen

[b]1.[/b] start "MyPhoneExplorer" /D"%programfiles%\MyPhoneExplorer" MyPhoneExplorer.exe
[b]2.[/b] TYPE NUL | choice /c:delay /td,10 >NUL
[b]3.[/b] "%programfiles%\MyPhoneExplorer\MyPhoneExplorer.exe" action=exit
(ignore the numbers, they are just line numbers, for the case your browser cuts off the command into severals rows)

In MyPhoneExplorer I checked the option to autoconnect at program startup and do an automatic multi-sync on connect.

Batch program explanation:
1. start MyPhoneExplorer in a new window (start command)
2. Idle 10 seconds (thx to choice.com)
3. Call MyPhoneExplorer with the action=exit command to close it

Strangely enough, the command does what it is meant to do, when the program is running.
(Ok, I realise it is written in the English FAQ, that the command action=exit should be invoked when MPE is running, but I don´t see the point in the command not having the same effect when MPE is started with it).

Maybe I got it all wrong (wouldn´t be the first time), and you mighty programmers at FJSoftware will tell me I screwed up bad, or you´ll quickly figure out the problem and solve it. [boot-xxx] I am fully confident that you´ll react quickly, cause you really seem to be a competent bunch of programmers. [/boot-xxx]



Anyway, greetings from Koblenz (Germany) and thank you in advance for your answers. Keep up the good work!



P.S.: Sorry for the long .... long posting. I just wanted to get all the facts laid out, so you can react accordingly.
P.S.2: Wer Schreibfehler findet, darf sie behalten. (To who finds Schreibfehlers/scribal errors ;) , just keep´em )
weinbi
Moderator
Beiträge: 929
Registriert: Mo 11. Jun 2007, 11:25
Wohnort: Kärnten
Kontaktdaten:

Re: action=exit Shell Command not fullfilling its due purpos

Beitrag von weinbi »

SuBZ3r0 hat geschrieben: The Option: Use X to minimize instead of closing MyPhoneExplorer is unchecked...
That was my first idea where the problem could be...
SuBZ3r0 hat geschrieben: I am fully confident that you´ll react quickly, cause you really seem to be a competent bunch of programmers.
FJ Software is only ONE programmer => FJ! :wink:
I think he'll be the only one who can solve/explain your problem...
English FAQ || Deutsche FAQ
----------------------------------
HTC Desire
FJ
Site Admin
Beiträge: 32113
Registriert: Mi 15. Feb 2006, 01:16
Wohnort: Tirol

Beitrag von FJ »

- Sync some .ical Calendars onto an FTP Server using SynchBack
MyPhoneExplorer is able to sync your iCal-File directly on the FTP-Server - did you know this ?

The Shell-Command exit is ignored when MyPhoneExplorer is not already running - thats normal. You have to wait for finished sync - then send this message.
SuBZ3r0
Beiträge: 2
Registriert: Fr 21. Mär 2008, 02:18

Beitrag von SuBZ3r0 »

FJ hat geschrieben: MyPhoneExplorer is able to sync your iCal-File directly on the FTP-Server - did you know this ?
Actually I´m syncing much more to my FTP-Server then just my calendars. But thanks anyway for pointing out that MPE feature.
FJ hat geschrieben: The Shell-Command exit is ignored when MyPhoneExplorer is not already running - thats normal. You have to wait for finished sync - then send this message.
Could you think about adding a shell-command like action=syncandexit, whichs starts MPE, does a multi-sync and exits, in a future release of MPE?
If it would mean to much trouble, just leave it be. Though it would be cool. But even if you don´t, I´ll still use your software ;). And for the time being I´ve got a well working work-around in form of my Batch-Script.

Thanks for your answer and your precious time.

Best wishes,
SuBZ3r0
Antworten