Jump to content
Sign in to follow this  
xG00BERx

Run Command generates things (Bug)

Recommended Posts

xG00BERx

When I use the command

Run ( "C:\Program Files (x86)\AssistUO\AssistUO.exe" )

If the Autoit file that I double click to run is on my desktop it will generate all new files like it would If I had never ran the program before on my desktop giving me errors and other funky things...

If I put the AutoIt file inside the same folder as where the Run Directory is it will do fine and loads fine because it uses the old files that it needs to use and such...

I am wondering how i can leave my AutoIt file on my desktop but where it will generate the files and use the files where the path is set rather then trying to sit there and regenerate everything.

I hope somebody understands and I thank you for your time

-xG00BERx

Share this post


Link to post
Share on other sites
Danyfirex

Use

@ProgramFilesDir instead.

@ProgramFilesDir & "AssistUOAssistUO.exe"

 

saludos

Share this post


Link to post
Share on other sites
Melba23

xG00BERx,

That description of your problem is about as much use as a chocolate fireguard. In fact as you could eat a chocolate foreguard - less use. :D

You say if you place the script in the Run directory (whatever that means) it works - have you tried setting the workingdir parameter to that path so that the script knows where to look if it is not actually within it? :huh:

M23


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
xG00BERx

xG00BERx,

That description of your problem is about as much use as a chocolate fireguard. In fact as you could eat a chocolate foreguard - less use. :D

You say if you place the script in the Run directory (whatever that means) it works - have you tried setting the workingdir parameter to that path so that the script knows where to look if it is not actually within it? :huh:

M23

 

What I mean by placing it in tht Directory si actually placing the file with all this code inside of it in that directory physically going to the Program files assistUo and so forth.... Thats when it works if I keep it on my desktop it will get messed up.

Share this post


Link to post
Share on other sites
Melba23

xG00BERx,

Which is what I imagined you probably meant. ;)

So have you tried what Jos and I suggested and set the workingdir parameter? :huh:

M23


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×