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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 614
» Latest member: LindsayRoano
» Forum threads: 62
» Forum posts: 161

Full Statistics

Online Users
There are currently 21 online users.
» 0 Member(s) | 20 Guest(s)
Yandex

Latest Threads
Keyboard Shortcut - Go to...
Forum: Keyboard shortcuts with AutoHotkey code
Last Post: MightyToad
07-18-2024, 12:55 PM
» Replies: 5
» Views: 11,306
Keyboard Shortcut - Launc...
Forum: Keyboard shortcuts with AutoHotkey code
Last Post: dianapps
07-10-2024, 05:30 AM
» Replies: 7
» Views: 17,110
Code Deleted
Forum: Need help with ShortKeeper?
Last Post: Mrgooga
03-07-2023, 06:59 PM
» Replies: 4
» Views: 4,636
Keyboard Shortcut - Highl...
Forum: Keyboard shortcuts with AutoHotkey code
Last Post: HunterBryan
07-11-2022, 10:07 AM
» Replies: 1
» Views: 9,417
Enterpad Tips - Do Multip...
Forum: The Enterpad corner
Last Post: janamacon
09-29-2021, 08:18 AM
» Replies: 2
» Views: 15,580
Pay by mastercard
Forum: The Enterpad corner
Last Post: Jinonisie
07-19-2021, 07:51 AM
» Replies: 2
» Views: 12,763
Keyboard Shortcut - Get G...
Forum: Keyboard shortcuts with AutoHotkey code
Last Post: bratpits
06-26-2021, 07:12 AM
» Replies: 3
» Views: 13,624
Enterpad with new compute...
Forum: The Enterpad corner
Last Post: denilama
10-12-2020, 08:30 AM
» Replies: 9
» Views: 46,886
Keyboard Shortcut - Auto ...
Forum: Keyboard shortcuts with AutoHotkey code
Last Post: denilama
09-23-2020, 10:12 AM
» Replies: 2
» Views: 16,319
Pre Sales Template Questi...
Forum: The Enterpad corner
Last Post: denilama
08-20-2020, 12:45 PM
» Replies: 1
» Views: 10,121

 
Lightbulb Keyboard Shortcut - Quick WordPad for Notes
Posted by: denilama - 02-25-2018, 03:06 PM - Forum: Keyboard shortcuts with AutoHotkey code - No Replies

This AutoHotkey script quickly brings an existing WordPad file to the forefront of the desktop, allowing the user to type or read whatever they need and continue working where they left off with minimum disruption. Workflow does not suffer and concentration can be maintained.

A bonus feature of this script is that you do not need to think about whether the WordPad file is open or not. If the file is open, it will bring it to the forefront. The script will not open another copy of the same file (which could result in the loss of some information, if two concurrent versions of the file were edited at the same time).

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

FileName := "Path+FileName.rtf"
wmi := ComObjGet("winmgmts:")
queryEnum := wmi.ExecQuery("Select * from Win32_Process where Name = 'wordpad.exe'") ._NewEnum()
while queryEnum[process]
{
 LenCL := StrLen(process.CommandLine)
 LenFL := StrLen(FileName)
 if (LenCL >= LenFL)
   if (FileName = SubStr(process.CommandLine, -(LenFL-1)))
   {
     WinActivate % "ahk_pid" . process.ProcessId
     return
   }
}
Run % "wordpad.exe " . FileName

At line #1, “Path+FileName.rtf” must be replaced with the actual path and name of the WordPad file (do not remove quotation marks).

This script is optimized to be used with ShortKeeper. As such, there is no “Return” at the end and variable(s) don’t need to be cleared. ShortKeeper will do 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 - Backing Up a File
Posted by: denilama - 02-22-2018, 01:48 PM - Forum: Keyboard shortcuts with AutoHotkey code - No Replies

If you’re constantly modifying an important file, you know you should be backing it up regularly, just in case. Starting File Explorer, locating the right folder, selecting the right file, copying the file, and then pasting it can be enough to make you want to skip this important task.

With the AutoHotkey script below, creating a shortcut in ShortKeeper will make backing up a file fast and easy. If something goes wrong with your working file, the backup will save you time and money.

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

FolderName := "c:\folder"
FileNameWithoutExtension := "filename"
FileNameExtension := "ext"
 
IfNotExist, %FolderName%\%FileNameWithoutExtension%.%FileNameExtension%
{
  MsgBox, The file to back up does not exist:`n%FolderName%\%FileNameWithoutExtension%.%FileNameExtension%
}
else

  IfNotExist, %FolderName%\bak
    FileCreateDir, %FolderName%\bak
  FormatTime, CurrentDateTime,, yyyy-MM-dd_hh-mm
  FileCopy, %FolderName%\%FileNameWithoutExtension%.%FileNameExtension%, %FolderName%\bak\%FileNameWithoutExtension%_%CurrentDateTime%.%FileNameExtension%, 1
  if ErrorLevel
    MsgBox Unable to bak up the file %FileNameWithoutExtension%.%FileNameExtension%.
}

At line #1: "c:\folder" must be replaced with the actual name of the folder that contains the file that is to be backed up (do not include “\” at the end; do not remove quotation marks). 

At line #2: "filename" must be replaced with the actual name of the file that is to be backed up (do not include file extension; do not remove quotation marks).

At line #3: "ext" must be replaced with the actual extension of the file name (do not remove quotation marks).

This script will create (or use an existing) "\bak" folder to back up the file. It will include a date & time stamp in the backup filename.

Print this item

Lightbulb Keyboard Shortcut - Go to the Next Page in Google Search Results
Posted by: denilama - 02-22-2018, 09:47 AM - Forum: Keyboard shortcuts with AutoHotkey code - Replies (5)

If you use Google Search a lot, scrolling and clicking to bring up the next page of results can be a real pain. Using the "Run AutoHotkey code" command in ShortKeeper (with the following script) will allow you to easily create a keyboard shortcut to do this without having to use your mouse.

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

LastTitleMatchMode := A_TitleMatchMode
SetTitleMatchMode 2
if WinActive("Google Search")
{
  Send ^l
  Sleep 200
  SendInput javascript: document.getElementById("pnnext").click()
  Sleep 200
  Send {enter}
}
SetTitleMatchMode %LastTitleMatchMode%

This script was successfully tested on May 21, 2021 with Edge, Chrome, and Internet Explorer (IE).

The instructions to go to the next page (lines #5 to #9) will be executed only if the active window title includes "Google Search".

If ever Google changes the way its search webpage works, this script may stop working. Please report any problems here. This will allow someone to correct the script. Just subscribe to this thread to be notified of any updates.

Print this item

  Overlay | SB Pro PE Workstation
Posted by: denilama - 02-20-2018, 02:02 PM - Forum: The Enterpad corner - No Replies

Nice setup from SergeyPe

   

   

Found on http://www.steelbeasts.com/topic/4340-sb...on/?page=4

Print this item

  Logging to a website
Posted by: Philippe27 - 02-18-2018, 04:56 PM - Forum: Need help with ShortKeeper? - Replies (4)

Hi! I am looking to create a shortcut to login on websites. Let's say my username is Phil and my password is 27, how can I put it down in the insert text section to make it login to the website without even pressing enter?

Print this item

Lightbulb Keyboard Shortcut - Open a Web Page with a Non-default Web Browser
Posted by: denilama - 02-15-2018, 10:32 AM - Forum: Keyboard shortcuts with AutoHotkey code - No Replies

Creating a shortcut to open a web page with ShortKeeper’s "Open web page" command is easy. The shortcut will open the web page with your default web browser. But what if you want to open the web page with a non-default web browser? AutoHotkey has you covered. Instead of using ShortKeeper’s "Open web page" command, use the "Run AutoHotkey code" command with your own AutoHotkey code.

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

In the PARAM field, you could use one of the following examples:

Run % "firefox.exe " . "http://www.google.com"
Run % "chrome.exe " . "http://www.google.com"
Run % "iexplore.exe " . "http://www.google.com"

Simple enough!!

Print this item

Lightbulb Keyboard Shortcut - Launch a Google Search for Selected Text
Posted by: denilama - 02-14-2018, 08:37 PM - Forum: Keyboard shortcuts with AutoHotkey code - Replies (1)

If you often have to google for selected text, this keyboard shortcut can help. Typically, after selecting the text (from anywhere), you have to copy it (to the clipboard), start your browser, go to google.com, paste it (from the clipboard) in the query field, and then click a button to launch the search. This whole process can be automated with the following AutoHotkey script:

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

ClipSaved := ClipboardAll
Clipboard =
SendInput, ^c
ClipWait, 2
if ErrorLevel 
{
  MsgBox % "Failed attempt to copy text to clipboard."
}
else
{
  TextSelected := Trim(Clipboard)
  StringReplace,TextSelected,TextSelected,`n,%A_SPACE%,A
  StringReplace,TextSelected,TextSelected,`r,,A
  StringReplace,TextSelected,TextSelected,%A_SPACE%,+,A
  Run % "https://www.google.com/search?q=%22" . TextSelected . "%22"
}
Clipboard := ClipSaved 

Spaces and tabs at the beginning and end of the selection will be omitted from the search.

This script will search for a phrase (instead of separate words). If you prefer to search for separate words, replace line #15 with:
Run % "https://www.google.com/search?q=" . TextSelected 
At line #15, you can specify your Google search country preference (e.g. google.ca for Canada, google.au for Australia, etc.).

This script will restore the previous clipboard content.

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

Google Search usually ignores punctuation that isn’t part of a search operator.

Print this item

  Enterpad Tips - Do MultipleClicks On Each Enter Keys
Posted by: Nickdemar734 - 02-12-2018, 04:58 AM - Forum: The Enterpad corner - Replies (2)

Enterpad Tips - Do MultipleClicks On Each Enter Keys.

I must say that working with a Enterpad Device from Cedeq, is a must have for All people that want to Work faster on Desktop Computer or Windows Tablets. you can have all your favorite Keyboard Shortcuts Combitions on Each Enter Keys. Press these Keys and it will automatic execute that Macro Script. You can use it with any kind of Applications for example: PhotoShop, Gimp, Corel Painter, Auto Cad, AutoDesk , Microsoft Office SpreadSheats, Blender, zbrush, MicroSoft Visual Studio, Libre Office, Html, Webdesign, and my more.

Improve your Computer Movements And stay Always With your Hand on the Mous Device.

[Image: YQAZKSa.png]

I Did Find a very Cool Ahk Script From Here, Enterpad Commands.
If you work on a Windows System, You can use the Code for Ahk Enterpad Device.
I did Change the Code a little bit,
and now i can do Double Clicks or Multiple Clicks on Each Enter Keys.

[Image: Zgnxxop.png]
Now i can Choose What Ahk Script must be executed if i press a count of times of these Enter keys.

I did Make for All Users an Universal Code, So that They can Simple Chance or optimize it, This Ahk Code:
This Code can do this:
It will Count the Clicks in a certain ms time, if it reach that time, Then it will use that Count Value to Execute that part of Ahk code. How Nice is that.

Code:
#NoEnv
;#SingleInstance force
;#NoTrayIcon

a1 := -1
b1 := 0
 
a2 := -1
b2 := 0


;-----------------------------------------------------------001------
001: ;MultipleClicks For Enter Key Number 1
if(a1 = -1)
{
a1 := 4
#Persistent
SetTimer, CountdownEnterKey1, 100
}
else
{
a1 := 3
}
return
;-----------------------------------------------------------002------
002: ;MultipleClicks For Enter Key Number 2
if(a2 = -1)
{
a2 := 3
SetTimer, CountdownEnterKey2, 100
}
else
{
a2 := 3
}
return
;-----------------------------------------------------------...------
;-----------------------------------------------------------230------

CountdownEnterKey1:
if(a1 = 3)
{
b1 := b1 + 1
}
if(a1 = 0)
{
;msgbox you did Click <F1> Key > %b1%x times
if (b1=1)
{
;if Click 1x Time - Then Execute Ahk Code Part 1
;Here you can put any code for Part 1       
}
if (b1=2)
{
;if Click 2x Times - Then Execute Ahk Code Part 2  
;Here you can put any code for Part 2       
}
if (b1=3)
{
;if Click 3x Times - Then Execute Ahk Code Part 3
;Here you can put any code for Part 3       
}
if (b1=4)
{
;if Click 4x Times - Then Execute Ahk Code Part 4
;Here you can put any code for Part 4       
}
b1 := 0
SetTimer, CountdownEnterKey1 , off
}
a1 := a1 - 1
return

CountdownEnterKey2:
if(a2 = 3)
{
b2 := b2 + 1
}
if(a2 = 0)
{
;msgbox you did Click <F2> Key > %b1%x times
if (b2=1)
{
;if Click 1x - Then Execute Ahk Code Part 1
;Here you can put any code for Part 1       
}
if (b2=2)
{
;if Click 2x Times- Then Execute Ahk Code Part 2  
;Here you can put any code for Part 2       
}
if (b2=3)
{
;if Click 3x Times- Then Execute Ahk Code Part 3
;Here you can put any code for Part 3       
}
if (b2=4)
{
;if Click 4x Times - Then Execute Ahk Code Part 4
;Here you can put any code for Part 4       
}
SetTimer, CountdownEnterKey2 , off
b2 := 0
}
a2 := a2 - 1
return
If the Maker or Users of the Enterpad Devices does Have any kind of Tips to improve my code, I am Happy to Hear From Here. Thanks.

Print this item

Question Enterpad with MS Word
Posted by: forstevy - 02-09-2018, 11:17 AM - Forum: The Enterpad corner - Replies (5)

Can your pad be used with Microsoft Word? I want to program keys for a specific font or type size or style or function? The next question is which one of your products do you recommend? Thank you.

Print this item

  Shortkeeper Command Editor
Posted by: Nickdemar734 - 02-07-2018, 09:58 AM - Forum: ShortKeeper suggestions and feedback - Replies (2)

Cedeq Shortkeeper is a Lightweight Automation Software, i did test it out and it works very well.

Shortkeeper Autohotkey Command Editor:

The First time I did not find out, that you can write multi lines of AHK Codes, I would like, that maker of this Tool does change the Software a little bit so that in the next Update, the users can visual see that the PARAM Line not only a editorliner is, but a cool Command Editor is. (With a example code – in the Run Autohotkey mode would be very useful) 

[Image: oXABDvs.png]

Print this item