Search found 6 matches
- Thu Oct 11, 2018 11:12 pm
- Forum: Technical / Scripting
- Topic: Variable Scope
- Replies: 3
- Views: 4008
Re: Variable Scope
Thanks for your reply PepsiHog and sorry for a delayed reply. I was not very clear in my original post. What I want is to use the same named variable in multiple routines and also restore the state of LOCALVARS to its previous value, not manually hard set it. To my mind, a sub should not be changing...
- Sun Jun 17, 2018 4:32 pm
- Forum: Technical / Scripting
- Topic: Variable Scope
- Replies: 3
- Views: 4008
Variable Scope
Hi, I am aware of LOCALVARS to set the scope of variables created after the command. // Global Let>LOCALVARS=0 Let>MyGlobalVar=GlobalValue // Local Let>LOCALVARS=1 Let>MyLocalVar=LocalValue However, as mentioned in a previous post from some years back, this can become somewhat troublesome when neste...
- Tue May 30, 2017 7:16 am
- Forum: Technical / Scripting
- Topic: Draw a rectangle with transparency
- Replies: 4
- Views: 6567
Re: Draw a rectangle with transparency
Hi Marcus Thanks for the reply. I appreciate VB.net and MS are two completely different beasts, maybe my wording of 'import vb.net script' was a little misleading. What I have been doing is calling the vb.net code with rectangle parameters from MS, to draw the required rectangle on screen, but when ...
- Mon May 29, 2017 4:11 pm
- Forum: Technical / Scripting
- Topic: Draw a rectangle with transparency
- Replies: 4
- Views: 6567
Draw a rectangle with transparency
Hi, I am simply trying to draw a rectangle on the screen, that has some transparency. I can get this working in VB.NET with the following code Public Class Class1 Private Declare Function GetDC Lib "user32.dll" (ByVal hwnd As IntPtr) As IntPtr Private Declare Function ReleaseDC Lib "user32.dll" (ByV...
- Thu Feb 11, 2010 9:41 am
- Forum: Technical / Scripting
- Topic: Determining Content of Dropdown box
- Replies: 3
- Views: 4272
Thanks for the reply guys. mtettmar : That is an option that I considered but dismissed, but after you mentioning it, I might give it some extra thought. The one thing I want to account for, is the fact that the /drive=x: parameter may not be valid (possible typing mistake etc.. when calling the mac...
- Wed Feb 10, 2010 6:19 pm
- Forum: Technical / Scripting
- Topic: Determining Content of Dropdown box
- Replies: 3
- Views: 4272
Determining Content of Dropdown box
I am trying to write a macro for some automation, and part of the requirement is to be able to automatically select an option from the programs drop down menu, but im having problems determining the content in the dropdown box. So that you have an idea of what im trying to do, i'll give a little mor...