Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 53 online users. » 0 Member(s) | 53 Guest(s)
|
Latest Threads |
Code Deleted
Forum: Need help with ShortKeeper?
Last Post: Mrgooga
03-07-2023, 06:59 PM
» Replies: 4
» Views: 3,258
|
Keyboard Shortcut - Highl...
Forum: Keyboard shortcuts with AutoHotkey code
Last Post: HunterBryan
07-11-2022, 10:07 AM
» Replies: 1
» Views: 8,690
|
Keyboard Shortcut - Launc...
Forum: Keyboard shortcuts with AutoHotkey code
Last Post: pilot888
04-18-2022, 02:24 PM
» Replies: 6
» Views: 15,196
|
Keyboard Shortcut - Go to...
Forum: Keyboard shortcuts with AutoHotkey code
Last Post: denilama
03-16-2022, 12:22 PM
» Replies: 2
» Views: 10,130
|
Enterpad Tips - Do Multip...
Forum: The Enterpad corner
Last Post: janamacon
09-29-2021, 08:18 AM
» Replies: 2
» Views: 13,885
|
Pay by mastercard
Forum: The Enterpad corner
Last Post: Jinonisie
07-19-2021, 07:51 AM
» Replies: 2
» Views: 12,008
|
Keyboard Shortcut - Get G...
Forum: Keyboard shortcuts with AutoHotkey code
Last Post: bratpits
06-26-2021, 07:12 AM
» Replies: 3
» Views: 12,566
|
Enterpad with new compute...
Forum: The Enterpad corner
Last Post: denilama
10-12-2020, 08:30 AM
» Replies: 9
» Views: 44,187
|
Keyboard Shortcut - Auto ...
Forum: Keyboard shortcuts with AutoHotkey code
Last Post: denilama
09-23-2020, 10:12 AM
» Replies: 2
» Views: 15,460
|
Pre Sales Template Questi...
Forum: The Enterpad corner
Last Post: denilama
08-20-2020, 12:45 PM
» Replies: 1
» Views: 9,526
|
|
|
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.
|
|
|
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.
|
|
|
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?
|
|
|
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.
|
|
|
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.
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.
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.
|
|
|
|