It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
how do i find out the available methods of an object in VBScript? i'm dealing with a CAD program that uses a scripting language based on VBscript but it doesn't have an object browser. i'm trying to script a 3rd party plugin and the developers are being reticent. thanks!!
VBScript is not able to give you an overview of available methods for an object. Also the other way around it is not possible to do a kind of HasMethod on an object. So you need to get your information elsewhere.
My first try would be to find documentation from the internet because with some luck you get also a good description and some examples about what the methods are doing.
Secondary you could try to load the object library as a reference in VBA for an MS Office application (Word, Excel etc.). Then you can peek the methods as soon as you create a variable as that object or use the object browser of VBA.
(Assuming you do not have access to Visual Studio. When you have access to it, it would be even easier to use VS.)
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I've got a project, where I need to use hotkeys, that would work globally through the whole Windows OS. Now, from my knowledge I only know how to read Key events on current form. How would I go about programming a hotkey utility? And what would be the best language for it?
Thanks
For C#/.Net and a low-level hook (using Interops), have a look at Stephen Toubs example here (complete with source):
Low-Level Keyboard Hook in C#
For a more complete example (also C#/.Net and Interops), but with everthing neatly contained in a separate class, including trapping key presses using normal Events on the client side, check this out (the link to the actual source is in the blog text, a bit tricky to spot):
Global hotkeys with .NET
are you looking for something like this. even vhen the program is not active it should respond for a key press.
in windows,
#include<windows.h>
if(GetAsyncKeyState(0x41)){
//do somethong here
}
note: refer virtual key stats http://msdn.microsoft.com/en-us/library/ms927178.aspx
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
The official Chrome extensions documentation seems terribly out of date. For example, this page references chrome.tabs.getSelected() method, which has been deprecated long ago (one should use chrome.tabs.query() now).
The samples page is also outdated. Almost none of the samples I checked worked.
So, naturally, I wonder, when can one get relevant documentation on Google Chrome extensions?
The API documentation should be current. If you want something more tutorial-like the other pages are useful but you should cross-check with the API reference since you are correct that the APIs still change relatively often.
http://tutorialzine.com/2010/06/making-first-chrome-extension/ might be a good place to start.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
How can I extract keywords from Tridion into an Excel format? This is for the purpose of translation of the website.
If you're using Tridion 2009: http://sdltridionworld.com/community/extension_overview/exporttoexcel.aspx
If you're not, you'll have to write some sort of script (really easy) to export it to CSV or similar.
If you are using the audience manager then you can use the work around of exporting and importing keywords for an address book. That will export to CSV and you can import it using the same format.
However for translation purposes (localizing keywords etc.) this might be cumbersome, in that case I would use Nuno's suggestion to write a script of some sort.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I was just wanting to go ahead and make an OS. Because working on projects makes one's knowledge quite good enough. I know I will have to study OS inside-out before actually trying to implement one on my own. I also know I wouldn't be able to implement something right from square one. So I searched the internet for something to work upon. The most common option that I found was to work upon existing Linux distro and contribute to it.
But I found some more interesting options. Would like your suggestions on what to choose for and work upon.
LFS: http://www.linuxfromscratch.org/lfs/
PintOS: http://www.scs.stanford.edu/10wi-cs140/pintos/pintos_1.html#SEC1
Cosmos: http://www.gocosmos.org/index.en.aspx
I would get around 6 months time to work upon it. But before I start off with it, I want to do my research work properly and finalize what and how to work.
Drop in your suggestions on what should I use to work on. :)
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
A friend of mine spends long hours on Excel, and wishes to learn VBA for Excel. He has no experience coding whatsover. What are the best resources (links/books) available?
The best resource for getting going is the Macro recorder. Run it while using Excel and it will generate code to reproduce what you've just done. Looking through and playing with the generated code is a nice way of getting a feel for VBA - both the language and the underlying structures.
There's a nice introduction at http://www.mrexcel.com/articles/record-modify-run-excel-macro.php and some instructions for Excel 2010 at http://msdn.microsoft.com/en-us/library/ee814737.aspx.
The Excel VBA Programming for Dummies book (http://www.amazon.co.uk/Excel-VBA-Programming-Dummies-Computers/dp/0470503696/) is one of the better Dummies books (admittedly the version I read was a few years ago now) - the author does know his stuff. He also maintains a pretty good Excel site, the VBA section is at http://spreadsheetpage.com/index.php/tip/C33.
Pick your favorite:
http://www.excel-vba.com/excel-vba-contents.htm
http://www.vbtutor.net/VBA/vba_tutorial.html
http://www.anthony-vba.kefra.com/
Here's a similar question asked before on SO:
VBA: Basic Syntax and Examples Tutorial
And not to forget: tell him about this site, if he has specific questions, he should ask them here on SO.