Source language: Translate to:

cmd.exe plugin

Questions about NeoBook PlugIns

Moderator: Neosoft Support

cmd.exe plugin

Postby Alex » Sat Sep 22, 2012 8:02 am

Hi,

Is there a plugin that works with cmd.exe to set and get variables/results ?
For example, if I write "ping 192.168.1.34" then I got the variable result that you get if you do the same in a normal cmd window.

Thanks


Alex
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am

Postby chromebandit » Sat Sep 22, 2012 4:06 pm

Hi may you try this.....

Download:
http://goo.gl/qXlCs

Regards
User avatar
chromebandit
 
Posts: 283
Joined: Wed Nov 24, 2010 5:00 pm

Re: cmd.exe plugin

Postby dpayer » Sat Sep 22, 2012 9:12 pm

Alex wrote:Hi,

Is there a plugin that works with cmd.exe to set and get variables/results ?
For example, if I write "ping 192.168.1.34" then I got the variable result that you get if you do the same in a normal cmd window.

Thanks


Alex


Anything in a command window can be ported to a text file. Example:

Dir *.* >list.txt

This will do a directory listing and put the results in a file named list.txt

You can then import that file and use the content in a variable.

David P.
User avatar
dpayer
 
Posts: 1384
Joined: Mon Apr 11, 2005 5:55 am
Location: Iowa - USA

Postby Alex » Sat Sep 22, 2012 10:15 pm

Hi,

Yes thanks, but this doesn't look professional to get a file, is it not possible to directly get it in a variable without writing something on the hard drive?

Thanks


Alex
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am

Postby dpayer » Sun Sep 23, 2012 5:36 am

Alex wrote:Hi,

Yes thanks, but this doesn't look professional to get a file, is it not possible to directly get it in a variable without writing something on the hard drive?
Thanks
Alex


"doesn't look professional"?

This app uses that method:
http://www.neosoftware.com/forum/viewtopic.php?t=19158

Who will see it? If done right, it will not be noticed. In fact, it can be rather quick with short files. Try it.


David P.
User avatar
dpayer
 
Posts: 1384
Joined: Mon Apr 11, 2005 5:55 am
Location: Iowa - USA

Postby Alex » Sun Sep 23, 2012 11:08 am

Hi,

The problem is that if I run more software like that in the same time, then it will have a problem because it would like to open and write the same file.

Thanks


Alex
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am

Postby Alex » Sun Sep 23, 2012 11:57 am

Hi chromebandit,

Excellent! Thank you very much for your answer! It's exactly what I am looking for. Where did you get it?

Thanks


Alex
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am

Postby dpayer » Sun Sep 23, 2012 2:46 pm

Alex wrote:Hi chromebandit,

Excellent! Thank you very much for your answer! It's exactly what I am looking for. Where did you get it?

Thanks
Alex


Wow... great! Russian Neobookers. (reference in the plugin to http://neobookers.ru) I wonder how many NB licenses have been sold in Russia?

The plugin has a wizard that is in Russian so it cant be read/understood if you don't have that language/fonts installed on your system. The text in the app doesn't translate via Google Translate for me. Is anyone able to do that?

Here is the code from the button on the demo app:
Code: Select all
If "[CheckBox1]" "=" "Checked"
 If "[CheckBox2]" "=" "Checked"
  dmRun "[CMDApp]" "[CMDLine]" "OnConsoleBuffer" "OnCloseCmd" "[Result]" "False" "False"
 Else
  dmRun "[CMDApp]" "[CMDLine]" "OnConsoleBuffer" "OnCloseCmd" "[Result]" "False" "True"
 Endif
Else
 If "[CheckBox2]" "=" "Checked"
dmRun "[CMDApp]" "[CMDLine]" "OnConsoleBuffer" "OnCloseCmd" "[Result]" "True" "False"
 Else
dmRun "[CMDApp]" "[CMDLine]" "OnConsoleBuffer" "OnCloseCmd" "[Result]" "True" "True"
 Endif
EndIf


D
User avatar
dpayer
 
Posts: 1384
Joined: Mon Apr 11, 2005 5:55 am
Location: Iowa - USA

Postby chromebandit » Sun Sep 23, 2012 2:59 pm

Alex wrote:Hi chromebandit,

Excellent! Thank you very much for your answer! It's exactly what I am looking for. Where did you get it?

Thanks


Alex


You are welcome :D i have collected all plugs from this site i can post them.. some are very useful..

Regards
Last edited by chromebandit on Sun Sep 23, 2012 4:33 pm, edited 1 time in total.
User avatar
chromebandit
 
Posts: 283
Joined: Wed Nov 24, 2010 5:00 pm

Postby Leos » Sun Sep 23, 2012 3:57 pm

Useful!

Thank you Chromebandit

Best regards
User avatar
Leos
 
Posts: 178
Joined: Mon Apr 04, 2005 11:13 am
Location: Coimbra, Portugal

Postby chromebandit » Sun Sep 23, 2012 4:28 pm

Russian functions and plugins
http://goo.gl/EC4iq

The Download includes:

Functions:
AddPort
Decrypt Key
Delete Port
Delete Service
Disable Firewall
Encrypt Key
Get array gateway
Get Computer names
Get environment variable
Get net vars
Get os info
Get windows login
Install Service
Is run service

Plugins:
Console plugin
TCP plugin
CMDline plugin
EditMemoPicture plugin
Gradient Rectangle plugin

Enjoy

Regards
User avatar
chromebandit
 
Posts: 283
Joined: Wed Nov 24, 2010 5:00 pm

Postby Alex » Mon Sep 24, 2012 12:19 am

Hi,

Excellent!

I can't translate the text too.

Thanks


Alex
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am

Postby Scherzkeks » Mon Sep 24, 2012 3:29 am

I had more success with alConsole.
http://goo.gl/o717K

You can get the russian Text from a Pub with this Tool
http://newyork.mashke.org/Conv/

before
Code: Select all
Óêàçûâàåòñÿ


after
Code: Select all
Указывается


this can be translated with google or similar

Here is a PUB in english for alConsole

Code: Select all
NBW Publication Source File
(C)1993-2011 NeoSoft Corp.
Title=alCmdOutput
Author=Alien
Language=US
NeoBookVer=5.70
ScreenColors=16777216
ScreenWidth=800
ScreenHeight=600
BkndColor=0
ScreenAutoSize=Yes
LinkColor=16711680
WindowStyle=0
WindowOrder=0
WindowPos=0
WindowProps=29
BiDiMode=0
AllowESC=No
AllowPageUpDn=No
UseUpdateTimer=Yes
ReturnTime=60
SubroutineAction=:Output¶    SetVar "[output]" "[output][temp]"¶Return¶¶:End¶    .AlertBox "Finish" "Complete"¶Return
ShapeTransColor=536870912
CompiledName=C:\NeoBook 5\PlugIns\alConsolePlugin\alConsole.exe
CompileType=0
MediaType=0
FilesIncluded=1
FontsIncluded=2
FontsToCompile=|
CopyExternalFiles=No
SetupMedia=3
SetupInstDir=C:\MyProgram
SetupTitle=Óñòàíîâêà
SetupColors=16711680|0|65535
Variables=[cmd]¶[output]¶[test]¶
VersionMajor=1
VersionMinor=0
VersionRelease=0
VersionBuild=0
ReqExLevel=1
CustomFontName=Arial
CustomFontSize=9
CustomFontStyle=0
CustomCharset=1
CacheSize=30
ExtractOp=132
L_OK=OK
L_CANCEL=Cancel
L_YES=Yes
L_NO=No
L_CLOSE=Close
L_ERRORTITLE=Error
L_FINDTITLE=Find
L_FINDPROMPT=Find &What
L_FINDFIRST=&Find First
L_FINDNEXT=Find &Next
L_FINDERROR=Search text not found.
L_PWORDTITLE=Password required
L_PWORDMSG=Before continuing, you must first|enter the correct password.
L_PWORDPROMPT=&Password:
L_PWORDERROR=That's not the right password!
L_MEDIAERROR=In order to play this type of file you must install|the appropriate multimedia hardware and/or|software.
L_INTERNETERROR=Unable to locate Internet Browser software.
L_ABORTFUNCTION=Do you want to cancel this function?
L_EXTRACTERROR=This file could not be extracted and cannot be played.
L_INSTDIRPROMPT=Please enter the drive and directory where you would like this program to be installed. To accept the default drive and directory, simply press Enter.
L_INSTFOLDERPROMPT=Do you wish to create a program folder?
L_INSTRUNPROMPT=Do you want to run
L_INSTDISKPROMPT=Please insert disk #
L_INSTDISKERROR=That's not the correct disk, try again.
L_INSTGENERROR=The installation has terminated.
L_INSTEXITPROMPT=Do you really want to cancel the installation?
L_INSTWINTITLE=Setup
L_INSTPROGTITLE=Extracting Files...
L_SENDEMAIL=Sending Mail...
L_MAILSERVER=Please enter the name of your outgoing email server:
L_COPY=Copy to Clipboard
L_SELECTALL=Select All
L_DONWLOADFILE=Downloading: %s
L_PLEASEWAIT=Please wait...
TrayMenuBegin
MenuName=TrayOpen
MenuText=Îòêðûòü
MenuState=3
MenuKey=0
MenuAction=SetVar "[WindowState]" "Normal"
MenuName=TrayExit
MenuText=Exit
MenuState=3
MenuKey=0
MenuAction=Exit "" ""
MenuEnd
MasterPage
NewPage=New Page
PageStyle=0
PageColor=16777215
PageGradient1=12108881
PageGradient2=9338906
PageGradientDir=1
WallpaperStyle=0
EffectSpeed=0
PgEnterAction=If "[wait]" "=" "Checked"¶    SetVar "[wait1]" "True"¶Else¶    SetVar "[wait1]" "False"¶EndIf¶If "[encode]" "=" "Checked"¶    SetVar "[encode1]" "True"¶Else¶    SetVar "[encode1]" "False"¶EndIf
ObjectType=3
Name=PushButton1
X=225
Y=252
W=39
H=24
Anchor=0
Text=RUN
Align=2
Key=13
ImageStyle=0
XPTheme=Yes
ObjAction=alRun "[cmd]" "[wait1]" "[temp]" "Output" "End" "[encode1]"¶If "[wait1]" "=" "True"¶    SetVar "[output]" "[output][temp]"¶EndIf
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=204
TextColor=0
TabOrder=1
ObjectType=9
Name=TextEntry1
X=8
Y=36
W=784
H=160
Anchor=0
VarName=[output]
EditMultiLine=Yes
EditLen=0
LineColor=12632256
LineWidth=1
LineStyle=0
FillColor=16777215
FillPattern=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=204
TextColor=0
TabOrder=2
ObjectType=9
Name=TextEntry2
X=8
Y=220
W=787
H=24
Anchor=0
VarName=[cmd]
EditLen=0
LineColor=12632256
LineWidth=1
LineStyle=0
FillColor=16777215
FillPattern=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=204
TextColor=0
TabOrder=3
ObjectType=12
Name=CheckBox1
X=712
Y=196
W=78
H=19
Anchor=0
Text=Dos->Win
Align=1
VarName=[encode]
InitState=1
AutoSize=Yes
ObjAction=If "[encode]" "=" "Checked"¶    SetVar "[encode1]" "True"¶Else¶    SetVar "[encode1]" "False"¶EndIf
LineColor=0
LineWidth=1
LineStyle=0
FillColor=16777215
FillPattern=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=204
TextColor=0
TabOrder=4
ObjectType=12
Name=CheckBox2
X=8
Y=196
W=112
H=19
Anchor=0
Text=Wait for the end
Align=1
VarName=[wait]
InitState=0
AutoSize=Yes
ObjAction=If "[wait]" "=" "Checked"¶    SetVar "[wait1]" "True"¶Else¶    SetVar "[wait1]" "False"¶EndIf
LineColor=0
LineWidth=1
LineStyle=0
FillColor=16777215
FillPattern=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=204
TextColor=0
TabOrder=6
ObjectType=8
Name=Text2
X=4
Y=4
W=791
H=24
Anchor=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=204
TextColor=0
Text={\rtf1\ansi\deff0\deftab254{\fonttbl{\f0\fnil\fcharset204 Arial;}}{\pard{\qc\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs18\cf0\b [PubTitle]}}}
HMargin=4
VMargin=4
LineColor=0
LineWidth=0
LineStyle=0
FillColor=12632256
FillPattern=1
TabOrder=5
ObjectType=3
Name=PushButton2
X=272
Y=252
W=48
H=24
Anchor=0
Text=Stop
Align=2
ImageStyle=0
XPTheme=Yes
ObjAction=alStop
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=204
TextColor=0
TabOrder=7
ObjectType=8
Name=Text3
X=9
Y=282
W=784
H=306
Anchor=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=204
TextColor=0
Text={\rtf1\ansi\deff0\deftab254{\fonttbl{\f0\fnil\fcharset204 Arial;}}{\pard{\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs20\cf0 [temp]}}}
HMargin=3
VMargin=3
LineColor=12632256
LineWidth=1
LineStyle=0
FillColor=16777215
FillPattern=0
TabOrder=8
User avatar
Scherzkeks
 
Posts: 79
Joined: Mon Apr 04, 2005 3:04 am
Location: Switzerland

Postby dpayer » Mon Sep 24, 2012 1:06 pm

Well, I was excited at first to go to Neobooker.ru and see what it was about. Google translation was very helpful.

I saw one big point that I can't be happy about. At first glance, it appeared that the administrator of the site (and I can only imagine then most of the participants too) are supportive about using cracked versions of NB.

I posted on their forum and got a response from the Admin (Peter) and he clarified he has a licensed version and encourages the same for all.

I hope that is the case. I could not find the post again where I originally saw a post on cracked versions.
User avatar
dpayer
 
Posts: 1384
Joined: Mon Apr 11, 2005 5:55 am
Location: Iowa - USA

Postby Neosoft Support » Tue Sep 25, 2012 10:50 am

Peter (the admin of Neobooker.ru) does own registered copies of both NeoBook and DBPro, and has been a great advocate of NeoBook in Russia.

In addition to Peter, we do have a handful of registered NeoBook users in Russia. Unfortunately, the number of non-registered users is probably much greater as is the case almost everywhere. :(
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5605
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Next

Return to PlugIn Discussions

Who is online

Users browsing this forum: No registered users and 0 guests

cron