Tyler,
If you don't know what subs and functions are, you might want to read up
on the basics of VBScript. The scripting docs, while mostly language
neutral, assume you already know what these elements are and know how to
use them. The framework script also describes, in detail, what it's
asking for in every dialog. Carefully read the prompts and take it one
step at a time.
To answer your specific question, though, the framework script asks you
for the name of a sub to call when the new hotkey you've created is
pressed. You can enter any value you like as long as it meets the
criteria for a variable name. The framework will then not only set up
your hotkey but will additionally create this subroutine for you. If you
then open the generated script and move to the very end, you will see a
blank sub for you to fill in.
Regards,
Steve
On 12/31/2009 10:07 AM, Tylers Scripting wrote:
What sub are you talking about?
I just do that dim myhotkey, and so on.
I don't know what sub you're talking about.
Also, when I tried to use the we framework script once, i made a script with
it, and it just threw errors 24 hours a day, 7 days a week.
Tyler
----- Original Message -----
From: Stephen Clower<[email protected]>
To: [email protected]
Date: Thursday, Dec 31, 2009 7:42:47
Subject: Re: Hotkey manager?
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?
ar Hi Jj,
ar i just coppied the deal out of the we framework script, that said
ar something about hotkey manager equals nothing or whatever it is.
ar Could we just make it much easier, so my head didn't have to spin,
ar and just email me an example?
ar Tyler
ar
ar ----- Original Message -----
ar From: "J.J. Meddaugh"<[email protected]>
ar To:<[email protected]>
ar Date: Wednesday, Dec 30, 2009 22:55:25
ar Subject: Re: Hotkey manager?
ar
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>