Author Topic: Command Line Plugin Help  (Read 9044 times)

0 Members and 1 Guest are viewing this topic.

Offline Cool Javelin

  • Newbie
  • *
  • Posts: 14
Command Line Plugin Help
« on: 09 06 2014, 17:29:24 »
I would like to send a text message from a DOS batch file in WinXP. I see there is a command-line plugin, and I assume I might be able to send the message using it, but there is no documentation telling me how to use it, or really, what it can do.

Does anyone have any experience using the command-line plugin, and can someone hemp me use it?

Thanks, Mark.

 

Offline Wishmaster

Re: Command Line Plugin Help
« Reply #1 on: 09 06 2014, 17:37:17 »
Yes, You need to install cmdline.dll and you need MimCmd.exe from the plugin download. MimCmd.exe can be placed anywhere. Try using "MimCmd.exe help" to get an overview.
 

Offline Cool Javelin

  • Newbie
  • *
  • Posts: 14
Re: Command Line Plugin Help
« Reply #2 on: 09 06 2014, 23:46:13 »
Thanks, Wishmaster:

This is exactly what I want.

Now for a detail.

I can send several single lines in rapid succession, but a single multiple line message would be better.

In real Miranda, I can do a Shift Enter to enter a newline actually in the message, then send using the normal Enter.

Is there a way to do that using the MimCmd device?

Thanks. Mark.
 

Offline Wishmaster

Re: Command Line Plugin Help
« Reply #3 on: 10 06 2014, 08:09:47 »
I can send several single lines in rapid succession, but a single multiple line message would be better.

In real Miranda, I can do a Shift Enter to enter a newline actually in the message, then send using the normal Enter.

Is there a way to do that using the MimCmd device?
Right now you cannot. There is also a request on UserVoice for that. Maybe I will implement handling "\r\n" as a new line.
« Last Edit: 10 06 2014, 08:11:28 by Wishmaster »
 

Offline White-Tiger

  • Developer
  • *****
  • Posts: 182
  • Country: 00
  • SendSS maintainer
Re: Command Line Plugin Help
« Reply #4 on: 10 06 2014, 08:34:19 »
or add "message2 <contact>" which reads stdin for input... this command needs to be added to MimCmd as it can be then passed to the "message" command (since we pass parameters directly, they can include new line)

This way it would work more like *NIX tools such as sendmail...

 

Offline mida

  • Full Member
  • ***
  • Posts: 182
  • Country: at
Re: Command Line Plugin Help
« Reply #5 on: 10 06 2014, 12:47:18 »
i tested cmdline but i get false time + date or nothing.
on miranda own history i see the correct date from both accounts.
can someone test it too?
"ich" is test account and my real account is "mida"

Quote
MimCmd.exe history show "mida" 0 99999
[07:40:44 18/Aug/2286]           [ich]: 11
[07:42:01 18/Aug/2286]           [ich]: 1
[19:38:46 31/Okt/2558]     mida: 1
[07:50:56 18/Aug/2286]           [ich]: bottext
[]           [ich]: 1
[]           [ich]: 1
[]           [ich]: 1
[21:57:55 03/Nov/2558]     mida: 1
[01:55:11 22/Aug/2286]           [ich]:
[01:55:11 22/Aug/2286]           [ich]:
[01:55:11 22/Aug/2286]           [ich]:
[14:03:53 04/Nov/2558]     mida: uptime
[14:04:53 04/Nov/2558]     mida: uptime
[14:05:41 04/Nov/2558]     mida: uptime
[]           [ich]: 1
[15:17:48 06/Nov/2558]     mida: 1
[]           [ich]: 12
[15:29:02 06/Nov/2558]     mida: test
[]           [ich]: test

Spoiler
Quote
CPU: Intel(R) Core(TM)2 Duo CPU E7300 @ 2.66GHz [Intel64 Family 6 Model 23 Stepping 6] [DEP enabled] [2 CPUs]
Installed RAM: 6144 MBytes
Operating System: Microsoft Windows 8 Pro Edition, 64-bit  (build 9200)
Shell: explorer.exe
Internet Explorer: 9.10.9200.16863 (build 99200)
Administrator privileges: No
OS Languages: (UI | Locale (User/System)) : German/German | German/German
Free disk space on Miranda partition: 32838 MBytes

Miranda path: C:\Users\TheMida\Desktop\MirandaNGBot
Miranda NG version: 0.95.1 alpha build #9430 [running inside WOW64]
Build time: 10 Jun 2014 5:38:22
Profile path: C:\Users\TheMida\Desktop\MirandaNGBot\Profiles\Bot\Bot.dat
Profile size: 64,00 KBytes
Profile creation date: 8 Jun 2014 13:17:16
Language pack: German (DE) [0407]
Service Mode: No

Active Plugins (7):
  CmdLine.dll v.0.0.4.1 [29 May 2014 5:38:10] - Command line
  Dbx_mmap.dll v.0.95.0.4 [29 May 2014 4:30:57] - Miranda NG mmap database driver
  ICQ.dll v.0.11.2.1 [29 May 2014 4:31:39] - IcqOscarJ protocol
  KeepStatus.dll v.0.9.0.2 [29 May 2014 5:32:34] - Keep status
  PluginUpdater.dll v.0.1.2.0 [10 Jun 2014 5:35:00] - Plugin updater
  VersionInfo.dll v.1.5.0.3 [10 Jun 2014 5:34:28] - Version information
[close]

added into bugtracker #705
« Last Edit: 21 06 2014, 18:57:09 by mida »
sorry for my bad english
 

Offline Wishmaster

Re: Command Line Plugin Help
« Reply #6 on: 04 07 2014, 08:14:10 »
I can send several single lines in rapid succession, but a single multiple line message would be better.

In real Miranda, I can do a Shift Enter to enter a newline actually in the message, then send using the normal Enter.

Is there a way to do that using the MimCmd device?
It hast been implemented by Robyer in r9660, now you can use "\n" for a new line.
 

Offline Wishmaster

Re: Command Line Plugin Help
« Reply #7 on: 04 07 2014, 21:03:40 »
i tested cmdline but i get false time + date or nothing.
on miranda own history i see the correct date from both accounts.
can someone test it too?
"ich" is test account and my real account is "mida"
Should be fixed, please test and close #705 if it is fixed
 

Offline mida

  • Full Member
  • ***
  • Posts: 182
  • Country: at
Re: Command Line Plugin Help
« Reply #8 on: 06 07 2014, 15:19:58 »
sorry that im was away, i have now tested and yes its fixed. thank you
sorry for my bad english