Page 49 of 121
Re: A couple issues
Posted: Thu May 05, 2016 6:00 am
by philo
PlayfulGuy wrote:Philo,
Here are a couple more items I've run across in Guideme.
In Windows, if you browse the images in a folder it creates a hidden system file called thumbs.db of thumbnails for the images.
Guideme will match this if given a wildcard spec like somefolder/*, even though it's a hidden file. The result is you randomly end up with no image, and are wondering why. I don't recall how java handles listing a folder, but shouldn't hidden files be excluded?
Also, in Guideme 1.4 or 1.5 there was a change in how the state file is handled for a tease. In 1.3 the state file was stored in the media folder with the same name as the tease. Now it gets stored in Guideme/data.
I have a large project in the works and keep a stable version in one folder and my development version in another. Now that the state file has moved to a fixed place the two are sharing a state file instead of each having their own. Can we have the state file stay with the main guide file like it did before. Now I have to create a separate copy of Guideme, and run Guideme from one folder when I want dev, and the other when I want my stable version instead of just loading the appropriate tease. If I forget to run the proper copy of Guideme, then it loads and updates the wrong state file.
It was way simpler and more intuitive before.
Thanks,
PG
I moved the state files so they didn't clutter up the tease directory. For most people it is not a problem as they will only be playing teases
I will add an application setting to enable people to choose between storing them with the tease or in the data directory
will have a look at excluding hidden / system files if not I will be able to filter the list returned for that file
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Wed May 18, 2016 3:07 am
by elvisomar
Please help. I downloaded a Mac version of GuideMe many months ago, and it was working very well. I recently upgraded to a new iMac and I had not yet finished migrating everything from the old to the new Mac when the old one died. I saved all my TeaseMe and GuideMe resource files, but the application itself is lost.
Whomever provided a working Mac version, can you please contact me so I can get a new (and possibly updated) copy?
Also, a question perhaps better asked elsewhere: Is there anything like a Mac trial version of 1885's Tease AI program?
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Mon May 23, 2016 11:51 pm
by wheresmything
I have a guide that displays random captioned images (correctly). I have 3 folders that I keep them in which is basically for high, medium, and low frequency rotations. The problem I'm having that I've not been able to solve is how to create an array or such where once a image has been chosen, it won't be chosen again (effectively, choose each once at random). The other piece I can't figure out is how to display the file name as the text (I know it would have to be a variable for text, but no idea how).
Can someone help me out with this? Thanks.
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Thu May 26, 2016 4:45 am
by Uncrateative
Hi.
Thanks for this great program.
I'm having problems with the scrollbar.
Is there a way of hiding it?
Guide Me (0.1.6)
Windows 8.1 x64 1366x768
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Fri May 27, 2016 7:21 am
by philo
Uncrateative wrote:Hi.
Thanks for this great program.
I'm having problems with the scrollbar.
Is there a way of hiding it?
Guide Me (0.1.6)
Windows 8.1 x64 1366x768
The scroll bars should only show if the content is bigger than the control they are in.
The control sizes can be changed, the cursor should change when over a boundary where you can click and resize them.
You can also change the font sizes in application settings which will make content take up less space.
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Fri May 27, 2016 7:24 am
by philo
elvisomar wrote:Please help. I downloaded a Mac version of GuideMe many months ago, and it was working very well. I recently upgraded to a new iMac and I had not yet finished migrating everything from the old to the new Mac when the old one died. I saved all my TeaseMe and GuideMe resource files, but the application itself is lost.
Whomever provided a working Mac version, can you please contact me so I can get a new (and possibly updated) copy?
Also, a question perhaps better asked elsewhere: Is there anything like a Mac trial version of 1885's Tease AI program?
To move to a later version of teaseme usually you just need the teaseme.jar.
Unfortunately I don't have any apple hardware to test teaseme on to get working.
The links to the mac versions were posted in this thread somewhere, you should be able to find them by searching it.
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Fri May 27, 2016 3:51 pm
by philo
wheresmything wrote:I have a guide that displays random captioned images (correctly). I have 3 folders that I keep them in which is basically for high, medium, and low frequency rotations. The problem I'm having that I've not been able to solve is how to create an array or such where once a image has been chosen, it won't be chosen again (effectively, choose each once at random). The other piece I can't figure out is how to display the file name as the text (I know it would have to be a variable for text, but no idea how).
Can someone help me out with this? Thanks.
Something like this should work
There is a start page that loads all the files in the media directory and stores it in scriptvars
Page 1 gets the list of files
Gets a random number based on the number of files in the list
Gets the file from that number in the list
Sets the image and the text for the page
Removes that file from the list
Puts the new list back into scriptvars
(arrays go from 0 to the length of the list minus one)
Code: Select all
<?xml version="1.0"?>
<Tease scriptVersion="v0.1" id="">
<Title>gn</Title>
<Url>
</Url>
<Author id="">
<Name>
</Name>
<Url>
</Url>
</Author>
<MediaDirectory>gn</MediaDirectory>
<Settings>
<AutoSetPageWhenSeen>false</AutoSetPageWhenSeen>
</Settings>
<Pages>
<Page id="start">
<Text>
<DIV>
</DIV>
</Text>
<Button target="Page1">Continue</Button>
<javascript><![CDATA[
function pageLoad() {
var files = "" + guide.listFiles("");
var fileList = files.split(",");
scriptVars.put("fileList", fileList)
}
]]></javascript>
</Page>
<Page id="Page1">
<Text>
<DIV>
</DIV>
</Text>
<Button target="Page1">Continue</Button>
<Delay seconds="(1..4)" target="Page1" style="hidden" />
<javascript><![CDATA[
function pageLoad() {
var fileList = scriptVars.get("fileList");
var last = fileList.length - 1;
var num = guide.getRandom("(" + 0 + ".." + last + ")");
var file = fileList[num];
overRide.setImage(file);
overRide.setHtml("File being displayed is " + file);
fileList.splice(num,1);
scriptVars.put("fileList", fileList);
}
]]></javascript>
</Page>
</Pages>
</Tease>
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Wed Jun 01, 2016 1:21 pm
by wheresmything
Thanks for the response. I took that bit of code and tossed it into a new xml file, created a directory called gn with a few images and gave it a shot. Neither the images nor the text worked. I did add some static text to the pages (start and page1) just so I could see which page I was seeing at any given time, and that worked as expected. It just did not seem to load any images.
Am I missing something?
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Wed Jun 01, 2016 2:12 pm
by philo
wheresmything wrote:Thanks for the response. I took that bit of code and tossed it into a new xml file, created a directory called gn with a few images and gave it a shot. Neither the images nor the text worked. I did add some static text to the pages (start and page1) just so I could see which page I was seeing at any given time, and that worked as expected. It just did not seem to load any images.
Am I missing something?
https://mega.nz/#!dJ5l2QpC!qTKMEUPVV4uE ... qB-BGpiwpM
Have uploaded the file to mega
if you have images in a gn directory it should show them on page 1
Start page will be blank
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Sat Jun 04, 2016 2:36 pm
by wheresmything
philo wrote:wheresmything wrote:Thanks for the response. I took that bit of code and tossed it into a new xml file, created a directory called gn with a few images and gave it a shot. Neither the images nor the text worked. I did add some static text to the pages (start and page1) just so I could see which page I was seeing at any given time, and that worked as expected. It just did not seem to load any images.
Am I missing something?
https://mega.nz/#!dJ5l2QpC!qTKMEUPVV4uE ... qB-BGpiwpM
Have uploaded the file to mega
if you have images in a gn directory it should show them on page 1
Start page will be blank
OK, turns out my file was correct too. What I didn't take into account was that I was still using a really old build that didn't support it. Once I upgraded the app to current, it all works fine, what a surprise, lol.
Thanks.
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Tue Jun 07, 2016 3:54 pm
by Shattered
philo wrote:Uncrateative wrote:Hi.
Thanks for this great program.
I'm having problems with the scrollbar.
Is there a way of hiding it?
Guide Me (0.1.6)
Windows 8.1 x64 1366x768
The scroll bars should only show if the content is bigger than the control they are in.
The control sizes can be changed, the cursor should change when over a boundary where you can click and resize them.
You can also change the font sizes in application settings which will make content take up less space.
I have the same issue with the picture on the right appearing on all teases, having it appear makes the UI worse so I'm using teaseme instead for now. Is there a way to hide it unless needed yet?
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Tue Jun 07, 2016 7:02 pm
by philo
Shattered wrote:philo wrote:Uncrateative wrote:Hi.
Thanks for this great program.
I'm having problems with the scrollbar.
Is there a way of hiding it?
Guide Me (0.1.6)
Windows 8.1 x64 1366x768
The scroll bars should only show if the content is bigger than the control they are in.
The control sizes can be changed, the cursor should change when over a boundary where you can click and resize them.
You can also change the font sizes in application settings which will make content take up less space.
I have the same issue with the picture on the right appearing on all teases, having it appear makes the UI worse so I'm using teaseme instead for now. Is there a way to hide it unless needed yet?
It does get hidden automatically, I am not aware of anyone else having that problem.
Mine looks like this.

- Capture.PNG (865.41 KiB) Viewed 4392 times
Not sure how to investigate as it is probably something on your machine.
If you want to send me copies of the log files I will have a look, but I don't think it is likely to show anything
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Tue Jun 07, 2016 9:03 pm
by Shattered
I tried 1.03 and the scroll bar dissapears, so apparently something in the update did it. Ill use 1.03 for now I think then. Could it be monitor size? I have two 1920x1080 monitors and it displays on one.
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Fri Jun 10, 2016 9:48 pm
by guardianx
Shattered wrote:I tried 1.03 and the scroll bar dissapears, so apparently something in the update did it. Ill use 1.03 for now I think then. Could it be monitor size? I have two 1920x1080 monitors and it displays on one.
There was a version of 1.05 that did have scroll bar problems, and it was due to a bad overflow property in defaultCSS.txt file.
Link to my original post here:
viewtopic.php?f=2&t=12944&start=645#p209734
Most recent version should've have this resolved, however.
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Mon Jun 13, 2016 11:18 pm
by wheresmything
wheresmything wrote:philo wrote:wheresmything wrote:Thanks for the response. I took that bit of code and tossed it into a new xml file, created a directory called gn with a few images and gave it a shot. Neither the images nor the text worked. I did add some static text to the pages (start and page1) just so I could see which page I was seeing at any given time, and that worked as expected. It just did not seem to load any images.
Am I missing something?
https://mega.nz/#!dJ5l2QpC!qTKMEUPVV4uE ... qB-BGpiwpM
Have uploaded the file to mega
if you have images in a gn directory it should show them on page 1
Start page will be blank
OK, turns out my file was correct too. What I didn't take into account was that I was still using a really old build that didn't support it. Once I upgraded the app to current, it all works fine, what a surprise, lol.
Thanks.
So, I've been trying to get what I'm after working for a bit now, and can't quite seem to get there (I suspect its a path thing). The above is a great start, but say my media directory has 3 subfolders named low, medium, and high. How can I adapt this to create 3 arrays, one for each folder than can function independently of each other? Thanks