I'm using AHK on two different laptops to launch some destination folders on my hard disk real quickly...
But unfortunately the Admin folder on both systems isn't the same: on one it is called "Admin", on the other it is "SquirlyPearly2000"...
For now I am using two different AHK scripts, one for each laptop.
But that is not a very elegant solution... And it's a pain in the ass once I start adding or editing my script(s).
So is there a way that I can change two separate scripts like this...
laptop 1:
Code: Select all
:o:dr ::
Run "C:\Users\Admin\Dropbox\"
return
Code: Select all
:o:dr ::
Run "C:\Users\SquirlyPearly2000\Dropbox\"
return
Code: Select all
:o:dr ::
Run "C:\Users\???\Dropbox\"
return
I found some stuff about wildcards here, but it is way beyond my level of comprehension, haha...
Thanks a bunch for helping out!