-
Posts
250 -
Joined
-
Last visited
-
Days Won
1
Everything posted by alienclone
-
When I run a script it shows the current "Line" and command running in the tooltip when I hover over the System Tray icon. Is there a way to have my script use SplashTextOn to automatically show current running Line without having to manually script a ControlSetText before each line in the script? I would assume that if the AutoIt interpreter can send the line info then it could be intercepted (for lack of a better term).
-
hmm, i did not read the OP in that manner, perhaps i had misunderstood. therefore i only saw Jos's reply as discussion since there was not the usual "keep out" trailing.
-
it is easy to hide/store part of you code/functions/variables in many places then have the script retrieve that info, but if they can read the script they can find the location of the secret code stash. but it could be a handy way to have dynamic variables and such that you can change remotely if you cannot easily change your compiled script.
-
or you could have left your question, and then shared how you fixed it so that it may help someone else in the future when they are searching for answers.
-
apologies, i did not mean to be overealous, i just thought i remembered seeing threads get locked for mentioning "record keystrokes" over the past few years, even after explaining that they were simply wanting what the OP here is wanting. this is not my first time jumping the gun, i should know better, again i apologize.
-
problem with the coordinates of the mouseclick
alienclone replied to Owendon's topic in AutoIt General Help and Support
as careca mentioned, there are two different options for coordinates, there are absolute and relative. absolute refers to the screen, so no matter what is on the screen it will click the coordinates given. relative refers to the window of the program you are trying to click on, so no matter where the window of the program is positioned on the screen it will click the coords within the programs window. you can change which one your script uses with this option. -
i have a solution, but not for your code. i keep all my scripts in folders that are backed up on the cloud, mainly Google Drive, Dropbox, and OneDrive, with their respective syncing apps installed. If i ever delete, or otherwise completely fubar my code i can just grab a previous version from the cloud, saves me from many hassles and headaches.
-
super simple question (i'm a new user)
alienclone replied to jk_'s topic in AutoIt General Help and Support
check out the functions... HotKeySet() this function can intercept the pressing of LCTRL+d and run commands. WinActive() inside the hotkeyset use if statements to check if Photoshop window is active. Send() if Photoshop window is active, Send LCTRL and... MouseClick() the sending of LCTRL+ right mouse click may be a little tricky, i have to tested so im not sure if this is the best method. -
Invalid FileInstall() function
alienclone replied to r2du-soft's topic in AutoIt General Help and Support
this is similar to something i used to do with one of my projects, it had a separate compiler script that would do my "if" checks then choose from pre-made scripts based on results then compile them. i like this idea of the compiler script writing the .au3 file from scratch using variables. -
^c Don't works fine
alienclone replied to CavaliereBianco's topic in AutoIt General Help and Support
add an extra 0 to that sleep time between send ctrl+c and filewrite -
i found an old thread that suggested there was not enough time between the ctrl+c and the ClipGet() for the content to get written to the clipboard, try a msgox of $sData after it is set to check if that is the case, if so then add a sleep between the ctrl+c and the ClipGet()
-
Invalid FileInstall() function
alienclone replied to r2du-soft's topic in AutoIt General Help and Support
you cant use variables, you already know that. -
Tasker is great for automating android, it also has a plugin called AutoInput by same developer Joaomgcd for clicking on things. Tasker costs 3.49 USD and AutoInput is free for limited use or pay to unlock is less than Tasker if i recall. you only need to purchase once to install on as many devices you want so long as the devices are signed into the same Google account. Tasker has a learning curve and is difficult to have someone do it for you unless they have access to the same app you are trying to automate, but for just a couple of functions you should be able to sort it out pretty quick. the Tasker subreddit is the best place to find help.
-
Invalid FileInstall() function
alienclone replied to r2du-soft's topic in AutoIt General Help and Support
replace @ScriptDir & "\Files\A.exe" with ".\Files\A.exe" -
this person proved from the beginning that they were ungrateful for help or answers given, i dont know why all of you continued to try and help them then act surprised when they do the same thing to you that they did to me.
-
listen up buddy, you said you tried "lots of things" but you never showed any code or even specified which functions you did try, so for me to post the CORRECT FUNCTION to perform what you asked (whether or not it was successful for you) was not being condescending. according to the documentation for the Send function, it should do it, not my fault it doesnt work for you, so you can shove your dick up your own ass and see if that helps you because i will be sure not to help you in the future.
-
https://www.autoitscript.com/autoit3/docs/functions/Send.htm from this page... To hold a key down Send("{a down}") ;Holds the A key down Send("{a up}") ;Releases the A key
-
https://www.google.com/search?hl=en&as_q=key+down&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=&cr=&as_qdr=all&as_sitesearch=http%3A%2F%2Fwww.autoitscript.com&as_occt=any&safe=images&as_filetype=&as_rights=
-
Get index of the item selected from list box
alienclone replied to topgundcp's topic in AutoIt General Help and Support
i dont see where you define $editionArray your comment says editionArray contains the total count of items, but i dont see in your script where you tell it that. -
Get index of the item selected from list box
alienclone replied to topgundcp's topic in AutoIt General Help and Support
what is $editionArray -
there are scripts for refreshing the tool tray to remove orphaned icons, i have used some in the past that worked but dont remember which one i used. here is a post containing what you need, i dont know if this one will work for you but it can steer you in the right direction of what to search for. https://www.autoitscript.com/forum/topic/94447-_refreshtrayicons-_refreshnotificationareaicons-udf-tray-icons-refresh-redux/
-
i have a personal solution that utilizes android apps Tasker and AutoRemote, AutoRemote allows you to send data to your android phone remotely in a couple of ways, but most useful is the ability to send data by HTTP so it can be done with practically any scripting language on any OS. Tasker is a very powerful android automation app, it can intercept the AutoRemote data and perform your pre-defined actions with that data. they are both paid apps, one time fee totaling $6.98 this would probably only be good for a simple personal use case, i know you were looking at complex commercial use information but i couldt tell if you actually needed commercial duty so apologies if this not for you. if you decide to try this route let me know and i can help with Tasker.