Source language: Translate to:

Background Action.

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Background Action.

Postby HackinHoodLogicsTm » Thu Dec 26, 2013 2:21 pm

Hi. Happy xmas to all. My program will be running on backround thus my application will open a new software and i want it in such a way that when a shortcut key is pressed from the other application an action will be executed from my software. My software is running on backround. Any help is appreciated. Thanx :P
I am proud to be a Neobooker!!!
www.neosoftware.com
Special Thanks To
Mr. David Riley
User avatar
HackinHoodLogicsTm
 
Posts: 120
Joined: Wed Aug 28, 2013 7:03 am
Location: Ghana

Re: Background Action.

Postby Cipolla » Fri Dec 27, 2013 9:23 am

Seems you are looking for this plugin:

NeoBookKB

From the description:

This plug-in provides NeoBook authors with the ability to add any number of system-wide global hot keys and keyboard locking to their publications. Hot keys can be used to activate a publication or execute actions even when another application has the input focus. Keyboard locking can be used to intercept keystrokes before they reach other applications. This plug-in is FREE for registered NeoBook users!
Greetings from Germany
Klaus
User avatar
Cipolla
 
Posts: 166
Joined: Fri Apr 01, 2005 1:45 am
Location: Germany

Re: Background Action.

Postby HackinHoodLogicsTm » Fri Dec 27, 2013 10:46 am

Thanks bro!
I am proud to be a Neobooker!!!
www.neosoftware.com
Special Thanks To
Mr. David Riley
User avatar
HackinHoodLogicsTm
 
Posts: 120
Joined: Wed Aug 28, 2013 7:03 am
Location: Ghana

Re: Background Action.

Postby HackinHoodLogicsTm » Sat Dec 28, 2013 6:18 am

Hi, i need help again. I want a script or plugin that will randomly sellect a file in a folder. Example is sellect any text file in a folder and display it in the text entry field. Thanx in advance :P
I am proud to be a Neobooker!!!
www.neosoftware.com
Special Thanks To
Mr. David Riley
User avatar
HackinHoodLogicsTm
 
Posts: 120
Joined: Wed Aug 28, 2013 7:03 am
Location: Ghana

Re: Background Action.

Postby dec » Sat Dec 28, 2013 6:39 am

Hello,

HackinHoodLogicsTm wrote:Hi, i need help again. I want a script or plugin that will randomly sellect a file in a folder. Example is sellect any text file in a folder and display it in the text entry field. Thanx in advance :P


Perhaps something like that can help you in some manner:

Syntax: [ Download ] [ Hide ]
Using Neobook Syntax Highlighting
.Get a list of TXT files from our publication directory
FileList "[PubDir]\*.txt" "Files" "[FileList]"

.Parse the list to get the paths and the total files count
StrParse "[FileList]" "[#13]" "[FilePaths]" "[FilesCount]"

.Take a random number from 0 and the total files count - 1
Random "[FilesCount]-1" "[RandomFileNumber]"

.Fix a possible zero random number (we need a number >= 1)
SetVar "[RandomFileNumber]" "[RandomFileNumber]+1"

.Finally we get a random file path from our TXT files list
AlertBox "Random file" "The random file is: [FilePaths[RandomFileNumber]]"
 
Parsed in 0.007 seconds, using GeSHi 1.0.8.10
.
Enhance your NeoBook applications!
.
58 plugins, 1131 actions and 233 samples
.
NeoPlugins website: www.neoplugins.com
.
User avatar
dec
 
Posts: 1663
Joined: Wed Nov 16, 2005 12:48 am
Location: Spain

Re: Background Action.

Postby HackinHoodLogicsTm » Sat Dec 28, 2013 11:50 am

Thanks bro! You are the man. It helps
I am proud to be a Neobooker!!!
www.neosoftware.com
Special Thanks To
Mr. David Riley
User avatar
HackinHoodLogicsTm
 
Posts: 120
Joined: Wed Aug 28, 2013 7:03 am
Location: Ghana


Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 1 guest

cron