Skip to content

Commit

Permalink
v2.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomshiii committed Apr 18, 2023
1 parent 5b49056 commit 4f32935
Show file tree
Hide file tree
Showing 7 changed files with 97 additions and 14 deletions.
81 changes: 81 additions & 0 deletions Backups/Changelogs/v2.11.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# <> Release 2.11 - adobeKSA.ahk
- Added `adobeKSA.ahk` to parse through a user's `Premiere`/`After Effects` keyboard shortcut file & automatically assign those values to their respective `KSA.ini` values
- Fix install process potentially not generating a `settings.ini` file if one does not already exist
- Fix install process potentially throwing during the extraction stage if the user doesn't already have symlinks properly generated
- Further fix settings changes not sticking when adjusted in `settingsGUI()`
- All scripts now contain a `TrayMenu` option to run at startup

## > Functions
- Fix `prem.audioDrag()` from `inserting` clip - caused by function pressing <kbd>Ctrl</kbd> before the clip has finished being placed
- Fix `prem.getTimeline()` from retrieving the incorrect coordinates if a second window is in focus when called
- Add `tool.tray()`
- `convert2()`, `ytDownload()` & `Move Project.ahk` now use `tool.tray()` to alert the user that their process has completed
- Add `obj.imgSrchMulti()` to quickly and easily search for multiple images at the same coordinate
- Refactored `gameCheckGUI()` to better make use of the fact that it's a class
- `prem.zoom()` cancel hotkey changed from <kbd>F5</kbd> to <kbd>Esc</kbd>
- `settingsGUI()`checkbox verbage change `autosave.ahk check for checklist.ahk` => `Auto open checklist.ahk`

`tomshiBasic {`
- Now extends the default `gui.show()` method to automatically make all defined buttons `dark mode` if the setting is enabled
- Can also pass an object containing the options you'd normally pass to `dark.allButtons()`
- Now automatically makes menu drop down windows dark mode if setting is enabled

`startup {`
- Fix `updateChecker()` treating `alpha` updates as full releases
- Change `beta` verbage => `Pre-Releases`
- Fix the `new release GUI` not updating settings values
- Fix `firstCheck()` not updating settings properly and continuously opening
- Fixed bug causing window to remain `disabled` after opening & closing `settingsGUI()`
- Fix `discord.button()` searching in the incorrect position for the `@ON` ping
- Removed `locationReplace()`
- Refactored `generate()` to no longer require manual definition of all possible settings options

`tool.cust()`
- Removed `find` parameter
- Passing `0` to `timout` will now stop the desired tooltip
- Calling the same `WhichToolTip` will stop the previous instance, replacing it
- Cleaned up function

## > My Scripts
- Added `prem(previous/next)Keyframe` hotkeys to `My Scripts.ahk`/`KSA.ini`
- `alwaysontopHotkey::` now attempts to draw a border around the always on top window *(win11 only)*
- Added option to call `Hard Reset` (`reload_reset_exit("reset")`) from the `Tray Menu`

`Moved:`
- `centreHotkey::` => `move.winCenter()`
- `discdmHotkey::` => `discord.DMs()`
- `prem^DeleteHotkey::` => `prem.wordBackspace()`
- `premselecttoolHotkey::` => `prem.selectionTool()`
- `12forward/BackHotkey(s)::` => `prem.moveKeyframes()`
- `alwaysontopHotkey::` => `alwaysOnTop()`
- `searchgoogleHotkey::` => `clip.search()`
- `capitaliseHotkey::` => `clip.capitilise()`
- `pauseyoutubeHotkey::` => `pauseYT()`
- `premprojectHotkey::` => `openEditingDir()`

`Removed:`
- `premprojectHotkey::`
- `pinfirefoxHotkey::`
- `showmoreHotkey::`
- A few old, unused, unmarked hotkeys

## > Other Changes
- Fix `waitUntil.ahk` throwing
- Fix `New Premiere.ahk` not including `switchTo {`
- Added `trim {` to facilitate the creation of `trim(Audio/Video).ahk` to quickly and easily trim an audio/video file using ffmpeg
- Adjusted `ffmpeg` command for `convert(mkv/mov)2mp4.ahk` for slightly better performance
- Cleaned up `Move project.ahk`
- `New Premiere.ahk` will now prompt the user to select the desired template if multiple are found in the template folder
- `settingsGUI()` can now be called from the `checklist.ahk` menubar

`tiktok project.ahk`
- Fix `gui.ctrl` being passed to `InStr` causing it to throw
- Edit boxes will now be prioritised as soon as they're focused instead of only on change
- Set `select` button as the default input

.

.

.

2 changes: 1 addition & 1 deletion Backups/Wiki
Submodule Wiki updated 41 files
+10 −1 Latest/Classes/Apps/Discord.md
+39 −2 Latest/Classes/Editors/adobe.md
+94 −62 Latest/Classes/Other Classes.md
+15 −1 Latest/Classes/obj.md
+0 −8 Latest/Classes/startup.md
+9 −3 Latest/Functions/GUIs.md
+48 −1 Latest/Functions/Other Functions.md
+2 −31 Latest/Hotkeys/My Scripts.md
+4 −3 Latest/Other Scripts/CreateSymLink.md
+12 −4 Latest/Other Scripts/Streamdeck AHK.md
+42 −0 Latest/Other Scripts/adobeKSA.md
+4 −2 Latest/Other Scripts/releaseGUI.md
+58 −0 Old/v2.10.x/v2.10.4/Classes/Apps/Discord.md
+35 −0 Old/v2.10.x/v2.10.4/Classes/Apps/VSCode.md
+233 −0 Old/v2.10.x/v2.10.4/Classes/Editors/adobe.md
+103 −0 Old/v2.10.x/v2.10.4/Classes/Editors/davinci.md
+757 −0 Old/v2.10.x/v2.10.4/Classes/Other Classes.md
+169 −0 Old/v2.10.x/v2.10.4/Classes/obj.md
+52 −0 Old/v2.10.x/v2.10.4/Classes/ptf.md
+75 −0 Old/v2.10.x/v2.10.4/Classes/startup.md
+62 −0 Old/v2.10.x/v2.10.4/Classes/switchTo.md
+74 −0 Old/v2.10.x/v2.10.4/Functions/GUIs.md
+425 −0 Old/v2.10.x/v2.10.4/Functions/Other Functions.md
+61 −0 Old/v2.10.x/v2.10.4/Home.md
+304 −0 Old/v2.10.x/v2.10.4/Hotkeys/My Scripts.md
+54 −0 Old/v2.10.x/v2.10.4/Hotkeys/QMK.md
+32 −0 Old/v2.10.x/v2.10.4/KSA/KSA.md
+7 −0 Old/v2.10.x/v2.10.4/Other Scripts/CreateSymLink.md
+17 −0 Old/v2.10.x/v2.10.4/Other Scripts/Hotkey Replacer.md
+164 −0 Old/v2.10.x/v2.10.4/Other Scripts/Streamdeck AHK.md
+18 −0 Old/v2.10.x/v2.10.4/Other Scripts/checklist.md
+12 −0 Old/v2.10.x/v2.10.4/Other Scripts/releaseGUI.md
+35 −0 Old/v2.10.x/v2.10.4/Other Scripts/right click premiere.md
+41 −0 Old/v2.10.x/v2.10.4/Other Scripts/textreplace.md
+19 −0 Old/v2.10.x/v2.10.4/Timer Scripts/Alt_menu_acceleration_DISABLER.md
+7 −0 Old/v2.10.x/v2.10.4/Timer Scripts/Multi-Instance Close.md
+5 −0 Old/v2.10.x/v2.10.4/Timer Scripts/adobe fullscreen check.md
+5 −0 Old/v2.10.x/v2.10.4/Timer Scripts/autodismiss error.md
+44 −0 Old/v2.10.x/v2.10.4/Timer Scripts/autosave.md
+28 −0 Old/v2.10.x/v2.10.4/Timer Scripts/gameCheck.md
+58 −0 Old/v2.10.x/v2.10.4/_Sidebar.md
4 changes: 2 additions & 2 deletions My Scripts.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* The ahk version listed below is the version I am using while generating the current release (so the version that is being tested on)
* @file My Scripts.ahk
* @author Tomshi
* @date 2023/03/23
* @version v2.10.4
* @date 2023/04/18
* @version v2.11
* @ahk_ver 2.0.2
***********************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion QMK Keyboard.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ startupTray()
;\\v2.13.7

;\\CURRENT RELEASE VERSION
;\\v2.10.4
;\\v2.11

; \\\\\\\\////////////
; THIS SCRIPT WAS ORIGINALLY CREATED BY TARAN FROM LTT, I HAVE REWORKED IT TO WORK IN AHK v2.0 and then completely changed it to be for my workflow
Expand Down
2 changes: 1 addition & 1 deletion Resolve_Example.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ startupTray()
;\\v2.9.1

;\\CURRENT RELEASE VERSION
;\\v2.10.4
;\\v2.11
; ==================================================================================================
;
; THIS SCRIPT IS FOR v2.0 OF AUTOHOTKEY
Expand Down
18 changes: 10 additions & 8 deletions Support Files/Release Assets/generateUpdate.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ loop files ptf.rootDir "\Error Logs\*.txt"

;// ask what version we're bumping to
currentVer := getLocalVer()
initialValue := SubStr(currentVer, 1, InStr(currentVer, ".",,, -1)) "x"
initialValue := InStr(currentVer, ".",,, 2) ? SubStr(currentVer, 1, InStr(currentVer, ".",,, -1)) "x" : currentVer ".x"
yes := InputBox("", "version", "W100 H80", initialValue)
if yes.Result = "Cancel"
return
Expand Down Expand Up @@ -297,14 +297,17 @@ getverNum() {
finalNum := ""
loop StrLen(num) {
loopField := SubStr(num, A_Index, 1)
if IsNumber(loopField) || (loopField = "." && dot = false) {
if loopField = "."
dot := true
if IsNumber(loopField) || (loopField = ".") {
if loopField = "." {
switch dot {
case true: break
case false: dot := true
}
}
finalNum := finalNum loopField
}
else
return finalNum
}
return finalNum
}
verNum := getverNum()

Expand All @@ -313,8 +316,7 @@ if !DirExist(A_WorkingDir "\" verNum ".x")
DirCreate(A_WorkingDir "\" verNum ".x")
if (InStr(yes.value, "pre") || InStr(yes.value, "beta") || InStr(yes.value, "alpha")) && !DirExist(A_WorkingDir "\" verNum ".x\pre")
DirCreate(A_WorkingDir "\" verNum ".x\pre")
if pre || beta || alpha
preCheck := true
preCheck := (pre = true || beta = true || alpha = true) ? true : false
switch preCheck {
case 0:
FileMove(A_WorkingDir "\release\" yes.value ".exe", A_WorkingDir "\" verNum ".x\" yes.value ".exe", 1)
Expand Down
2 changes: 1 addition & 1 deletion Support Files/textreplace

0 comments on commit 4f32935

Please sign in to comment.