Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Jean

Pages: [1] 2
1
Planetdance for windows / MOVED: Customized ring
« on: February 07, 2021, 07:35:45 PM »

2
Astrobasic / looking for ingress
« on: January 20, 2021, 02:38:51 PM »
findaspect() can search for ingress.
There is now command(FUNCTION, 59, 1, 0), this sets a flag inside findevent() which lets it exit as soon as it finds the first ingress. This is handy when you just want to quickly search when a planet has the next ingress. You don't need to calculate an end time for the search, just use 250 years or something.
For an example see horoscope extra ingress.ab

3
Astrobasic / include "Sabian.ab"
« on: January 19, 2021, 03:52:49 PM »
include "Sabian.ab"

After this you can use the variable sabian[360][333] containing the sabian symbols in your code.

4
Astrobasic / new command: popup
« on: December 16, 2020, 12:11:52 PM »
from the help:

[popup]
Syntax: popup(int x, int y, char options[$], label onclick, char default);
Action: present a popupmenu. If default >= 0 that entry will be selected.

Example:
Code: [Select]
window(666, 666);
char s[99];
int n;
button(0,0, "Test", test);
run;

:test;
  popup(99, 99, "one|two|three", test1);
  return;

:test1;
  strset(s, "%d %d", n, menunumber);
  setcaption(s);
  n += 1;
  return;

5
Astrobasic / editor - application - layout
« on: November 24, 2020, 08:05:44 AM »
This is a new command in the editor. You can layout buttons, labels etc with this.

Layout (F6)
First select some text to operate upon.
You can enter expressions and commands that start with left, top like button etc. will be affected.
Syntax
  • ,[y], where x and y can be

-number only, all instances will just be replaced.
+ / - number, all instances will be in/decremented.
* number, all instances will be spaced with that amount.

example +10,*20, increase all x values with 10 and make each y 20 pixels bigger then the previous one.


6
Astrobasic / added dectolon
« on: November 22, 2020, 01:24:18 PM »
dectolon

Syntax: real dectolon(real dec, real lon, real ec);

Action: returns returns longitude equivalent for longitude lon, declination dec and ecliptica ec.


7
Planetdance for windows / possible bug with whole sign houses
« on: October 16, 2020, 06:28:13 PM »
This is about a bug reported by Hellen, and i'm making a topic for it.  ik constateer zojuist dat bij het gebruik van hele huizen de termen verkeerd rond de de tekens staan. Zie mijn voorbeeld. Deze horoscoop uitgedraaid via klassiek/Eds Greek is wel goed en in de tabel van klassiek/EssentiŽle Waardigheden staan ze ook goed. Ik schrik hier erg van.

8
Planetdance for windows / Filemanager and editors as tabbed windows
« on: September 19, 2020, 07:41:57 PM »
After some days work most seems to work. I will probably publish tomorrow.
Things to know, that need to go into the help:
- switching with alt-digit to another window does not work when an editor has focus because it uses alt-digit to set a bookmark. Use ctrl-alt digit to switch.
- A right mouseclick in the filemanager now shows a popup with the complete menu in stead of selecting a record. Use ctrl-click to (un)select a record.

[Edit] Gonna have a go at multiple window filemanager again before i publish.

9
Astrobasic / Multiple Document Interface
« on: September 10, 2020, 07:22:17 PM »
After lots of storm, the dust is settling down. Ab scripts can have embedded windows.

This seems a succes, i like it a lot. Pretty, user friendly, better monitor size support, options for extra menus.
See ab editor - templates - embedded, it contains

Code: [Select]
window(0, 0);
button(10, height - 30, "Menu", NULL);
command(BUTTON, 0, 10, 0);
command(MENU, 0, 12, 0);

The first line is the new window mode.

This is the updated help for window()

----------------------------------------
There are two special kind of windows possible, the first is when you use window(0, 0);

This makes the script window an 'MDI child', Multiple Document Interface, it embeds itself in the main program just like a horoscope (or graph or moving wheel). The Horoscope menu changes to a menu with the name of the script and it will contain all the menu() items from the script.

You can do command(MENU, 0, 12, 0); preferably on the line just before run; it will do two things:
- it will make a copy of the menu in the script mainmenu into a rightmouseclick popmenu, so the user can rightclick anywhere in the window for the script menu (just like the horoscope window).
- it will add a menu item Output, with subitems Copy to clipboard, Save Bitmap and Print to both menus.

You can also put a special ^button^ on the script like this
button(x, y, "Menu", NULL);
command(BUTTON, buttonnumber, 10, 0);

^setcaption^ will only set the upper caption in the mainwindow, if you want it to change the caption in the tab use command(FUNCTION, 67, x, 0); where x is on/off.

You should use 'width' and 'height' when designing your window and try to fit at least on 1920x1080 as well as 1366x768, in this case you can support the majority of screensizes.

10
Planetdance for android / first alpha
« on: September 10, 2020, 04:54:13 PM »
If you want to participate in testing, register on the forum and leave a reply here.

The interface, swipe from the left side to the right for the menu, and from the right side to the left for the current list with horoscopes.
At start a Startup transit is made.

The menu, what works:

-File New, you can calculate a radix, it is automatically stored in the list with horoscopes on the right.
-File Exit
-Horoscope Data, you can scroll up/down through the list of the current horoscope's data.
-Horoscope Wheel gives some test info

In the right hand is a list with horoscopes, click on one to make it active. Long press on one to delete it. The very first entry, Startup, cannot be deleted. The list is automatically saved / restored on start.

11
You can now do this

Code: [Select]
button(0, 0, "hi", NULL);
command(BUTTON, buttonnumber, 0, 0); ` operate on the previously made button

Previously you had to do:

Code: [Select]
int i = button(0, 0, "hi", NULL);
command(BUTTON, i, 0, 0); ` operate on the previously made button

In stead of
Code: [Select]
menu(4, "Show Radix Lines", go);
menu(4, "Show Radix Planets", go);
menu(4, "Show House Lines", go);
command(MENU, 4, AUTOCHECK, 1); 
command(MENU, 5, AUTOCHECK, 1); 
command(MENU, 6, AUTOCHECK, 1);

It's easier to do this

Code: [Select]
menu(4, "Show Radix Lines", go);
command(MENU, menunumber, AUTOCHECK, 1); 
menu(4, "Show Radix Planets", go);
command(MENU, menunumber, AUTOCHECK, 1); 
menu(4, "Show House Lines", go);
command(MENU, menunumber, AUTOCHECK, 1);

In the last example you can now  delete / add / change the order of the menu()'s without having to change the numbers for command().

This applies to: buttonnumber, scrollnumber, editnumber, updownnumber and menunumber;

12
Planetdance for windows / MOVED: strlist command
« on: September 08, 2020, 03:48:17 PM »

13
Planetdance for windows / embedded script windows.
« on: September 06, 2020, 12:17:14 PM »
When i designed it, I choose to make the astrobasic window form a separate one, and give it an entry in the taskbar because else you couldn't make a small simple scripts to show some info.
But more extensive scripts could benefit from being embedded like horoscopes.

Pro / cons.

+ the most screenspace
+ user friendly, a tab like the others
+ has been requested
- the programmer has more work (use vars width / height to determine how much, what / where to display).
- There is no main menu at the top possible (but there is a button which has the same functionality).

The screenshot is

14
Planetdance for windows / MOVED: create a temporary file
« on: September 01, 2020, 07:21:40 PM »

15
Planetdance for windows / Een paar vragen
« on: August 30, 2020, 07:21:01 AM »
-  ik gebruik pd op mijn laptop en mijn desktop. Bij beiden heb ik de laatste update geinstalleerd. Op de laptop krijg ik een beginhoroscoopscherm dat anders is en me beter bevalt, mn. de print ervan. De horoscoopcirkel is wat kleiner en rechts van de horoscoop in de bovenste helft staat een venstertje met elementen van teken en huis en daaronder een lijstje van extra 'objecten' die meegenomen worden, bv Eris en de gecorr. Zwarte Maan. Op mijn desktop vult de horoscoop  het volledige scherm en ook de aspectentabel vult het hele scherm. Daarbij zie ik geen kans de gecorrigeerde Zwarte Maan apart 'in te voeren'. Ik kom er niet achter hoe ik dit scherm kan veranderen zoals ik het op mijn laptop heb

 -  een andere vraag: ik print nogal eens een aspectentabel van een synastrie uit maar die is voor een deel onleesbaar omdat de aspectsymbolen het hele hokje vullen en de orb, die ik juist graag wil zien, onder het betreffende hokje terecht komt en moeilijk of zelfs niet leesbaar is. Bv bij het symbool van anderhalfvierkant verdwijnt hij erachter. Zou daar iets aan te doen zijn. In de aspectentabel van een radix is het juist in elk hokje heel mooi onderscheiden en heel goed te zien.

Pages: [1] 2