Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 122
» Latest member: ethanrik
» Forum threads: 61
» Forum posts: 147

Full Statistics

Online Users
There are currently 36 online users.
» 0 Member(s) | 35 Guest(s)
Bing

Latest Threads
Enterpad Tips - Do Multip...
Forum: The Enterpad corner
Last Post: janamacon
09-29-2021, 08:18 AM
» Replies: 2
» Views: 7,659
Pay by mastercard
Forum: The Enterpad corner
Last Post: Jinonisie
07-19-2021, 07:51 AM
» Replies: 2
» Views: 7,529
Keyboard Shortcut - Get G...
Forum: Keyboard shortcuts with AutoHotkey code
Last Post: bratpits
06-26-2021, 07:12 AM
» Replies: 3
» Views: 5,802
Enterpad with new compute...
Forum: The Enterpad corner
Last Post: denilama
10-12-2020, 08:30 AM
» Replies: 9
» Views: 30,878
Keyboard Shortcut - Auto ...
Forum: Keyboard shortcuts with AutoHotkey code
Last Post: denilama
09-23-2020, 10:12 AM
» Replies: 2
» Views: 8,911
Pre Sales Template Questi...
Forum: The Enterpad corner
Last Post: denilama
08-20-2020, 12:45 PM
» Replies: 1
» Views: 5,378
Keyboard Shortcut - Launc...
Forum: Keyboard shortcuts with AutoHotkey code
Last Post: Sooqa
08-06-2020, 12:10 AM
» Replies: 4
» Views: 4,982
Keyboard Shortcut - Find ...
Forum: Keyboard shortcuts with AutoHotkey code
Last Post: pilot888
07-27-2020, 12:58 PM
» Replies: 0
» Views: 1,008
ChromeBooks
Forum: Need help with ShortKeeper?
Last Post: denilama
07-12-2020, 04:12 PM
» Replies: 1
» Views: 1,722
Is the Enterpad waterproo...
Forum: The Enterpad corner
Last Post: denilama
06-13-2020, 11:18 AM
» Replies: 1
» Views: 5,190

 
Photo Failed attempt to launch Shortkeeper
Posted by: Oli_B - 06-21-2018, 10:46 AM - Forum: Need help with ShortKeeper? - Replies (2)

Hi, I got an error message this morning while trying to open Shortkeeper. The first time, I double clicked on the Shortkeeper logo in the taskbar and I got this message :

Failed attempt to launch program or document. Specifically : The application has failed to start because its side-by-side configuration is incorrect.

   

Then I tried again but this time by double clicking on the Shortkeeper icon on my desktop. I then got the same message written differently :

   

Can someone help me solve this thing here because I can't use Shortkeeper from now on.

Thanks!

Print this item

  Enterpad key with double duty
Posted by: Ouisie24 - 06-07-2018, 02:58 PM - Forum: The Enterpad corner - Replies (1)

Can I program a single Enterpad key to work in two different programs.

Here is the example.

Instead of creating two keys for changing text to Times New Roman, one key for Word and another for Thunderbird email. Can you program the different commands on the same key with the key recognizing what program is running when the key is pressed?

Thank you

Print this item

Lightbulb Keyboard Shortcut - Auto Login to a WordPress Dashboard
Posted by: denilama - 05-31-2018, 04:03 PM - Forum: Keyboard shortcuts with AutoHotkey code - Replies (2)

If you maintain a WordPress site, chances are that you frequently have to go through the tedious process of accessing the Dashboard, which includes launching a web browser, opening the WordPress login page, inputting your username and password, and then clicking the Log In button. The following AutoHotkey script can be used with ShortKeeper to create a keyboard shortcut to automate the whole process.

Need help creating a keyboard shortcut with ShortKeeper using the following AutoHotkey code? This 5-minute tutorial will help!

Username := "YourUserName"
Password := "YourPassord"
URL := "http://yourdomain.com/wp-login.php"
wb := ComObjCreate("InternetExplorer.Application")
wb.Visible := True
wb.Navigate(URL)
TimeOut := 10
While wb.readyState != 4 || wb.document.readyState != "complete" || wb.busy
{
 Sleep, 1000
 TimeOut := TimeOut - 1
 if (TimeOut = 0)
   return
}
Sleep 500
wb.document.getElementById("user_login").value := Username
wb.document.getElementById("user_pass").value := Password
wb.document.getElementById("wp-submit").Click()
At lines #1 and #2, "YourUsername" and "YourPassword" must be replaced with the actual user name and password (do not remove quotation marks).

At line #3, "http://yourdomain.com/wp-login.php" must be replaced with the actual URL of the WordPress login page (do not remove quotation marks).

At line #7, a timeout delay of 10 seconds is set in case the script becomes unresponsive (e.g. due to a slow Internet connection) in attempting to load the WordPress login page. If the timeout expires, the script will simply terminate without inserting the username and password. The timeout delay can be changed if needed.

At line #15, a 500 milliseconds pause is inserted after the WordPress login page is loaded and before inserting the username and password. You might have to lengthen the pause for a slow computer.

Use a password stored in an external encrypted file

Someone with access to your ShortKeeper application might be able to see your WordPress password, which some users may find insecure. This section explains how to use a password stored in a separate file that is protected with a master password.

To begin, replace line #2 of the script above with the following two lines:
PasswordName := "wordpress1"
ExternalFileName := "T:\MyData.ini"
At line #2, "T:\MyData.ini" must refer to the path and filename of the external password file (do not remove quotation marks).

Now, to get the password from the external file, the following line of code must be inserted between line #16 and line #17 of the script above:
IniRead, Password, % ExternalFileName, % "Passwords", % PasswordName

The following line inserted between lines #17 and #18 will make sure the password in the computer memory is cleared as soon as possible:
Password :=

Then you will have to create an external file (a simple text file will do) with an ".ini" extension with content like this:

[Passwords]
wordpress1=hkdf77*&77767s8erw82w38
wordpress2=76349286&876&*987&*fGG

You can add all of your other passwords to the same file.

If the external file cannot be read (e.g. if it is encrypted), the inserted password will be "ERROR" instead of the actual password.

There are several ways to encrypt/decrypt the external file. If you are using TrueCrypt, you could insert the following code between lines #3 and #4 above. This will prompt you to enter the master password if the file is not already decrypted:
if (!FileExist(ExternalFileName))
{
 TrueCryptPath := "C:\Program Files (x86)\TrueCrypt\TrueCrypt.exe"
 ContainerPath := "U:\TrueCryptContainer.tc"
 RunWait % TrueCryptPath . " /q /lt /v " . ContainerPath
}
At line #3, "C:\Program Files (x86)\TrueCrypt\TrueCrypt.exe" must refer to the path of TrueCrypt.exe (do not remove quotation marks).

At line #4, "U:\TrueCryptContainer.tc" must refer to the path of the TrueCrypt file container (do not remove quotation marks).

Print this item

Lightbulb Keyboard Shortcut - Insert a Password Stored in an Encrypted File
Posted by: denilama - 05-22-2018, 02:45 PM - Forum: Keyboard shortcuts with AutoHotkey code - No Replies

Creating a shortcut to insert a password is easy with the "Insert text" command in ShortKeeper. However, your password could be found by someone with access to your ShortKeeper. One way to make things more secure is to create a shortcut to insert a password that is stored in an external file (containing all of your passwords) protected with a master password. Here is one way to do it.

Instead of using the "Insert text" command in ShortKeeper, you use the "Run AutoHotkey code" command. Then, instead of typing your password in the Param field, you paste the following code:

ExternalFileName := "T:\MyData.ini"
PasswordName := "YourBank1"
IniRead, Password, % ExternalFileName, % "Passwords", % PasswordName
SendInput % Password
Password :=

At line #1 of the code above, "T:\MyData.ini" must refer to the path and filename of the external file containing your passwords (do not remove quotation marks).

At line #2 of the code above, "YourBank1" must match one of the password names in the external file (do not remove quotation marks).

Then you will have to create an external file (a simple text file will do) with an ".ini" extension with content like this:

[Passwords]
YourBank1=hkdf77*&77767s8erw82w38
YourBank2=76349286&876&*987&*fGG

You can add all of your other passwords in the external file too.

If the external file cannot be read (e.g. if it is encrypted), the shortcut will insert "ERROR" instead of the password.

There are several ways to encrypt/decrypt the external file. If you are using VeraCrypt, you could insert the following code between lines #2 and #3 above. This will prompt you to enter the master password if the file is not already decrypted:
if (!FileExist(ExternalFileName))
{
  VeraCryptPath := "C:\Program Files\VeraCrypt\VeraCrypt.exe"
  ContainerPath := "U:\VeraCryptContainer.vc"
  RunWait % VeraCryptPath . " /hash sha512 /q /l t /v " . ContainerPath
}

At line #3, "C:\Program Files\VeraCrypt\VeraCrypt.exe" must refer to the path of VeraCrypt.exe (do not remove quotation marks).

At line #4, "U:\VeraCryptContainer.vc" must refer to the path of the VeraCrypt file container (do not remove quotation marks).

Print this item

Lightbulb Keyboard Shortcut - Auto Login to a Questrade Account
Posted by: denilama - 05-11-2018, 01:42 PM - Forum: Keyboard shortcuts with AutoHotkey code - No Replies

If you do day trading, you know that five seconds can be the difference between a gain and a loss. If your broker is Questrade and want a keyboard shortcut that will automatically log you in, the following AutoHotkey script is for you. The shortcut will open Questrade (https://login.questrade.com/Signin.aspx) in Internet Explorer, enter your username and password in the appropriate fields.

Need help creating a keyboard shortcut with ShortKeeper using the following AutoHotkey code? This 5-minute tutorial will help!

Username := "YourUserName"
Password := "YourPassword"
URL := "https://login.questrade.com/Signin.aspx"
wb := ComObjCreate("InternetExplorer.Application")
wb.Visible := True
wb.Navigate(URL)
While wb.readyState != 4 || wb.document.readyState != "complete" || wb.busy
  Sleep, 100
wb.document.getElementById("userId").value := Username
wb.document.getElementById("password").value := Password

At lines #1 and #2, “YourUsername” and “YourPassword” must be replaced with the actual user name and password (do not remove quotation marks).

This script will also work if you are already logged into Questrade. It will start Internet Explorer even if this is not your default browser. The script was tested with Windows 7 and 10.

If Questrade changes the way its web page works, this script might stop working. If you experience any problems, please let me know with a post on this thread. You can subscribe to the thread to be notified of any updates.

You can now concentrate on what you do best: trading! And remember... buy the rumor and sell the news Smile

Print this item

  Mouse click error
Posted by: denilama - 05-11-2018, 10:33 AM - Forum: Need help with ShortKeeper? - Replies (1)

Note: This post is taken from another forum where I provide ShortKeeper support.

Quote:Mouse click (Error with shortcut 9, line 3. This line does not contain a recognized action. Specifically: 300, 400 Failed attempt to start AutoHotkey.)

"Example of Param" (at the bottom of the center column) should have specified "Click, 300, 400" instead of just "300, 400". The help content has been updated (ShortKeeper v1.0.1.9). Don’t miss the three-dot helper button (to the right of Param) to get the screen coordinates.

Thank you for your feedback.

Print this item

  Extra Clipboard
Posted by: denilama - 05-11-2018, 10:25 AM - Forum: Need help with ShortKeeper? - No Replies

Note: This post is taken from another forum where I provide ShortKeeper support.

Quote:Extra Clipboard, He does not write the letter i.

I imagine that you are using "Copy text to extra clipboard" or "Paste text from extra clipboard" to insert (instead of copy/paste) text. In the Param field for this command, you need to specify a clipboard number (e.g. 1, 2, 3, etc.). It should not contain the text you want to copy or paste. We will try to improve the help content. Please let me know if you still don’t understand how to use the clipboard commands. They are really useful.

Print this item

  Review of the Enterpad by Ryan Wells
Posted by: denilama - 04-27-2018, 01:22 PM - Forum: The Enterpad corner - No Replies

Ryan Wells writes:

I’m doing something a little different here today. Today I’m going to give you a product review on a neat little device the great guys at Cedeq sent my way. The product is called the Enterpad VBA and it’s a slight variant on the more popular AutoHotKey Enterpad.

The Enterpad VBA is a physical product that lets you run macros in Excel and Word with the push of a button. It really can speed up your spreadsheet work!

See complete article (with pictures) at: https://wellsr.com/vba/2018/review/cedeq...ba-review/

Print this item

Lightbulb Keyboard Shortcut - Paste Unformatted Text in MS Word
Posted by: denilama - 04-25-2018, 06:46 PM - Forum: Keyboard shortcuts with AutoHotkey code - No Replies

Copying and pasting text from a web page into an MS Word document can be more trouble than it’s worth. We’ve all experienced it at least once. Changing the font, changing its size, changing its color, and changing other formatting are the usual steps involved. What if you could paste text with a macro that gets rid of all that unnecessary formatting? The ‘Paste Special’ command in MS Word has an option for this, but it takes several steps. With this little script, you can do it in one.

Need help creating a keyboard shortcut with ShortKeeper using the following AutoHotkey code? This 5-minute tutorial will help!

Critical
if WinActive("ahk_class OpusApp")
{
  ControlGet, hwnd, hwnd, , _WwG1, A
  if DllCall("oleacc\AccessibleObjectFromWindow", "Ptr", hwnd, "UInt", 0xFFFFFFF0, "Ptr", -VarSetCapacity(IID,16)+NumPut(0x46000000000000C0, NumPut(132096, IID, "Int64"), "Int64"), "Ptr*", pacc) = 0
    WordApp := ComObject(9, pacc, 1).Application
  WordApp.Selection.PasteSpecial(,,,,2)
}
else
  MsgBox 0x40040, ShortKeeper, There is no Word document window active.

The script will paste the text if the Word document is the active window and is not busy (e.g. selecting a command).

This script is optimized to be used with ShortKeeper. As such, there is no exception handling, no “Return” at the end, and variable(s) don’t need to be cleared. ShortKeeper does all of this automatically. Just copy/paste the code in the PARAM field in ShortKeeper, set your hotkey, save, and you’re ready to use your new keyboard shortcut.

Print this item

Lightbulb Keyboard Shortcut - Protect/Unprotect the Current Worksheet in Excel
Posted by: denilama - 04-20-2018, 08:34 AM - Forum: Keyboard shortcuts with AutoHotkey code - No Replies

It is a good habit to protect a worksheet against inadvertent changes when analyzing its data. The following Autohotkey code (script) lets you create a keyboard shortcut that will quickly protect an unprotected worksheet. The same keyboard shortcut will unprotect a protected worksheet. This shortcut works with any worksheet; no Excel add-in required.

Need help creating a keyboard shortcut with ShortKeeper using the following AutoHotkey code? This 5-minute tutorial will help!

Critical
if WinActive("ahk_class XLMAIN")
{
  ControlGet, hwnd, hwnd, , Excel71, A
  if DllCall("oleacc\AccessibleObjectFromWindow", "Ptr", hwnd, "UInt", 0xFFFFFFF0, "Ptr", -VarSetCapacity(IID,16)+NumPut(0x46000000000000C0, NumPut(132096, IID, "Int64"), "Int64"), "Ptr*", pacc) = 0
    ExcelSheet := ComObject(9, pacc, 1).ActiveSheet
  if (ExcelSheet.ProtectContents)
  {
    ExcelSheet.Unprotect
    MsgBox ,,,% "Worksheet Unprotected.", 1
  }
  else
  {
    ExcelSheet.Protect
    MsgBox ,,,% "Worksheet Protected.", 1
  }
}
else
  MsgBox 0x40040, ShortKeeper, There is no Excel worksheet window active.

The setting will be applied if the Excel worksheet is the active window and is not busy (e.g. editing, selecting a command).

The number “1” at lines #10 and #15 sets a 1-second duration for a dialog box to appear indicating the change process. For the dialog box to remain longer, simply adjust the value (e.g., 2, 3, etc.).

This script is optimized to be used with ShortKeeper. As such, there is no exception handling, no “Return” at the end, and variable(s) don’t need to be cleared. ShortKeeper does all of this automatically. Just copy/paste the code in the PARAM field in ShortKeeper, set your hotkey, save, and you’re ready to use your new keyboard shortcut.

Print this item