Ir para o conteúdo
Riot Bits

Riot Bits

  • Lar
  • Notícias
  • Guias
  • Guias de vídeo
  • Notas do Patch
  • Denunciar abuso
  • Alternar formulário de pesquisa
Cidades: Horizontes

Cidades: Horizontes – Automate Adding All Your Items to a Collection

postado em 05/31/202106/11/2021 Por Snacko Sem comentários em Cidades: Horizontes – Automate Adding All Your Items to a Collection
  • Título: Cidades: Horizontes
  • Data de lançamento: Marchar 10, 2015
  • Desenvolvedor: Colossal Ordem Ltda.
  • Editor: Paradoxo Interativo

Clicking each item that you want to add to a Collection can be annoying. Especially when you have thousands of items!! Então, I made an AutoHotKey script that does it for you.

This guide shows you how to use AutoHotKey to automatically add all of your subscriptions to a Collection by using an AHK script. Automated mouse clicks and down scrolling arrow keystrokes. Just run it, Press F1, and walk away till it’s done.

Download AutoHotKey

If you don’t know what AutoHotKey é, it lets you write scripts to automate clicking, digitando, mouse movement, e mais. The script file is just a Text file, and you can open it and edit it in notepad.

AutoHotKey Script

Create a text file on your desktop and give it a name (CS Auto Add to Collection.txt). Name it how you want, the name doesn’t matter.

  1. Open the text file in notepad and copy the code below and paste it into the file.
  2. Salve o arquivo.
  3. Rename the file from .txt to .ahk

Observação: This code will loop 1000 vezes. Feel free to change that and anything else that you want. I’ve made it to click 3 vezes, abaixo (15 pixels) duas vezes, e faça backup 30 pixels. This is because the down arrow key that it sends scrolls more than one line at a time. Making one-click miss about every 4th item. So I made to just click more. It might miss 3-4 em 1000, but that’s still good. You can click those.

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 
; CITIES SKYLINES WORKSSHOP SCRIPT / AUTOMATICALLY ADD ITEMS TO A COLLECTION.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

SetKeyDelay, 10, 200

f1::	; PRESS: F1
 {
; How many times to loop??   1000 times by default.  
;   OR Change it to whatever you like.  When it gets to the end of the list 
;   it will just keep clicking until it reachs the limit and won't hurt anything.  Just wait for it to end.

	Laço 1000 {
		; 3 Mouse Clicks to try and catch everything.  
		;		Click down 15 pixels, then down 15 more pixels, then back up to 30 where we started.
		
		mouseclick, esquerda, 0, -15, 1, 0, , Relative
		Sleep, 100  ; 1000 = 1 second
		mouseclick, esquerda, 0, -15, 1, 0, , Relative
		Sleep, 100  ; 1000 = 1 second
		mouseclick, esquerda, 0,  30, 1, 0, , Relative
		Sleep, 100  ; 1000 = 1 second
		Send {Abaixo}	; Send Down Arrow Key.
		Dormir, 100  ; 1000 = 1 segundo
	}
 }
retornar

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; FEEL FREE TO TWEAK THIS HOWEVER YOU WANT!!
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Run the Script

  1. Start creating a new Collection in the Steam Workshop. When you get to the listbox of items to add.
  2. Run AutoHotKey.
  3. Double-Click on my script file to start it running.
  4. Move your mouse over the 2nd or 3rd item in your Item list (to give it some room to move up and down)
  5. Imprensa F1
  6. Don’t touch your mouse!

It starts clicking and scrolling through your list. Come back when it’s done.

Isso é tudo o que estamos compartilhando hoje para isso Cidades: Horizontes guia. Este guia foi originalmente criado e escrito por Snacko. Caso não atualizemos este guia, você pode encontrar a atualização mais recente seguindo este link.

Se você acredita que algum conteúdo deste site viola seus direitos, incluindo seus direitos de propriedade intelectual, entre em contato conosco imediatamente usando nosso formulário de contato.
Guias Tag:Cidades: Horizontes

Navegação de artigos

Postagem anterior: Abyss of Neptune – Abyss of Developers Achievement Guide
próxima postagem: Chamada à ação: Guerra Fria de Operações Negras – Como dobrar XP facilmente

Deixe um comentário Cancelar resposta

O seu endereço de email não será publicado. Campos obrigatórios marcados com *

  • Título: Cidades: Horizontes
  • Data de lançamento: Marchar 10, 2015
  • Desenvolvedor: Colossal Ordem Ltda.
  • Editor: Paradoxo Interativo

Isenção de responsabilidade

Todo o conteúdo citado é derivado de suas respectivas fontes. Se você acha que usamos seu conteúdo sem permissão, certifique-se de entrar em contato conosco e levaremos isso a sério.
  • Sobre nós
  • Contate-nos
  • política de Privacidade
  • Termos de serviço

direito autoral © 2025 Riot Bits.

Distribuído por PressBook Notícias tema WordPress