A stripped down example won't help if you don't understand what's happening behind the scenes. Use the Framework script to make something very basic; tell it not to use any of the GW Toolkit stuff except for the standard help object. Next, use the hotkey interface to add a single hotkey. Give it a name, description, and the name of a function or sub to call. Click Finish, and then open your new script in Notepad. The output that the framework generates contains extensive comenting on everything that is happening. Give it a read, and, here's another trick, you can press Control-` on any line you don't understand, and the framework script will open the scripting manual to that exact section.

If you still don't understand what's happening, then feel free to post back with specific questions.

Regards,
Steve



On 12/31/2009 3:40 AM, David wrote:
you are not the only one, who would like to  see such an example.

----- Original Message ----- From: "Tylers Scripting" <[email protected]>
To: <[email protected]>
Sent: Thursday, December 31, 2009 6:17 AM
Subject: Re: Hotkey manager?


Hi Jj,
i just coppied the deal out of the we framework script, that said something about hotkey manager equals nothing or whatever it is. Could we just make it much easier, so my head didn't have to spin, and just email me an example?
Tyler

----- Original Message -----
From: "J.J. Meddaugh" <[email protected]>
To: <[email protected]>
Date: Wednesday, Dec 30, 2009 22:55:25
Subject: Re: Hotkey manager?



Tyler,
The framework script is better understood by looking at it, rather than
running it. Look at how help is done in this script, and use it the same way
or similarly for yours.
Go into the Framework and search for the ScriptHelp line and then find the function it refers to. Also read the scripthelp section in the scripting manual and the StandardHelpDialog stuff in the GWToolkit manual if you're
still stuck.

J.J. Meddaugh - ATGuys.com
A premier Licensed Code Factory and KNFB Reader distributor
----- Original Message ----- From: "Tylers Scripting" <[email protected]>
To: <[email protected]>
Sent: Wednesday, December 30, 2009 11:55 PM
Subject: Re: Hotkey manager?


> Hi Jj,
> I'm not understanding.
> i tried the we framework script a while ago, and i created a script, > and
> all it did was threw messages saying I had been missing code.
> Tyler
>
> ----- Original Message -----
> From: "J.J. Meddaugh" <[email protected]>
> To: <[email protected]>
> Date: Wednesday, Dec 30, 2009 22:47:05
> Subject: Re: Hotkey manager?
>
>ar
>ar
>ar Tyler,
>ar ClientInformation.ScriptHelp takes either a string, which is what you
>ar did,
>ar or a name of a function such as
>ar ClientInformation.ScriptHelp = "myHelpFunction"
>ar
>ar The latter links to a function where you could use the GWToolkit >standard
>ar help dialog and the hotkey manager.
>ar I'd recommen downloading the WE Script Framework and creating a >sample >ar script using the wizard. There's lots of documentation inside this >script
>ar which explains all of this and more.
>ar
>ar
>ar
>ar J.J. Meddaugh - ATGuys.com
>ar A premier Licensed Code Factory and KNFB Reader distributor
>ar ----- Original Message ----- >ar From: "Tylers Scripting" <[email protected]>
>ar To: <[email protected]>
>ar Sent: Wednesday, December 30, 2009 11:42 PM
>ar Subject: Hotkey manager?
>ar
>ar
>ar > Hey Guys,
>ar > As you know if you're on the info list, I've just updated 70s
>ar > commercials
>ar > to 2.0.
>ar > i just realized that i didn't have the help deal included.
>ar > So, i plan on making a 2.01 version to correct this.
>ar > But, that's not my question.
>ar > My question is, so you type a little line of text in with the >client >ar > information property that is associated with context sensitive >help. >ar > When i go and press the help button, which i created with that >client >ar > information property, it just displays a dialog with the >description
>ar > and
>ar > the little line of help.
>ar > Since i am just experementing with this, i just put this is a test.
>ar >  i don't see a button for the hotkey manager, which i should have
>ar > their,
>ar > because in 2.0, i had a hotkey for the script.
>ar > So, how do i get that hotkey manager button up in the help dialog?
>ar > Could someone send me an example?
>ar > Do you have to have an xml file to make this happen?
>ar > Thanks much for any help.
>ar > Tyler
>ar >
>

Reply via email to