Context sesitive help / SDK

General Macro Scheduler discussion

Moderators: Dorian (MJT support), JRL

Post Reply
SteenJakobsen
Pro Scripter
Posts: 110
Joined: Thu Apr 08, 2010 6:11 am
Location: Hørsholm, Denmark
Contact:

Context sesitive help / SDK

Post by SteenJakobsen » Tue Oct 26, 2010 8:18 am

Hi Marcus,

As allways the SDK works GREAT :-)

I'm extending the use of it and I would like to provide a link to the online documentation for macroscheduler keywords.

I have included this link in DialogManager
http://www.mjtnet.com/onlinehelp.htm

Can I some how spcify a keyword argument (for example "GoSub") so that the help website navigates to the commanreferance for that given keyword?

very best regards Steen
Best Regards
Steen Jakobsen
DM Software A/S

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Oct 26, 2010 11:12 am

Yes, as you can with any CHM. But how you do will it depend on the development language you are using - if I recall you are using PowerBuilder which I'm afraid I can't help you with. You'll have to consult them/your documentation. In Delphi we specify the CHM file and the keyword to load. The help system does the rest. In short this has nothing to do with the SDK - it's a standard CHM file.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

SteenJakobsen
Pro Scripter
Posts: 110
Joined: Thu Apr 08, 2010 6:11 am
Location: Hørsholm, Denmark
Contact:

Post by SteenJakobsen » Wed Oct 27, 2010 8:23 am

Hi Marcus,

Yes I know about the chm argument structure and keyword navigation and that works just fine.
But I would like to access your website's online help.. :-)

How shuld the url be? and can I do that
Best Regards
Steen Jakobsen
DM Software A/S

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Oct 27, 2010 8:31 am

I have no idea about that. It's plain html so there's no API to it. Best I can dream up is to use Google:

http://www.google.com/search?q=FindImag ... nlineHelp/
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

SteenJakobsen
Pro Scripter
Posts: 110
Joined: Thu Apr 08, 2010 6:11 am
Location: Hørsholm, Denmark
Contact:

Post by SteenJakobsen » Wed Oct 27, 2010 8:45 am

Ok .. But since it is your page recieving the request can you supply me with how your page is interpritating the url arguments..? so that I can create a URL that will navigate the user in to the right topic on your websites online help.

My goal is to make the users participate in forums and so on and to be aware of what is going on. I want achive that by embedding varioius links to tour website inside my app :-)
Best Regards
Steen Jakobsen
DM Software A/S

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Oct 27, 2010 8:49 am

I might be missing something here. The online help is static html. There are NO arguments.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

SteenJakobsen
Pro Scripter
Posts: 110
Joined: Thu Apr 08, 2010 6:11 am
Location: Hørsholm, Denmark
Contact:

Post by SteenJakobsen » Wed Oct 27, 2010 8:54 am

ok then I'll just drop the idear.
However it would have been nice to let my users access your website to get help about the language commands and that way gain interst.
Best Regards
Steen Jakobsen
DM Software A/S

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Oct 27, 2010 8:58 am

Well they can still access it. Direct URL is:
http://www.mjtnet.com/OnlineHelp/

Actually I've just done a search using the search box on the online help left hand panel and then took a look at the URL it generated. Looks like you can do a query like this:

http://www.mjtnet.com/OnlineHelp/msched ... ndImagePos

So put your keyword in the zoom_query parameter.

Does that help?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

SteenJakobsen
Pro Scripter
Posts: 110
Joined: Thu Apr 08, 2010 6:11 am
Location: Hørsholm, Denmark
Contact:

Post by SteenJakobsen » Wed Oct 27, 2010 9:09 am

Brillint :-) THANKS ..
Best Regards
Steen Jakobsen
DM Software A/S

User avatar
jpuziano
Automation Wizard
Posts: 1085
Joined: Sat Oct 30, 2004 12:00 am

Post by jpuziano » Wed Oct 27, 2010 6:17 pm

Or... you could just use this direct URL:

http://www.mjtnet.com/OnlineHelp/index. ... agepos.htm

However, it seems you can't just substitute other command names in for findimagepos in the URL and expect it to work for all other commands. I clicked GetPixelColor which it the next command down in the index and this was the URL:

http://www.mjtnet.com/OnlineHelp/index. ... ad1340.htm

I have no idea what hpad1340 means but its required in the URL to display the right page for GetPixelColor.

If you have a small subset of commands, you could determine all the proper links and use those... but if you need to provide links to any and all of them... perhaps just getting them to the index and having them click or search for the command they want will be the least trouble for you.

Take care
jpuziano

Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post - :-)

SteenJakobsen
Pro Scripter
Posts: 110
Joined: Thu Apr 08, 2010 6:11 am
Location: Hørsholm, Denmark
Contact:

Post by SteenJakobsen » Sun Oct 31, 2010 7:43 pm

Hi all,

Thanks for reply :-)

I've implemetetd the keyword search i the CHM file and it work great .
Best Regards
Steen Jakobsen
DM Software A/S

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts