Hello,
I would like to ask if anyone would help me create a skritp that would create a command from the path to a file and the file name usable in the game Ark Survival Evolved.
I know this can be done with the StrReplace function and some others. Unfortunately, my English is not so good, and the translator makes mistakes, so I don't understand all the variables what and how to do.
Here's an example of what I'd like:
In Explorer, or Altap Salamander, Total Commander etc., I select a file, press a some shortcut, and the script reads the path and file name, and creates a game command that it copies to the clipboard.
Example of path with filename:
F:\Steam\steamapps\common\PixARK\ShooterGame\Content\Mods\CubeWorld\Blueprints\Buildings\BuildingAutomation\ItemBP\CW_BuildingBP_AutomaticArm.uasset
And here the resulting string.
"Blueprint'/Game/Mods/CubeWorld/Blueprints/Buildings/BuildingAutomation/ItemBP/CW_BuildingBP_AutomaticArm.CW_BuildingBP_AutomaticArm'"
So all that is in front of Mods (that's always there) to replace "Blueprint '/Game/ in the rest of the file path just replace / with \ and insert the file name without .uasset but twice for separated by a dot.
I have tried several attempts, unfortunately I have always been entangled in it and I do not know what to do.
Thank you very much for your help.
- Home Board index AutoHotkey (v1.1 and older) Ask for Help (v1) Gaming Help (v1)
- Search
-
- It is currently 04 May 2024, 03:49
- All times are UTC-05:00
ARK Survival Command Creator
Ask gaming related questions (AHK v1.1 and older)
-
- Posts: 1
- Joined: 10 Dec 2017, 17:59
Jump to
- AutoHotkey Foundation
- About This Community
- Forum Issues
- AutoHotkey (v2, current version)
- Ask for Help (v2)
- Gaming
- Scripts and Functions (v2)
- Gaming
- Tutorials (v2)
- Tips and Tricks
- Wish List
- Suggestions on Documentation Improvements
- Bug Reports
- AutoHotkey Development
- AutoHotkey_H
- Ask for Help
- Development
- Editors
- Adventure IDE
- Old Topics
- AHK Studio
- Notepad++
- Pulovers Macro Creator
- SciTE4AutoHotkey
- Visual Studio Code
- Announcements
- General Discussion
- AutoHotkey (v1.1 and older)
- Ask for Help (v1)
- Gaming Help (v1)
- Scripts and Functions (v1)
- Gaming Scripts (v1)
- Tutorials (v1)
- Tips and Tricks (v1)
- General
- Other Utilities & Resources
- Other Programming Languages
- C/C++
- ASM
- C#
- KeySharp
- Off-topic Discussion
- RPA
- Other languages
- Looking for Volunteers in other languages
- Deutsch (German)
- Ich brauche Hilfe
- Spiele
- Skripte und Funktionen
- Tutorials
- Tooltime
- Allgemeines
- 中文 (Chinese)
- 请求帮助
- 脚本函数
- 教程资料
- 相关工具
- 其他
- Español (Spanish)
- Pedir Ayuda
- Automatización de Juegos
- Scripts y Funciones
- Tutoriales
- Otras Utilidades y Recursos
- General
- Русский (Russian)
- Помощь
- Скрипты для Игр
- Скрипты и библиотеки
- Статьи и руководства
- Прочие ресурсы и ПО.
- Свободное общение
- Français (French)
- J'ai besoin d'aide
- Scripts et Fonctions
- Tutoriels
- Autres Utilitaires et Ressources
- Hors Sujet
- Português (Portuguese)
- Ajuda e Suporte Geral
- Scripts e Funções
- Tutoriais
- Outras Ferramentas e Recursos
- Outros Assuntos
- 한국어 (Korean)
Who is online
Users browsing this forum: No registered users and 42 guests