Bug #30

special folder Application not updating once script is saved to a new location

Added by Thomas Lellesch almost 7 years ago. Updated almost 4 years ago.

Status:CompletedStart date:10/11/2013
Priority:LowDue date:
Assignee:Seth Turin% Done:

100%

Category:-
Target version:-
UBot Version:5.0 Browser:
UBot Studio Edition:Developer

Description

I have test:

save to file("{$special folder("Application")}\\test.txt", 12345)

the function "Application" is not more working

History

#1 Updated by Miriam MB almost 7 years ago

  • Target version deleted (5.0.1)

#2 Updated by Donny Cosby almost 7 years ago

set(#SaveLocation, $special folder("Application"), "Global")

showing in degger #SaveLocation: C:\Program Files (x86)\UBot Studio 5

this used to be same as the save file or program location, not the ubot program folder. This makes it hard when trying to test output since ubot is not able to write to program files.

#3 Updated by Miriam MB almost 7 years ago

  • Assignee set to Eddie Waller

#4 Updated by Miriam MB almost 7 years ago

  • Subject changed from special folder Application not working to special folder Application not updating once script is saved to a new location
  • Priority changed from High to Low

The Application setting in the special folder function will save to the location of the UBot Studio. In this case, the location is C:\Program Files (x86)\UBot Studio 5

It is the same in UBot 4, except the folder is C:\Program Files (x86)\UBot Studio

You can edit the permissions of those folder locations to allow Users to write to it, but it is probably best to save to a more accessible location.

The issue here is that once a new script is saved, the special folder function set to Application should now point to the location of the saved script, not the location of the UBot Studio. It does not update to show the new location, which is the location of the saved script.

This issue does NOT affect compiled bots.


For a simple work-around, you will simply need to close and reopen the saved script, and the application folder will be updated to point to the location of the saved script.

#5 Updated by Miriam MB about 6 years ago

  • Assignee changed from Eddie Waller to Seth Turin

#6 Updated by Miriam MB almost 4 years ago

  • Project changed from Previous Versions of UBot Studio 5 to UBot Studio X (6.0+)
  • Status changed from New to Completed
  • % Done changed from 0 to 100

Also available in: Atom PDF